aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-03-10 16:46:01 -0800
committerSean Christopherson <[email protected]>2023-04-06 14:57:23 -0700
commit9eb6ba31db27253a11441368d2801c1eedc48b4f (patch)
tree03da53f2b2ee99898e98fbc69a479255ff76cf23 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent5757f5b9562244e4b63f65576c16ca9eb21f81d2 (diff)
KVM: x86: Generate set of VMX feature MSRs using first/last definitions
Add VMX MSRs to the runtime list of feature MSRs by iterating over the range of emulated MSRs instead of manually defining each MSR in the "all" list. Using the range definition reduces the cost of emulating a new VMX MSR, e.g. prevents forgetting to add an MSR to the list. Extracting the VMX MSRs from the "all" list, which is a compile-time constant, also shrinks the list to the point where the compiler can heavily optimize code that iterates over the list. No functional change intended. Reviewed-by: Xiaoyao Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions