tmp.perf/core segfaulting on metrics test

From: Arnaldo Carvalho de Melo
Date: Fri Dec 02 2022 - 14:12:05 EST


While trying to get back at processing patches for Linux 6.2, what I
have at tmp.perf/core branch is failing like below, can someone try to
help in diagnosing this?

People really should try to run 'perf test' before pushing things
upstream, but maybe this is related to a recent merge with
torvalds/master, I'll check, but as a heads up and if someone wants to
help...

[root@quaco ~]# perf test 99
99: perf all metricgroups test : FAILED!
[root@quaco ~]# perf test -v 99
99: perf all metricgroups test :
--- start ---
test child forked, pid 1494614
Testing Backend

Performance counter stats for 'system wide':

9,978,757 CPU_CLK_UNHALTED.THREAD_ANY # 56.7 % tma_core_bound
/home/acme/libexec/perf-core/tests/shell/stat_all_metricgroups.sh: line 7: 1494617 Segmentation fault (core dumped) perf stat -M "$m" -a true
test child finished with -1
---- end ----
perf all metricgroups test: FAILED!
[root@quaco ~]#


--

- Arnaldo