diff options
author | Wei Yang <[email protected]> | 2020-07-03 10:06:09 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2020-07-09 18:00:47 -0400 |
commit | 746cf3459f118592a72ef42e7551777ff17b1684 (patch) | |
tree | 727cd7429ea337d8692063cea0f1b2dca7f8212a /scripts/gcc-plugins/cyc_complexity_plugin.c | |
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/[email protected]
Signed-off-by: Wei Yang <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions