--- zzzz-none-000/linux-3.10.107/tools/perf/tests/pmu.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/tools/perf/tests/pmu.c 2021-02-04 17:41:59.000000000 +0000 @@ -152,7 +152,8 @@ if (ret) break; - ret = perf_pmu__config_terms(&formats, &attr, terms); + ret = perf_pmu__config_terms(&formats, &attr, terms, + false, NULL); if (ret) break;