aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorFuad Tabba <[email protected]>2022-05-10 09:57:09 +0000
committerMarc Zyngier <[email protected]>2022-05-15 11:26:41 +0100
commit84d751a019a9792f5b4884e1d598b603c360ec22 (patch)
tree45c30035eb85762da5cf6b98ab2a4f339e059992 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parente987a4c60f9755b2f7a19bf1b5ef2eb74c90579b (diff)
KVM: arm64: Pass pmu events to hyp via vcpu
Instead of the host accessing hyp data directly, pass the pmu events of the current cpu to hyp via the vcpu. This adds 64 bits (in two fields) to the vcpu that need to be synced before every vcpu run in nvhe and protected modes. However, it isolates the hypervisor from the host, which allows us to use pmu in protected mode in a subsequent patch. No visible side effects in behavior intended. Signed-off-by: Fuad Tabba <[email protected]> Reviewed-by: Oliver Upton <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions