tmp_suning_uos_patched/kernel/trace
Frederic Weisbecker 66896a85cf tracing/ftrace: add the printk-msg-only option
Impact: display ftrace_printk messages "as is"

By default, ftrace_printk() messages find their output with some other
informations like pid, caller, ...
Sometimes a developer just want to have the ftrace_printk left "as is", without
other information.

This is done by providing a default-off option called printk-msg-only.
To enable it, just do `echo printk-msg-only > /debugfs/tracing/trace_options`

Before the patch:

           <...>-2739  [000]   145.692153: __might_sleep: I'm an ftrace_printk msg in __might_sleep
           <...>-2739  [000]   145.692155: __might_sleep: I'm another ftrace_printk msg in __might_sleep

After the patch and the printk-msg-only option enabled:

I'm an ftrace_printk msg in __might_sleep
I'm another ftrace_printk msg in __might_sleep

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-17 00:26:36 +01:00
..
ftrace.c tracing/function-graph-tracer: append the tracing_graph_flag 2008-12-08 15:11:45 +01:00
Kconfig x86, bts, ftrace: adapt the hw-branch-tracer to the ds.c interface 2008-12-12 08:08:14 +01:00
Makefile x86, bts, ftrace: adapt the hw-branch-tracer to the ds.c interface 2008-12-12 08:08:14 +01:00
ring_buffer.c tracing/ftrace: use preempt_enable_no_resched_notrace in ring_buffer_time_stamp() 2008-12-17 00:26:35 +01:00
trace_boot.c
trace_branch.c ftrace: replace raw_local_irq_save with local_irq_save 2008-12-03 08:56:19 +01:00
trace_functions_graph.c tracing/function-graph-tracer: Output arrows signal on hardirq call/return 2008-12-12 11:14:09 +01:00
trace_functions.c
trace_hw_branches.c x86, bts, ftrace: adapt the hw-branch-tracer to the ds.c interface 2008-12-12 08:08:14 +01:00
trace_irqsoff.c
trace_mmiotrace.c tracing/function-graph-tracer: handle ftrace_printk entries 2008-12-04 10:18:39 +01:00
trace_nop.c
trace_power.c tracing: add "power-tracer": C/P state tracer to help power optimization 2008-11-26 08:29:32 +01:00
trace_sched_switch.c
trace_sched_wakeup.c
trace_selftest_dynamic.c
trace_selftest.c
trace_stack.c trace: fix output of stack trace 2008-12-03 17:15:02 +01:00
trace_sysprof.c
trace.c tracing/ftrace: add the printk-msg-only option 2008-12-17 00:26:36 +01:00
trace.h tracing/ftrace: add the printk-msg-only option 2008-12-17 00:26:36 +01:00