diff options
| author | Like Xu <[email protected]> | 2022-04-11 18:19:44 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-08 04:48:16 -0400 |
| commit | 968635abd5f5986f3cb6f15602d365cf1b551c5d (patch) | |
| tree | adef023fd2e68efe0e593c1a55e8f61aad158471 /tools/perf/scripts/python/flamegraph.py | |
| parent | 854250329c02c0616a42532d65e81365272326d1 (diff) | |
KVM: x86/pmu: Add kvm_pmu_cap to optimize perf_get_x86_pmu_capability
The information obtained from the interface perf_get_x86_pmu_capability()
doesn't change, so an exported "struct x86_pmu_capability" is introduced
for all guests in the KVM, and it's initialized before hardware_setup().
Signed-off-by: Like Xu <[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