tracing: Fix trace_marker output
authorCarsten Emde <Carsten.Emde@osadl.org>
Mon, 16 Nov 2009 19:56:13 +0000 (20:56 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 17 Nov 2009 14:19:06 +0000 (09:19 -0500)
commitc13d2f7c3231e873f30db92b96c8caa48f100f33
treeb849f99094e847f31f89e2e1a8944c9ff7f0ad30
parent811cb50baf63461ce0bdb234927046131fc7fa8b
tracing: Fix trace_marker output

When a string was written to <debugfs>/tracing/trace_marker, some
strange characters appeared in the trace output instead of the
string, since a vprint function erroneously called a vararg print
function with a va_list argument. This patch fixes the problem and
simplifies the related code.

Signed-off-by: Carsten Emde <C.Emde@osadl.org>
LKML-Reference: <4B01AE5D.1010801@osadl.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c