linux/kernel/trace
Steven Rostedt (Red Hat) de7edd3145 tracing: Disable tracing on warning
Add a traceoff_on_warning option in both the kernel command line as well
as a sysctl option. When set, any WARN*() function that is hit will cause
the tracing_on variable to be cleared, which disables writing to the
ring buffer.

This is useful especially when tracing a bug with function tracing. When
a warning is hit, the print caused by the warning can flood the trace with
the functions that producing the output for the warning. This can make the
resulting trace useless by either hiding where the bug happened, or worse,
by overflowing the buffer and losing the trace of the bug totally.

Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2013-06-19 23:32:07 -04:00
..
Kconfig ring-buffer: Select IRQ_WORK 2013-05-03 19:24:17 -04:00
Makefile
blktrace.c Merge branch 'for-3.10/drivers' of git://git.kernel.dk/linux-block 2013-05-08 11:51:05 -07:00
ftrace.c ftrace: Use schedule_on_each_cpu() as a heavy synchronize_sched() 2013-06-11 18:38:50 -04:00
power-traces.c
ring_buffer.c ring-buffer: Do not poll non allocated cpu buffers 2013-05-28 10:53:20 -04:00
ring_buffer_benchmark.c
rpm-traces.c
trace.c tracing: Disable tracing on warning 2013-06-19 23:32:07 -04:00
trace.h Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-04-30 07:41:01 -07:00
trace_branch.c
trace_clock.c
trace_entries.h
trace_event_perf.c
trace_events.c tracing: Do not call kmem_cache_free() on allocation failure 2013-06-11 18:38:52 -04:00
trace_events_filter.c tracing: Add binary '&' filter for events 2013-06-19 23:30:40 -04:00
trace_events_filter_test.h
trace_export.c
trace_functions.c tracing: Add function probe to trigger a ftrace dump of current CPU trace 2013-06-11 18:38:48 -04:00
trace_functions_graph.c
trace_irqsoff.c
trace_kdb.c
trace_kprobe.c tracing/kprobes: Make print_*probe_event static 2013-05-15 13:50:24 -04:00
trace_mmiotrace.c
trace_nop.c
trace_output.c Tracing updates for Linux 3.10 2013-04-29 13:55:38 -07:00
trace_output.h
trace_printk.c
trace_probe.c
trace_probe.h
trace_sched_switch.c
trace_sched_wakeup.c
trace_selftest.c tracing: Fix bad parameter passed in branch selftest 2013-05-29 16:00:03 -04:00
trace_selftest_dynamic.c
trace_stack.c Tracing updates for Linux 3.10 2013-04-29 13:55:38 -07:00
trace_stat.c
trace_stat.h
trace_syscalls.c
trace_uprobe.c uprobes/perf: Avoid perf_trace_buf_prepare/submit if ->perf_events is empty 2013-04-15 17:39:52 +02:00