[PATCH 3/4] perf arm_spe: Decode Arm N1 IMPDEF events
James Clark
james.clark at linaro.org
Thu Apr 2 02:49:45 PDT 2026
On 02/04/2026 10:32 am, Leo Yan wrote:
> On Wed, Apr 01, 2026 at 03:25:51PM +0100, James Clark wrote:
>
> [...]
>
>> static int arm_spe_pkt_desc_event(const struct arm_spe_pkt *packet,
>> - char *buf, size_t buf_len)
>> + char *buf, size_t buf_len, u64 midr)
>
> Just wandering if we can add a "midr" field into struct arm_spe_pkt ?
> Then we don't need to change many functions for populating midr.
>
> The rest is good for me.
>
> Thanks,
> Leo
Yeah I can do that. I was worried they were stored in an array and it
would be a waste of space, but they're not so it's ok.
More information about the linux-arm-kernel
mailing list