diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-06-30 08:59:26 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-07-01 22:11:22 -0400 |
commit | 58fbc3c63275c6255a10ae151cc3882d9190c4e0 (patch) | |
tree | 4851ff13460d9afe47e7091e0a7a90a9dcc67a2b /kernel/latencytop.c | |
parent | 75b21c6dfa2d816bcabac24a530d9cffc12092b8 (diff) | |
download | linux-58fbc3c63275c6255a10ae151cc3882d9190c4e0.tar.bz2 |
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 <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions