diff options
Diffstat (limited to 'tools/perf/util/build-id.c')
-rw-r--r-- | tools/perf/util/build-id.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/perf/util/build-id.c b/tools/perf/util/build-id.c index 2f84c4802aca..dff9c7a725f4 100644 --- a/tools/perf/util/build-id.c +++ b/tools/perf/util/build-id.c | |||
@@ -14,8 +14,9 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include "debug.h" | 15 | #include "debug.h" |
16 | #include "session.h" | 16 | #include "session.h" |
17 | #include "tool.h" | ||
17 | 18 | ||
18 | static int build_id__mark_dso_hit(struct perf_event_ops *ops __used, | 19 | static int build_id__mark_dso_hit(struct perf_tool *tool __used, |
19 | union perf_event *event, | 20 | union perf_event *event, |
20 | struct perf_sample *sample __used, | 21 | struct perf_sample *sample __used, |
21 | struct perf_evsel *evsel __used, | 22 | struct perf_evsel *evsel __used, |
@@ -40,7 +41,7 @@ static int build_id__mark_dso_hit(struct perf_event_ops *ops __used, | |||
40 | return 0; | 41 | return 0; |
41 | } | 42 | } |
42 | 43 | ||
43 | static int perf_event__exit_del_thread(struct perf_event_ops *ops __used, | 44 | static int perf_event__exit_del_thread(struct perf_tool *tool __used, |
44 | union perf_event *event, | 45 | union perf_event *event, |
45 | struct perf_sample *sample __used, | 46 | struct perf_sample *sample __used, |
46 | struct machine *machine) | 47 | struct machine *machine) |
@@ -59,7 +60,7 @@ static int perf_event__exit_del_thread(struct perf_event_ops *ops __used, | |||
59 | return 0; | 60 | return 0; |
60 | } | 61 | } |
61 | 62 | ||
62 | struct perf_event_ops build_id__mark_dso_hit_ops = { | 63 | struct perf_tool build_id__mark_dso_hit_ops = { |
63 | .sample = build_id__mark_dso_hit, | 64 | .sample = build_id__mark_dso_hit, |
64 | .mmap = perf_event__process_mmap, | 65 | .mmap = perf_event__process_mmap, |
65 | .fork = perf_event__process_task, | 66 | .fork = perf_event__process_task, |