commit | 746cf3459f118592a72ef42e7551777ff17b1684 | [log] [tgz] |
---|---|---|
author | Wei Yang <richard.weiyang@linux.alibaba.com> | Fri Jul 03 10:06:09 2020 +0800 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Jul 09 18:00:47 2020 -0400 |
tree | 727cd7429ea337d8692063cea0f1b2dca7f8212a | |
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>