tracing: have event_trace_printk use static tracer
authorSteven Rostedt <srostedt@redhat.com>
Thu, 12 Mar 2009 18:19:25 +0000 (14:19 -0400)
committerSteven Rostedt <srostedt@redhat.com>
Fri, 13 Mar 2009 01:15:00 +0000 (21:15 -0400)
Impact: speed up on event tracing

The event_trace_printk is currently a wrapper function that calls
trace_vprintk. Because it uses a variable for the fmt it misses out
on the optimization of using the binary printk.

This patch makes event_trace_printk into a macro wrapper to use the
fmt as the same as the trace_printks.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>

No differences found