mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
828275574e
commit
e9fb2b6d58
2 changed files with 17 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue