diff options
author | 2023-01-24 23:49:04 +0000 | |
---|---|---|
committer | 2023-01-26 18:03:42 -0800 | |
commit | e33b6d79acac169bfe1a9682fc5b4f8202fa4c41 (patch) | |
tree | 9c0b0c2cbbb3c1853423e46c5fd258e7fcb57213 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86/pmu: Don't tell userspace to save PMU MSRs if PMU is disabled (diff) | |
download | wireguard-linux-e33b6d79acac169bfe1a9682fc5b4f8202fa4c41.tar.xz wireguard-linux-e33b6d79acac169bfe1a9682fc5b4f8202fa4c41.zip |
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 <likexu@tencent.com>
[sean: split for !enable_pmu logic, drop min(), write changelog]
Link: https://lore.kernel.org/r/20230124234905.3774678-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions