14 #include <linux/kernel.h>
30 pr_err(
"problem processing %d event, skipping it.\n",
44 static int perf_event__exit_del_thread(
struct perf_tool *tool __maybe_unused,
48 struct machine *machine)
65 .sample = build_id__mark_dso_hit,
68 .exit = perf_event__exit_del_thread,
77 if (!self->has_build_id)
82 if (asprintf(&bf,
"%s/.build-id/%.2s/%s",
buildid_dir,
83 build_id_hex, build_id_hex + 2) < 0)
87 build_id_hex, build_id_hex + 2);