]> Pileus Git - ~andy/linux/commit
tracing: Add internal ftrace trace_puts() for ftrace to use
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Sat, 9 Mar 2013 05:40:58 +0000 (00:40 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:35:56 +0000 (00:35 -0400)
commitca268da6e415448a43138e1abc5d5f057af319d7
tree33fcaf68989e12fca96ad86bdece7eaac16d1545
parent9d3c752c062e3266f1051ba0825276ea1e2777da
tracing: Add internal ftrace trace_puts() for ftrace to use

There's a few places that ftrace uses trace_printk() for internal
use, but this requires context (normal, softirq, irq, NMI) buffers
to keep things lockless. But the trace_puts() does not, as it can
write the string directly into the ring buffer. Make a internal helper
for trace_puts() and have the internal functions use that.

This way the extra context buffers are not used.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h