]> git.baikalelectronics.ru Git - kernel.git/commit
ring-buffer: Incorporate absolute timestamp into add_timestamp logic
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 29 Jun 2020 02:52:26 +0000 (22:52 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 30 Jun 2020 20:16:14 +0000 (16:16 -0400)
commit54b4de7de8edb8137f7448046696e8698166ac58
treeb0fda34b5d2451a2a738969704e16a4792a2a446
parente6cc5f23410eff1996f62f522677d31ff0f68219
ring-buffer: Incorporate absolute timestamp into add_timestamp logic

Instead of calling out the absolute test for each time to check if the
ring buffer wants absolute time stamps for all its recording, incorporate it
with the add_timestamp field and turn it into flags for faster processing
between wanting a absolute tag and needing to force one.

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