diff options
author | Andrew Murray <andrew.murray@arm.com> | 2019-04-09 20:22:12 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-04-24 15:35:30 +0100 |
commit | eb41238cf19fda694e3a99c1f4f58bd88479a5ee (patch) | |
tree | c96096fc7b28a5d0d5969e882a9cd39d946544b1 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 630a16854d2d28d13e96ff27ab43cc5caa4609fc (diff) |
arm64: KVM: Add accessors to track guest/host only counters
In order to effeciently switch events_{guest,host} perf counters at
guest entry/exit we add bitfields to kvm_cpu_context for guest and host
events as well as accessors for updating them.
A function is also provided which allows the PMU driver to determine
if a counter should start counting when it is enabled. With exclude_host,
we may only start counting when entering the guest.
Signed-off-by: Andrew Murray <andrew.murray@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions