WSL2-Linux-Kernel/kernel/trace
Steven Rostedt 4eebcc81a3 ftrace: disable tracing on failure
Since ftrace touches practically every function. If we detect any
anomaly, we want to fully disable ftrace. This patch adds code
to try shutdown ftrace as much as possible without doing any more
harm is something is detected not quite correct.

This only kills ftrace, this patch does have checks for other parts of
the tracer (irqsoff, wakeup, etc.).

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-23 20:54:16 +02:00
..
Kconfig ftrace: add self-tests 2008-05-23 20:40:36 +02:00
Makefile ftrace: trace preempt off critical timings 2008-05-23 20:32:54 +02:00
ftrace.c ftrace: disable tracing on failure 2008-05-23 20:54:16 +02:00
trace.c ftrace: pipe fixes 2008-05-23 20:53:19 +02:00
trace.h ftrace: add trace_special() 2008-05-23 20:52:33 +02:00
trace_functions.c ftrace: timestamp syncing, prepare 2008-05-23 20:42:31 +02:00
trace_irqsoff.c ftrace: timestamp syncing, prepare 2008-05-23 20:42:31 +02:00
trace_sched_switch.c ftrace: timestamp syncing, prepare 2008-05-23 20:42:31 +02:00
trace_sched_wakeup.c ftrace: timestamp syncing, prepare 2008-05-23 20:42:31 +02:00
trace_selftest.c ftrace: disable tracing on failure 2008-05-23 20:54:16 +02:00