aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-06-15 09:48:55 +0200
committerGreg Kroah-Hartman <[email protected]>2020-06-24 17:08:33 +0200
commite8548296d27fc5944e4d98f830dc0cb71a9da5e5 (patch)
treeb001a03c32e1dd3e79b9acc36dd699e737f3b653 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentf1bcbe141381a9f715f90d61003d6b47fe084d04 (diff)
vt: synchronize types and use min in csi_X
All the types are unsinged ints -- even the vpar passed to the function. So unify them and use min() to compute count instead of explicit comparison. Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions