summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/tests/pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/perf/tests/pmu.c')
-rw-r--r--kernel/tools/perf/tests/pmu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/tools/perf/tests/pmu.c b/kernel/tools/perf/tests/pmu.c
index eeb68bb19..faa04e9d5 100644
--- a/kernel/tools/perf/tests/pmu.c
+++ b/kernel/tools/perf/tests/pmu.c
@@ -152,7 +152,8 @@ int test__pmu(void)
if (ret)
break;
- ret = perf_pmu__config_terms(&formats, &attr, terms, false);
+ ret = perf_pmu__config_terms(&formats, &attr, terms,
+ false, NULL);
if (ret)
break;