[PATCH RFC v1 2/3] perf: Add perf_event_attr::config3
Rob Herring
robh at kernel.org
Wed Aug 31 12:06:40 PDT 2022
On Thu, Aug 25, 2022 at 1:08 PM Rob Herring <robh at kernel.org> wrote:
>
> Arm SPEv1.2 adds another 64-bits of event filtering control. As the
> existing perf_event_attr::configN fields are all used up for SPE PMU, an
> additional field is needed. Add a new 'config3' field.
In testing this, just exposing 'config3' in the format attributes
causes the SPE PMU to be disabled. So we can't add this without
breaking existing perf. Shouldn't perf just skip any format fields it
doesn't know about?
Rob
More information about the linux-arm-kernel
mailing list