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

From: Arnaldo Melo

Date: Fri Mar 27 2026 - 09:58:42 EST




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.

Thanks,

- Arnaldo