summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@linux.alibaba.com>2020-07-03 05:06:09 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-07-10 01:00:47 +0300
commit746cf3459f118592a72ef42e7551777ff17b1684 (patch)
tree727cd7429ea337d8692063cea0f1b2dca7f8212a /tools/perf/scripts/python/exported-sql-viewer.py
parent29ce24519c0692ca7d998d7444a9e016a4c44fa7 (diff)
downloadlinux-746cf3459f118592a72ef42e7551777ff17b1684.tar.xz
tracing: Simplify defining of the next event id
The value to be used and compared in trace_search_list() is "last + 1". Let's just define next to be "last + 1" instead of doing the addition each time. Link: https://lkml.kernel.org/r/20200703020612.12930-2-richard.weiyang@linux.alibaba.com Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions