aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFares Mehanna <[email protected]>2021-09-15 13:39:50 +0000
committerPaolo Bonzini <[email protected]>2021-09-22 11:30:14 -0400
commite1fc1553cd78292ab3521c94c9dd6e3e70e606a1 (patch)
tree5733ac5f0e71f0707a11fe4b1dd7d417bcc3c1e0 /tools/perf/util/trace-event-scripting.c
parentdbab610a5be69c2c5e4fdd7135d14b6bab2667a5 (diff)
kvm: x86: Add AMD PMU MSRs to msrs_to_save_all[]
Intel PMU MSRs is in msrs_to_save_all[], so add AMD PMU MSRs to have a consistent behavior between Intel and AMD when using KVM_GET_MSRS, KVM_SET_MSRS or KVM_GET_MSR_INDEX_LIST. We have to add legacy and new MSRs to handle guests running without X86_FEATURE_PERFCTR_CORE. Signed-off-by: Fares Mehanna <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions