diff options
Diffstat (limited to 'tools/perf/util/build-id.c')
-rw-r--r-- | tools/perf/util/build-id.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/perf/util/build-id.c b/tools/perf/util/build-id.c index f2fe6ec08945..0e4de1865013 100644 --- a/tools/perf/util/build-id.c +++ b/tools/perf/util/build-id.c | |||
@@ -13,8 +13,10 @@ | |||
13 | #include "symbol.h" | 13 | #include "symbol.h" |
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include "debug.h" | 15 | #include "debug.h" |
16 | #include "session.h" | ||
16 | 17 | ||
17 | static int build_id__mark_dso_hit(union perf_event *event, | 18 | static int build_id__mark_dso_hit(struct perf_event_ops *ops __used, |
19 | union perf_event *event, | ||
18 | struct perf_sample *sample __used, | 20 | struct perf_sample *sample __used, |
19 | struct perf_evsel *evsel __used, | 21 | struct perf_evsel *evsel __used, |
20 | struct perf_session *session) | 22 | struct perf_session *session) |
@@ -38,7 +40,8 @@ static int build_id__mark_dso_hit(union perf_event *event, | |||
38 | return 0; | 40 | return 0; |
39 | } | 41 | } |
40 | 42 | ||
41 | static int perf_event__exit_del_thread(union perf_event *event, | 43 | static int perf_event__exit_del_thread(struct perf_event_ops *ops __used, |
44 | union perf_event *event, | ||
42 | struct perf_sample *sample __used, | 45 | struct perf_sample *sample __used, |
43 | struct perf_session *session) | 46 | struct perf_session *session) |
44 | { | 47 | { |