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:12 -0800
committerPaolo Bonzini <[email protected]>2020-03-16 17:58:00 +0100
commit8b2fc445a7619fec55740d0a5785aae4bd1058f3 (patch)
tree71f120538f6901ee759364ab5ee05506e34503cd /tools/perf/scripts/python/check-perf-trace.py
parent91001d403ad39b9c800a3b805bf48c5b027ecac5 (diff)
KVM: x86: Refactor CPUID 0xD.N sub-leaf entry creation
Increment the number of CPUID entries immediately after do_host_cpuid() in preparation for moving the logic into do_host_cpuid(). Handle the rare/impossible case of encountering a bogus sub-leaf by decrementing the number entries on failure. 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