diff options
author | Wei Yang <richard.weiyang@linux.alibaba.com> | 2020-07-03 10:06:09 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-07-09 18:00:47 -0400 |
commit | 746cf3459f118592a72ef42e7551777ff17b1684 (patch) | |
tree | 727cd7429ea337d8692063cea0f1b2dca7f8212a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 29ce24519c0692ca7d998d7444a9e016a4c44fa7 (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions