Skip to content
Commit e9fb2b6d authored by Steven Rostedt's avatar Steven Rostedt
Browse files

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: default avatarSteven Rostedt <srostedt@redhat.com>
parent 82827557
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment