Skip to contentSkip to conversation

tmp.perf/core segfaulting on metrics test

DISCUSSION Arnaldo Carvalho de Melo 2 participants 5 messages Dec 2, 2022 – Dec 5, 2022

lore
Share & tools
lore
#0 lore raw

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 ~]#

Signature · 1 line
- Arnaldo
#1 lore raw

Hi Arnaldo,

Quoted 4 lines · Arnaldo Carvalho de Melo

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?

I think you missed this

https://lore.kernel.org/r/[email protected]

Quoted 5 lines

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...

Right, but the metric test is special since it contains hardware- specific metrics. But I'll double check with perf test before sending patches.

Thanks,
Namhyung

Quoted 22 lines

[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

#2 lore raw
Quoted 6 lines · Namhyung Kim

Hi Arnaldo,

Quoted 1 line · Arnaldo Carvalho de Melo
Quoted 7 lines
Quoted 3 lines

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?

I think you missed this

https://lore.kernel.org/r/[email protected]

Or, it could be something reported by Ian.

https://lore.kernel.org/CAP-5=fUOjSM5HajU9TCD6prY39LbX4OQbkEbtKPPGRBPBN=_VQ@mail.gmail.com

Thanks,
Namhyung

#3 lore raw

Em Fri, Dec 02, 2022 at 11:38:28AM -0800, Namhyung Kim escreveu:

Quoted 7 lines · Namhyung Kim
Quoted 6 lines

Hi Arnaldo,

Quoted 1 line · Arnaldo Carvalho de Melo
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

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?

I think you missed this

https://lore.kernel.org/r/[email protected]

Yeah, applied now.

Quoted 3 lines

Or, it could be something reported by Ian.

https://lore.kernel.org/CAP-5=fUOjSM5HajU9TCD6prY39LbX4OQbkEbtKPPGRBPBN=_VQ@mail.gmail.com

Ditto, with a separate patch.

Thanks!

- Arnaldo

#4 lore raw

Em Mon, Dec 05, 2022 at 10:06:03AM -0300, Arnaldo Carvalho de Melo escreveu:

Quoted 27 lines

Em Fri, Dec 02, 2022 at 11:38:28AM -0800, Namhyung Kim escreveu:

Quoted 7 lines · Namhyung Kim
Quoted 6 lines

Hi Arnaldo,

Quoted 1 line · Arnaldo Carvalho de Melo
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

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?

I think you missed this

https://lore.kernel.org/r/[email protected]

Yeah, applied now.

Quoted 3 lines

Or, it could be something reported by Ian.

https://lore.kernel.org/CAP-5=fUOjSM5HajU9TCD6prY39LbX4OQbkEbtKPPGRBPBN=_VQ@mail.gmail.com

Ditto, with a separate patch.

Thanks!

- Arnaldo

Signature · 1 line
- Arnaldo