aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-diff.c')
-rw-r--r--tools/perf/builtin-diff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
index b39f3a1ee7dc..9a0872f9e837 100644
--- a/tools/perf/builtin-diff.c
+++ b/tools/perf/builtin-diff.c
@@ -30,7 +30,8 @@ static int hists__add_entry(struct hists *self,
30 return -ENOMEM; 30 return -ENOMEM;
31} 31}
32 32
33static int diff__process_sample_event(union perf_event *event, 33static int diff__process_sample_event(struct perf_event_ops *ops __used,
34 union perf_event *event,
34 struct perf_sample *sample, 35 struct perf_sample *sample,
35 struct perf_evsel *evsel __used, 36 struct perf_evsel *evsel __used,
36 struct perf_session *session) 37 struct perf_session *session)