summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2024-10-25 18:23:47 +0000
committerOliver Upton <oliver.upton@linux.dev>2024-10-31 19:00:40 +0000
commita3034dab74fc12d6c0a589e31af9fafc436a4a0e (patch)
tree0460a5c7c098fd0e02e0c4c86b5385c74ee9124e /tools/perf/scripts/python
parent166b77a2f42341c22fe6cda504a1afa3f672f920 (diff)
KVM: arm64: Rename kvm_pmu_valid_counter_mask()
Nested PMU support requires dynamically changing the visible range of PMU counters based on the exception level and value of MDCR_EL2.HPMN. At the same time, the PMU emulation code needs to know the absolute number of implemented counters, regardless of context. Rename the existing helper to make it obvious that it returns the number of implemented counters and not anything else. Reviewed-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20241025182354.3364124-13-oliver.upton@linux.dev Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions