]> 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:31:58 +0000 (10:31 +0100)
commit91a8d07d82cac3aae3ef2ea1aaba5c9c4a934e91
treef1d3f093332ecb5e49bff1d1290164237a026475
parent1092307d582a7566d23779c304cf86f3075ac5f0
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