]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing: provide trace_seq_reserve()
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Mon, 23 Mar 2009 13:12:22 +0000 (15:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 31 Mar 2009 15:45:02 +0000 (17:45 +0200)
commitbdd6df6af98ce7e70702edfb5fd5dbbd8d1b0453
treed590d52a6837e0201abf8fd4461fa177d3658a5a
parent2a4efa42450762cbfa5c5712aa4cc9f06924c9fd
tracing: provide trace_seq_reserve()

trace_seq_reserve() allows a caller to reserve space in a trace_seq and
write directly into it. This makes it easier to export binary data to
userspace via the tracing interface, by simply filling in a struct.

Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_output.c
kernel/trace/trace_output.h