aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-03-02 15:56:56 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:58:35 +0100
commit7c7f9548108926dbf6776b1cfe748f7c617cfd36 (patch)
treeed3301ab926340c9a83b7871cdc3fdff5edfa4d4 /tools/perf/scripts/python/bin/stackcollapse-report
parentKVM: x86: Use kvm_cpu_caps to detect Intel PT support (diff)
downloadlinux-7c7f9548108926dbf6776b1cfe748f7c617cfd36.tar.gz
linux-7c7f9548108926dbf6776b1cfe748f7c617cfd36.zip
KVM: x86: Do kvm_cpuid_array capacity checks in terminal functions
Perform the capacity checks on the userspace provided kvm_cpuid_array in the lower __do_cpuid_func() and __do_cpuid_func_emulated(). Pre-checking the array in do_cpuid_func() no longer adds value now that __do_cpuid_func() has been trimmed down to size, i.e. doesn't invoke a big pile of retpolined functions before doing anything useful. Note, __do_cpuid_func() already checks the array capacity via do_host_cpuid(), "moving" the check to __do_cpuid_func() simply means removing a WARN_ON(). Suggested-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions