build-id.h 492 B

12345678910111213141516171819
  1. #ifndef PERF_BUILD_ID_H_
  2. #define PERF_BUILD_ID_H_ 1
  3. #define BUILD_ID_SIZE 20
  4. #include "tool.h"
  5. #include "types.h"
  6. extern struct perf_tool build_id__mark_dso_hit_ops;
  7. struct dso;
  8. int build_id__sprintf(const u8 *build_id, int len, char *bf);
  9. char *dso__build_id_filename(struct dso *self, char *bf, size_t size);
  10. int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event,
  11. struct perf_sample *sample, struct perf_evsel *evsel,
  12. struct machine *machine);
  13. #endif