aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-03-02 15:56:16 -0800
committerPaolo Bonzini <[email protected]>2020-03-16 17:58:03 +0100
commitaa10a7dc8858f6cbd1ef5cb86693592896ee27c7 (patch)
tree329401e40600298bb4b651388840e6e1c6fd3d88 /tools/perf/scripts/python/check-perf-trace.py
parentacfad336ecf97ccad43346d7a82c60c3b21dbde0 (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 <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions