Re: [PATCH v1 07/40] perf stat: Avoid segv on counter->name

From: Arnaldo Carvalho de Melo
Date: Thu Apr 27 2023 - 15:35:11 EST


Em Thu, Apr 27, 2023 at 03:11:49PM -0400, Liang, Kan escreveu:
> On 2023-04-26 3:00 a.m., Ian Rogers wrote:
> > Switch to use evsel__name that doesn't return NULL for hardware and
> > similar events.

> This one should be backport to 6.4. It helps to fix the Segmentation
> fault with default mode.
> https://lore.kernel.org/lkml/2b8768bf-de24-946f-62da-6ed171a5c324@xxxxxxxxxxxxxxx/

> > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>

> Reviewed-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>

Thanks,

I'll pick those before pushing to Linus, I'm mostly waiting for you guys
to come to a resolution on moving forward, which I hope has been reached
with that patch you sent.

- Arnaldo