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

From: Ian Rogers

Date: Wed Apr 01 2026 - 16:17:20 EST


On Fri, Mar 27, 2026 at 6:48 AM Arnaldo Melo <arnaldo.melo@xxxxxxxxx> wrote:
>
>
>
> On March 27, 2026 7:35:19 AM GMT-03:00, Breno Leitao <leitao@xxxxxxxxxx> 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,

Ian

> Thanks,
>
> - Arnaldo