diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-08 04:36:02 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-08 09:51:29 +0100 |
commit | 49833fc232bd6a5076496994d855f601354501d7 (patch) | |
tree | 819089f20578815ee2b4ec00c6cc3de668298aee /kernel/trace/trace_boot.c | |
parent | ftrace: irqsoff tracer incorrect reset (diff) | |
download | linux-49833fc232bd6a5076496994d855f601354501d7.tar.xz linux-49833fc232bd6a5076496994d855f601354501d7.zip |
ftrace: enable trace_printk by default
Impact: have the ftrace_printk enabled on startup
It is confusing to have to "echo trace_printk > /debug/tracing/iter_ctrl"
after adding ftrace_printk in the kernel.
Currently the trace_printk is set to off by default. ftrace_printk
should only be in open kernel code when used for debugging, and thus
it should be enabled by default.
It may also be used to record data within a tracer, but those ftrace_printks
should be within wrappers that are either enabled by trace_points or
have a variable protecting the code path from being entered when the
tracer is disabled.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_boot.c')
0 files changed, 0 insertions, 0 deletions