Re: [PATCH v2] perf stat: Fix crash on arm64

Arnaldo Carvalho de Melo
2026-04-01T20:56:30Z

On Wed, Apr 01, 2026 at 01:16:49PM -0700, Ian Rogers wrote:
> On Fri, Mar 27, 2026 at 6:48 AM Arnaldo Melo <arnaldo.melo@gmail.com> wrote:
> >
> >
> >
> > On March 27, 2026 7:35:19 AM GMT-03:00, Breno Leitao <leitao@debian.org> wrote:
> > >On Thu, Mar 26, 2026 at 04:39:26PM +0000, Leo Yan wrote:
> > >> On Wed, Mar 25, 2026 at 03:27:05PM -0700, Ian Rogers wrote:
> > >>
> > >> > From the stack trace I don't see anything that should allow this.
> > >> > Either the list of metrics is broken, or the struct metric_event's
> > >> > evsel is NULL. But that should never happen as we wouldn't have a
> > >> > metric at that point. The sorting shouldn't affect that. If you can
> > >> > reproduce the issue, verbose logs may help.
> > >>
> > >> I believe I encountered a different issue, which is irrelevant to this
> > >> patch. So Breno's patch is fine for me.
>
> > >That said, are there any concerns about merging this patch in its
> > >current form?

> > I guess not, will try and merge it later today for 7
> > 0.

> Looks like this one is still missing. Thanks,

So I think its too late for 7.0, I guess Namhyung should get it for
perf-tools-next, the fixes tag will make it get into the upcoming stable
series.

- Arnaldo