diff options
| author | Like Xu <likexu@tencent.com> | 2022-05-18 21:25:03 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 04:48:45 -0400 |
| commit | 89cb454ea984d0411523dc10e70e9bf0aca1b527 (patch) | |
| tree | 383624a737a2eeab7a48e144636c8c498e4aa075 /tools/perf/scripts/python/flamegraph.py | |
| parent | a33095f4937b362306f8636742450cff1c4630af (diff) | |
| download | kernel-89cb454ea984d0411523dc10e70e9bf0aca1b527.tar.gz | |
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 <likexu@tencent.com>
Reviewed-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <20220518132512.37864-3-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
