diff options
author | Like Xu <[email protected]> | 2023-01-24 23:49:04 +0000 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-01-26 18:03:42 -0800 |
commit | e33b6d79acac169bfe1a9682fc5b4f8202fa4c41 (patch) | |
tree | 9c0b0c2cbbb3c1853423e46c5fd258e7fcb57213 /tools/perf/scripts/python/stackcollapse.py | |
parent | c3531edc79a7adbe4451d34084e8bf227c022872 (diff) |
KVM: x86/pmu: Don't tell userspace to save MSRs for non-existent fixed PMCs
Limit the set of MSRs for fixed PMU counters based on the number of fixed
counters actually supported by the host so that userspace doesn't waste
time saving and restoring dummy values.
Signed-off-by: Like Xu <[email protected]>
[sean: split for !enable_pmu logic, drop min(), write changelog]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions