aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-06-07 01:02:06 +0000
committerSean Christopherson <[email protected]>2023-08-02 23:44:36 +0000
commit6de2ccc169683bf81feba163834dae7cdebdd826 (patch)
tree23bbbc553a6b35d1336346e0f4fba89a787a576b /tools/perf/scripts/python/flamegraph.py
parentKVM: x86/pmu: Require nr fixed_pmc_events to match nr max fixed counters (diff)
downloadkernel-6de2ccc169683bf81feba163834dae7cdebdd826.tar.gz
kernel-6de2ccc169683bf81feba163834dae7cdebdd826.zip
KVM: x86/pmu: Move .hw_event_available() check out of PMC filter helper
Move the call to kvm_x86_pmu.hw_event_available(), which has nothing to with the userspace PMU filter, out of check_pmu_event_filter() and into its sole caller pmc_event_is_allowed(). pmc_event_is_allowed() didn't exist when commit 7aadaa988c5e ("KVM: x86/pmu: Drop amd_event_mapping[] in the KVM context"), so presumably the motivation for invoking .hw_event_available() from check_pmu_event_filter() was to avoid having to add multiple call sites. 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