diff options
| author | 2020-03-02 15:56:16 -0800 | |
|---|---|---|
| committer | 2020-03-16 17:58:03 +0100 | |
| commit | aa10a7dc8858f6cbd1ef5cb86693592896ee27c7 (patch) | |
| tree | 329401e40600298bb4b651388840e6e1c6fd3d88 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | KVM: x86: Drop redundant boot cpu checks on SSBD feature bits (diff) | |
KVM: x86: Consolidate CPUID array max num entries checking
Move the nent vs. maxnent check and nent increment into do_host_cpuid()
to consolidate what is now identical code. To signal success vs.
failure, return the entry and NULL respectively. A future patch will
build on this to also move the entry retrieval into do_host_cpuid().
No functional change intended.
Reviewed-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-record')
0 files changed, 0 insertions, 0 deletions
