summaryrefslogtreecommitdiff
path: root/tools/perf/bench/synthesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/bench/synthesize.c')
-rw-r--r--tools/perf/bench/synthesize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/bench/synthesize.c b/tools/perf/bench/synthesize.c
index 7401ebbac100..9b333276cbdb 100644
--- a/tools/perf/bench/synthesize.c
+++ b/tools/perf/bench/synthesize.c
@@ -49,7 +49,7 @@ static const char *const bench_usage[] = {
static atomic_t event_count;
-static int process_synthesized_event(struct perf_tool *tool __maybe_unused,
+static int process_synthesized_event(const struct perf_tool *tool __maybe_unused,
union perf_event *event __maybe_unused,
struct perf_sample *sample __maybe_unused,
struct machine *machine __maybe_unused)