summaryrefslogtreecommitdiff
path: root/tools/perf/tests/perf-hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/perf-hooks.c')
-rw-r--r--tools/perf/tests/perf-hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/perf-hooks.c b/tools/perf/tests/perf-hooks.c
index 665ecc19671c..bf2517d6de70 100644
--- a/tools/perf/tests/perf-hooks.c
+++ b/tools/perf/tests/perf-hooks.c
@@ -27,7 +27,7 @@ static void the_hook(void *_hook_flags)
*p = 0;
}
-int test__perf_hooks(int subtest __maybe_unused)
+int test__perf_hooks(struct test *test __maybe_unused, int subtest __maybe_unused)
{
int hook_flags = 0;