]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf: arm_spe: Expose event filter
authorLeo Yan <leo.yan@arm.com>
Mon, 1 Sep 2025 12:40:32 +0000 (13:40 +0100)
committerWill Deacon <will@kernel.org>
Thu, 18 Sep 2025 13:17:02 +0000 (14:17 +0100)
commit51b9f16697cda2229aacc10bbb0216b6900cbca1
tree07e28f522ff1bfae551ed30ae8ae227379c32bb9
parentb4401403afb992844fa47513ac9c94520722c43d
perf: arm_spe: Expose event filter

Expose an "event_filter" entry in the caps folder to inform user space
about which events can be filtered.

Change the return type of arm_spe_pmu_cap_get() from u32 to u64 to
accommodate the added event filter entry.

Signed-off-by: Leo Yan <leo.yan@arm.com>
Tested-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_spe_pmu.c