]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - tools/perf/builtin-diff.c
perf tools: Pass tool context in the the perf_event_ops functions
[mv-sheeva.git] / tools / perf / builtin-diff.c
index b39f3a1ee7dcaa9c363089aba18dde450fba6e18..9a0872f9e837ff24a5400531a5e0e54380f53c13 100644 (file)
@@ -30,7 +30,8 @@ static int hists__add_entry(struct hists *self,
        return -ENOMEM;
 }
 
-static int diff__process_sample_event(union perf_event *event,
+static int diff__process_sample_event(struct perf_event_ops *ops __used,
+                                     union perf_event *event,
                                      struct perf_sample *sample,
                                      struct perf_evsel *evsel __used,
                                      struct perf_session *session)