diff options
author | Wei Yang <[email protected]> | 2020-07-03 10:06:10 +0800 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2020-07-09 18:14:58 -0400 |
commit | 36b8aacf2a483ba40fbe91c830d314e0bc133044 (patch) | |
tree | 9b706a5392a724d69fb855ba7d9dcedf3f45ab72 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 746cf3459f118592a72ef42e7551777ff17b1684 (diff) |
tracing: Save one trace_event->type by using __TRACE_LAST_TYPE
Static defined trace_event->type stops at (__TRACE_LAST_TYPE - 1) and
dynamic trace_event->type starts from (__TRACE_LAST_TYPE + 1).
To save one trace_event->type index, let's use __TRACE_LAST_TYPE.
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