ftrace: make some tracers reentrant
authorSteven Rostedt <rostedt@goodmis.org>
Sat, 4 Oct 2008 06:01:00 +0000 (02:01 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:20 +0000 (10:39 +0200)
commit3ea2e6d71aafe35b8aaf89ed711a283815acfae6
treee4bae61f9bbe5ff7ccf6eac95416b98ebd4974a4
parentbf41a158cacba6ca5fc6407a54e7ad8ce1567e2e
ftrace: make some tracers reentrant

Now that the ring buffer is reentrant, some of the ftrace tracers
(sched_swich, debugging traces) can also be reentrant.

Note: Never make the function tracer reentrant, that can cause
  recursion problems all over the kernel. The function tracer
  must disable reentrancy.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c
kernel/trace/trace_sched_switch.c