]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/trace/ring_buffer.c
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)
commit74e879373b377f15d4ecb45bf8316b77e8badc49
tree87e567609725b0841ab0504ebd4c25d1151fc305
parent58fbc3c63275c6255a10ae151cc3882d9190c4e0
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