aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/builtin-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/builtin-test.c')
-rw-r--r--tools/perf/tests/builtin-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index 436e22993909..0186abbad899 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -179,7 +179,7 @@ static struct test generic_tests[] = {
179 }, 179 },
180 { 180 {
181 .desc = "Session topology", 181 .desc = "Session topology",
182 .func = test_session_topology, 182 .func = test__session_topology,
183 }, 183 },
184 { 184 {
185 .desc = "BPF filter", 185 .desc = "BPF filter",
@@ -325,7 +325,7 @@ static int run_test(struct test *test, int subtest)
325 } 325 }
326 } 326 }
327 327
328 err = test->func(subtest); 328 err = test->func(test, subtest);
329 if (!dont_fork) 329 if (!dont_fork)
330 exit(err); 330 exit(err);
331 } 331 }