diff options
Diffstat (limited to 'tools/perf/builtin-lock.c')
-rw-r--r-- | tools/perf/builtin-lock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index 899080ace26..f06b0a44c7c 100644 --- a/tools/perf/builtin-lock.c +++ b/tools/perf/builtin-lock.c | |||
@@ -845,7 +845,8 @@ static void dump_info(void) | |||
845 | die("Unknown type of information\n"); | 845 | die("Unknown type of information\n"); |
846 | } | 846 | } |
847 | 847 | ||
848 | static int process_sample_event(union perf_event *event, | 848 | static int process_sample_event(struct perf_event_ops *ops __used, |
849 | union perf_event *event, | ||
849 | struct perf_sample *sample, | 850 | struct perf_sample *sample, |
850 | struct perf_evsel *evsel __used, | 851 | struct perf_evsel *evsel __used, |
851 | struct perf_session *s) | 852 | struct perf_session *s) |