aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-03-02 15:56:16 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:58:03 +0100
commitaa10a7dc8858f6cbd1ef5cb86693592896ee27c7 (patch)
tree329401e40600298bb4b651388840e6e1c6fd3d88 /tools/perf/scripts/python/netdev-times.py
parentKVM: x86: Drop redundant boot cpu checks on SSBD feature bits (diff)
downloadlinux-aa10a7dc8858f6cbd1ef5cb86693592896ee27c7.tar.gz
linux-aa10a7dc8858f6cbd1ef5cb86693592896ee27c7.zip
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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions