diff options
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r-- | tools/perf/builtin-script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 47545e9c9b2..3b7820612eb 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -434,7 +434,8 @@ static int cleanup_scripting(void) | |||
434 | 434 | ||
435 | static char const *input_name = "perf.data"; | 435 | static char const *input_name = "perf.data"; |
436 | 436 | ||
437 | static int process_sample_event(union perf_event *event, | 437 | static int process_sample_event(struct perf_event_ops *ops __used, |
438 | union perf_event *event, | ||
438 | struct perf_sample *sample, | 439 | struct perf_sample *sample, |
439 | struct perf_evsel *evsel, | 440 | struct perf_evsel *evsel, |
440 | struct perf_session *session) | 441 | struct perf_session *session) |