ftrace: new continue entry - separate out from trace_entry
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 1 Aug 2008 16:26:40 +0000 (12:26 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:35:15 +0000 (10:35 +0200)
commit2e2ca155cd2213b4f398031180fb3d399d5b7db9
tree027295832950e23ac4edc84e43550d02e9a1acc6
parentfed1939c64d2288938fdc1c367d49082da65e195
ftrace: new continue entry - separate out from trace_entry

Some tracers will need to work with more than one entry. In order to do this
the trace_entry structure was split into two fields. One for the start of
all entries, and one to continue an existing entry.

The trace_entry structure now has a "field" entry that consists of the previous
content of the trace_entry, and a "cont" entry that is just a string buffer
the size of the "field" entry.

Thanks to Andrew Morton for suggesting this idea.

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