]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ring-buffer: reset timestamps when ring buffer is reset
authorSteven Rostedt <srostedt@redhat.com>
Wed, 21 Jan 2009 23:45:57 +0000 (18:45 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 22 Jan 2009 09:27:54 +0000 (10:27 +0100)
commit69507c06539332e6e49f83aa478844130233bece
tree184bbcc7160c5d0e304166b1ecb190897e1f0afc
parentf8ec1062f589cdb1cffcffab1376124a1bc08500
ring-buffer: reset timestamps when ring buffer is reset

Impact: fix bad times of recent resets

The ring buffer needs to reset its timestamps when reseting of the
buffer, otherwise the timestamps are stale and might be used to
calculate times in the buffer causing funny timestamps to appear.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ring_buffer.c