diff options
author | Steven Rostedt (VMware) <[email protected]> | 2020-06-30 08:59:26 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2020-07-01 22:11:22 -0400 |
commit | 58fbc3c63275c6255a10ae151cc3882d9190c4e0 (patch) | |
tree | 4851ff13460d9afe47e7091e0a7a90a9dcc67a2b /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 75b21c6dfa2d816bcabac24a530d9cffc12092b8 (diff) |
ring-buffer: Consolidate add_timestamp to remove some branches
Reorganize a little the logic to handle adding the absolute time stamp,
extended and forced time stamps, in such a way to remove a branch or two.
This is just a micro optimization.
Also add before and after time stamps to the rb_event_info structure to
display those values in the rb_check_timestamps() code, if something were to
go wrong.
Suggested-by: Mathieu Desnoyers <[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