1
linux/kernel/trace
Steven Rostedt 49833fc232 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>
2008-11-08 09:51:29 +01:00
..
ftrace.c ftrace: fix set_ftrace_filter 2008-11-08 09:51:02 +01:00
Kconfig ftrace: add quick function trace stop 2008-11-06 07:50:51 +01:00
Makefile ftrace: rename FTRACE to FUNCTION_TRACER 2008-10-20 18:27:03 +02:00
ring_buffer.c Merge branches 'tracing/ftrace', 'tracing/fastboot', 'tracing/nmisafe' and 'tracing/urgent' into tracing/core 2008-11-08 09:34:35 +01:00
trace_boot.c ftrace: fix sched_switch API 2008-11-08 09:51:18 +01:00
trace_functions.c ftrace: restructure tracing start/stop infrastructure 2008-11-06 07:51:03 +01:00
trace_irqsoff.c ftrace: irqsoff tracer incorrect reset 2008-11-08 09:51:24 +01:00
trace_mmiotrace.c ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00
trace_nop.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_sched_switch.c ftrace: fix sched_switch API 2008-11-08 09:51:18 +01:00
trace_sched_wakeup.c ftrace: restructure tracing start/stop infrastructure 2008-11-06 07:51:03 +01:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_selftest.c ftrace: remove daemon 2008-10-23 16:00:22 +02:00
trace_stack.c ftrace: insert in the ftrace_preempt_disable()/enable() functions 2008-11-04 10:09:49 +01:00
trace_sysprof.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace.c ftrace: enable trace_printk by default 2008-11-08 09:51:29 +01:00
trace.h ftrace: fix sched_switch API 2008-11-08 09:51:18 +01:00