]> 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)
commit66847296cf36863e14a84b61a642a1f742014165
treeb0fda34b5d2451a2a738969704e16a4792a2a446
parentdc6cf3ccea02181a5e66f581136bcf4b34c44c61
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