ftrace: add ftrace_kill_atomic
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 11 Jul 2008 00:58:15 +0000 (20:58 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 13:49:21 +0000 (15:49 +0200)
commita2bb6a3d85ef3124cd336403a95abc0540d3fbe2
tree3048f355cc3ca814222ba34943c9a8f735e7a5e6
parent26bc83f4cb911a0b4dabfe23b700aaf3235f2955
ftrace: add ftrace_kill_atomic

It has been suggested that I add a way to disable the function tracer
on an oops. This code adds a ftrace_kill_atomic. It is not meant to be
used in normal situations. It will disable the ftrace tracer, but will
not perform the nice shutdown that requires scheduling.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace.h
kernel/trace/ftrace.c
This page took 0.026862 seconds and 5 git commands to generate.