summaryrefslogtreecommitdiffstats
path: root/.cocciconfig
diff options
context:
space:
mode:
authorAndrew Murray <andrew.murray@arm.com>2019-04-09 21:22:13 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2019-04-24 16:35:58 +0200
commitd1947bc4bc63e56014bb4d812e0db89944ed4a0f (patch)
tree61fe62bd264ccd2f02c460fd7929a9b11dd82ef1 /.cocciconfig
parentarm64: KVM: Add accessors to track guest/host only counters (diff)
downloadlinux-d1947bc4bc63e56014bb4d812e0db89944ed4a0f.tar.xz
linux-d1947bc4bc63e56014bb4d812e0db89944ed4a0f.zip
arm64: arm_pmu: Add !VHE support for exclude_host/exclude_guest attributes
Add support for the :G and :H attributes in perf by handling the exclude_host/exclude_guest event attributes. We notify KVM of counters that we wish to be enabled or disabled on guest entry/exit and thus defer from starting or stopping events based on their event attributes. With !VHE we switch the counters between host/guest at EL2. We are able to eliminate counters counting host events on the boundaries of guest entry/exit when using :G by filtering out EL2 for exclude_host. When using !exclude_hv there is a small blackout window at the guest entry/exit where host events are not captured. Signed-off-by: Andrew Murray <andrew.murray@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions