diff options
author | Sean Christopherson <[email protected]> | 2020-03-02 15:57:00 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:58:38 +0100 |
commit | a1bead2abaa162e5e67ad258a06c9d71dddad00d (patch) | |
tree | 541d4ec238ba9c2302c72b3d1384360404f768ae /tools/perf/scripts/python/stat-cpi.py | |
parent | 7b874c26a62487acaf2e7e179715991c70db25db (diff) |
KVM: VMX: Directly query Intel PT mode when refreshing PMUs
Use vmx_pt_mode_is_host_guest() in intel_pmu_refresh() instead of
bouncing through kvm_x86_ops->pt_supported, and remove ->pt_supported()
as the PMU code was the last remaining user.
Opportunistically clean up the wording of a comment that referenced
kvm_x86_ops->pt_supported().
No functional change intended.
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions