aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2014-07-24 14:21:57 +0200
committerPaolo Bonzini <[email protected]>2014-07-24 14:21:57 +0200
commit03916db9348c079d8d214f971cc114bb51c6b869 (patch)
treeac1511a292ad97f810f03b5ed45805a9e45d0fbc /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent0123be429fef40f067e5b1811576c3994229f59e (diff)
Replace NR_VMX_MSR with its definition
Using ARRAY_SIZE directly makes it easier to read the code. While touching the code, replace the division by a multiplication in the recently added BUILD_BUG_ON. Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions