Re: [PATCH v2] perf stat: Introduce skippable evsels
From: Arnaldo Carvalho de Melo
Date: Thu Apr 20 2023 - 07:35:13 EST
Em Wed, Apr 19, 2023 at 09:51:20AM -0700, Ian Rogers escreveu:
> On Wed, Apr 19, 2023 at 7:16 AM Liang, Kan <kan.liang@xxxxxxxxxxxxxxx> wrote:
> > For ADL/RPL platforms
> > - Segmentation fault which I just found this morning.
> > # ./perf stat true
> > Segmentation fault (core dumped)
> This may also stem from the reference count checking work that Arnaldo
> is currently merging. It is hard to test hybrid because it uses
> non-generic code paths.
Hey, could you please try this under gdb and provide a backtrace? It may
indeed be related to this refcount checking work, there was a bug fixed
by the ARM guys for cs-etm and I combed thru and fixed some other use
before check for NULL cases, maybe one more slipped up.
Here I couldn't reproduce, but I don't have a Intel hybrid system, will
check with an ARM, but unsure if it will exercise the same code paths...
- Arnaldo