aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-06-07 01:02:04 +0000
committerSean Christopherson <[email protected]>2023-08-02 23:44:36 +0000
commitbc9658999b3e44cbad964fe9fbab5a25bd4f5ed3 (patch)
tree2c6de5a5bea58f5bc9791ae1f1b980daaf451590 /tools/perf/scripts/python/flamegraph.py
parentKVM: x86/pmu: Use enums instead of hardcoded magic for arch event indices (diff)
downloadkernel-bc9658999b3e44cbad964fe9fbab5a25bd4f5ed3.tar.gz
kernel-bc9658999b3e44cbad964fe9fbab5a25bd4f5ed3.zip
KVM: x86/pmu: Simplify intel_hw_event_available()
Walk only the "real", i.e. non-pseudo, architectural events when checking if a hardware event is available, i.e. isn't disabled by guest CPUID. Skipping pseudo-arch events in the loop body is unnecessarily convoluted, especially now that KVM has enums that delineate between real and pseudo events. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions