]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
tracing: fix trace_vprintk call
authorSteven Rostedt <srostedt@redhat.com>
Fri, 9 Oct 2009 05:41:35 +0000 (01:41 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 9 Oct 2009 05:41:35 +0000 (01:41 -0400)
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>
kernel/trace/trace.c

index 45068269ebb1746673f23c20b146ca9104a0b325..c820b0310a1274dee072c2e5403375033d2ca475 100644 (file)
@@ -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);