summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-10-09 07:41:35 +0200
committerSteven Rostedt <rostedt@goodmis.org>2009-10-09 07:41:35 +0200
commita813a159766ee9d36aa1fc717c60d63325a6d077 (patch)
treea895e702adea43c61f2890424c800d1f99a24f5c /kernel/trace/trace.c
parenttracing: user local buffer variable for trace branch tracer (diff)
downloadlinux-a813a159766ee9d36aa1fc717c60d63325a6d077.tar.xz
linux-a813a159766ee9d36aa1fc717c60d63325a6d077.zip
tracing: fix trace_vprintk call
The addition of trace_array_{v}printk used the wrong function for trace_vprintk to call. This broke trace_marker and trace_vprintk itself. Although trace_printk may not have been affected by those that end up calling trace_vbprintk. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 45068269ebb1..c820b0310a12 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -1393,7 +1393,7 @@ int trace_array_vprintk(struct trace_array *tr,
int trace_vprintk(unsigned long ip, const char *fmt, va_list args)
{
- return trace_array_printk(&global_trace, ip, fmt, args);
+ return trace_array_vprintk(&global_trace, ip, fmt, args);
}
EXPORT_SYMBOL_GPL(trace_vprintk);