]> git.baikalelectronics.ru Git - kernel.git/commit
ring-buffer: Move the add_timestamp into its own function
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 30 Jun 2020 16:47:56 +0000 (12:47 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 2 Jul 2020 02:12:06 +0000 (22:12 -0400)
commit87664cff5b216f782c5abbc7bdaddef9a667a20a
tree87e567609725b0841ab0504ebd4c25d1151fc305
parent932fa5bf8d5c3a5941ee7fa72820559057241658
ring-buffer: Move the add_timestamp into its own function

Make a helper function rb_add_timestamp() that moves the adding of the
extended time stamps into its own function. Also, remove the noinline and
inline for the functions it calls, as recent benchmarks appear they do not
make a difference (just let gcc decide).

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c