aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2021-02-02 09:32:35 -0500
committerPaolo Bonzini <[email protected]>2021-02-04 05:27:23 -0500
commita755753903a40d982f6dd23d65eb96b248a2577a (patch)
tree35571636f6b7d78f61a6a438983b86f1caede7f8 /tools/perf/scripts/python/event_analyzing_sample.py
parent252e365eb28ddf49eb31cec1a5d99e708c73f57b (diff)
KVM: x86/pmu: preserve IA32_PERF_CAPABILITIES across CPUID refresh
Once MSR_IA32_PERF_CAPABILITIES is changed via vmx_set_msr(), the value should not be changed by cpuid(). To ensure that the new value is kept, the default initialization path is moved to intel_pmu_init(). The effective value of the MSR will be 0 if PDCM is clear, however. Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions