kernel-hacking-2024-linux-s.../kernel/trace
Steven Rostedt faf6861ebd trace: print ftrace_dump at KERN_EMERG log level
Impact: fix to print out ftrace_dump when expected

I was debugging a hard race condition to only find out that
after I hit the race, my log level was not at level to show
KERN_INFO. The time it took to trigger the race was wasted because
I did not capture the trace.

Since ftrace_dump is only called from kernel oops (and only when
it is set in the kernel command line to do so), or when a
developer adds it to their own local tree, the log level of
the print should be at KERN_EMERG to make sure the print appears.

ftrace_dump is not called by a normal user setup, and will not
add extra unwanted print out to the console. There is no reason
it should be at KERN_INFO.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-01-21 15:21:30 +01:00
..
ftrace.c tracing/function-graph-tracer: fix a regression while suspend to disk 2009-01-21 15:21:30 +01:00
Kconfig trace: add a way to enable or disable the stack tracer 2008-12-18 12:56:24 +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 ring_buffer: reset write when reserve buffer fail 2009-01-21 15:21:30 +01:00
trace.c trace: print ftrace_dump at KERN_EMERG log level 2009-01-21 15:21:30 +01:00
trace.h cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30
trace_boot.c cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30
trace_branch.c ftrace: replace raw_local_irq_save with local_irq_save 2008-12-03 08:56:19 +01:00
trace_functions.c ftrace: introduce tracing_reset_online_cpus() helper 2008-12-19 16:29:34 +01:00
trace_functions_graph.c cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30
trace_hw_branches.c cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30
trace_irqsoff.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_mmiotrace.c ftrace: introduce tracing_reset_online_cpus() helper 2008-12-19 16:29:34 +01:00
trace_nop.c tracing/ftrace: make nop tracer using tracer flags 2008-11-18 11:10:59 +01:00
trace_power.c cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30
trace_sched_switch.c sched, trace: update trace_sched_wakeup() 2008-12-25 13:10:21 +01:00
trace_sched_wakeup.c sched, trace: update trace_sched_wakeup() 2008-12-25 13:10:21 +01:00
trace_selftest.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_selftest_dynamic.c
trace_stack.c trace: better use of stack_trace_enabled for boot up code 2008-12-18 12:56:56 +01:00
trace_sysprof.c cpumask: convert kernel trace functions 2009-01-01 10:12:22 +10:30