commit | e9fb2b6d5845e24f104713591286b6f39761c027 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Thu Mar 12 14:19:25 2009 -0400 |
committer | Steven Rostedt <srostedt@redhat.com> | Thu Mar 12 21:15:00 2009 -0400 |
tree | 13239f3046b28b9b8b6166e438a4c509e57972c9 | |
parent | 828275574e0161bdddb5817d4bd76a0265ef0470 [diff] |
tracing: have event_trace_printk use static tracer 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>