aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-03-02 15:56:17 -0800
committerPaolo Bonzini <[email protected]>2020-03-16 17:58:04 +0100
commit74fa0bc7f083fbcce1ee0b9c3c2716fcb068fce4 (patch)
treed042d1ecf845edd075f3d4297c36384919bf5752 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentaa10a7dc8858f6cbd1ef5cb86693592896ee27c7 (diff)
KVM: x86: Hoist loop counter and terminator to top of __do_cpuid_func()
Declare "i" and "max_idx" at the top of __do_cpuid_func() to consolidate a handful of declarations in various case statements. More importantly, establish the pattern of using max_idx instead of e.g. entry->eax as the loop terminator in preparation for refactoring how entry is handled in __do_cpuid_func(). 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/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions