diff options
author | 2022-11-13 16:38:31 +0000 | |
---|---|---|
committer | 2022-11-19 12:56:39 +0000 | |
commit | 9bad925dd741408825590eccc495d073cc246de0 (patch) | |
tree | 42f36384e9f306c500803cf51b75cd5a00296167 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: arm64: PMU: Allow PMUv3p5 to be exposed to the guest (diff) | |
download | wireguard-linux-9bad925dd741408825590eccc495d073cc246de0.tar.xz wireguard-linux-9bad925dd741408825590eccc495d073cc246de0.zip |
KVM: arm64: PMU: Simplify vcpu computation on perf overflow notification
The way we compute the target vcpu on getting an overflow is
a bit odd, as we use the PMC array as an anchor for kvm_pmc_to_vcpu,
while we could directly compute the correct address.
Get rid of the intermediate step and directly compute the target
vcpu.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221113163832.3154370-16-maz@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions