aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-03-02 15:56:45 -0800
committerPaolo Bonzini <[email protected]>2020-03-16 17:58:26 +0100
commit8721f5b061eb18c4bb3b77be3ec1c2811ca574ba (patch)
tree2e0363a7d843b6fd48b2ae8441cbeacc65620d7d /tools/perf/scripts/python/futex-contention.py
parentb3d895d5c4154156894fd1df2158d82f94fb5527 (diff)
KVM: x86: Add a helper to check kernel support when setting cpu cap
Add a helper, kvm_cpu_cap_check_and_set(), to query boot_cpu_has() as part of setting a KVM cpu capability. VMX in particular has a number of features that are dependent on both a VMCS capability and kernel support. 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/futex-contention.py')
0 files changed, 0 insertions, 0 deletions