[PATCH 02/12] drivers/perf: arm_spe: Expose events capability
Leo Yan
leo.yan at arm.com
Thu Jun 19 09:24:02 PDT 2025
On Thu, Jun 19, 2025 at 12:32:16PM +0100, James Clark wrote:
[...]
> > @@ -165,6 +168,7 @@ static struct attribute *arm_spe_pmu_cap_attr[] = {
> > SPE_CAP_EXT_ATTR_ENTRY(ernd, SPE_PMU_CAP_ERND),
> > SPE_CAP_EXT_ATTR_ENTRY(count_size, SPE_PMU_CAP_CNT_SZ),
> > SPE_CAP_EXT_ATTR_ENTRY(min_interval, SPE_PMU_CAP_MIN_IVAL),
> > + SPE_CAP_EXT_ATTR_ENTRY(events, SPE_PMU_CAP_EVENTS),
>
> Would "event_filters" be a better name? Technically an SPE version can
> support a filter but the event itself might not be implemented.
Good point! Will update in next spin.
Thanks,
Leo
More information about the linux-arm-kernel
mailing list