ring-buffer: move some metadata into buffer page
authorSteven Rostedt <srostedt@redhat.com>
Tue, 2 Dec 2008 20:34:06 +0000 (15:34 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 3 Dec 2008 07:56:20 +0000 (08:56 +0100)
commitabc9b56d66fbd4d93302ef4bf6fa726e1b8255f9
treea93b0dca471b616bc2987530d536a1829ef537a8
parenta5e25883a445dce94a087ca479b21a5959cd5c18
ring-buffer: move some metadata into buffer page

Impact: get ready for splice changes

This patch moves the commit and timestamp into the beginning of each
data page of the buffer. This change will allow the page to be moved
to another location (disk, network, etc) and still have information
in the page to be able to read it.

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