aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLike Xu <[email protected]>2022-05-18 21:25:03 +0800
committerPaolo Bonzini <[email protected]>2022-06-08 04:48:45 -0400
commit89cb454ea984d0411523dc10e70e9bf0aca1b527 (patch)
tree383624a737a2eeab7a48e144636c8c498e4aa075 /tools/perf/scripts/python/flamegraph.py
parenta33095f4937b362306f8636742450cff1c4630af (diff)
KVM: x86/pmu: Extract check_pmu_event_filter() handling both GP and fixed counters
Checking the kvm->arch.pmu_event_filter policy in both gp and fixed code paths was somewhat redundant, so common parts can be extracted, which reduces code footprint and improves readability. Signed-off-by: Like Xu <[email protected]> Reviewed-by: Wanpeng Li <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions