diff options
author | Marc Zyngier <maz@kernel.org> | 2022-11-13 16:38:23 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-17 15:39:51 +0000 |
commit | 0cb9c3c87a9d3287eaf353936e6846d885102439 (patch) | |
tree | 99707a27078cf635685bafad3b11d746beb21d15 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0f1e172b54f7574ca6aa46b851b332896add955f (diff) |
KVM: arm64: PMU: Add counter_index_to_*reg() helpers
In order to reduce the boilerplate code, add two helpers returning
the counter register index (resp. the event register) in the vcpu
register file from the counter index.
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221113163832.3154370-8-maz@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions