]> 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)
commitdd8fc1b6c092663b70d54d083555d90dd5c31144
tree0a599caa84e7417fc480554b156646bb4c4d4f8b
parentb3c8c84d44cafdb2830c95ab4dbabc9dfec0c3c1
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