]> git.baikalelectronics.ru Git - kernel.git/commit
ring-buffer: Add a little more information and a WARN when time stamp going backwards...
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 3 Mar 2021 23:23:40 +0000 (18:23 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 4 Mar 2021 14:45:17 +0000 (09:45 -0500)
commitbaae683dc4ed1e32645b469892eb0e17dec7b9a8
tree0a599caa84e7417fc480554b156646bb4c4d4f8b
parentb77a2498ee39475c4de0198d334f117d48ea979c
ring-buffer: Add a little more information and a WARN when time stamp going backwards is detected

When the CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS is enabled, and the time
stamps are detected as not being valid, it reports information about the
write stamp, but does not show the before_stamp which is still useful
information. Also, it should give a warning once, such that tests detect
this happening.

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