summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-11-13 19:39:44 +0300
committerMarc Zyngier <maz@kernel.org>2020-11-27 14:39:14 +0300
commit14bda7a927336055d7c0deb1483f9cdb687c2080 (patch)
treee6745f56d0512dc2986fc7a749aadd151feb5136 /tools/perf/scripts/python/task-analyzer.py
parent6ac4a5ac50d1d25a61aa00e660eebb21a2ff9b96 (diff)
downloadlinux-14bda7a927336055d7c0deb1483f9cdb687c2080.tar.xz
KVM: arm64: Add kvm_vcpu_has_pmu() helper
There are a number of places where we check for the KVM_ARM_VCPU_PMU_V3 feature. Wrap this check into a new kvm_vcpu_has_pmu(), and use it at the existing locations. No functional change. Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions