diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2024-10-25 21:23:49 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-10-31 22:00:40 +0300 |
commit | 9d15f8290a228ccd74a6ca8c082df350009e9e06 (patch) | |
tree | a6dddc1c6c8d2924210fbb8ba011ccbdc53337f2 /tools/perf/scripts/python/gecko.py | |
parent | 9a1c58cfefb06974a804174f127de3fedc779394 (diff) | |
download | linux-9d15f8290a228ccd74a6ca8c082df350009e9e06.tar.xz |
KVM: arm64: Add helpers to determine if PMC counts at a given EL
Checking the exception level filters for a PMC is a minor annoyance to
open code. Add helpers to check if an event counts at EL0 and EL1, which
will prove useful in a subsequent change.
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241025182354.3364124-15-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions