]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
trace: stop all recording to ring buffer on ftrace_dump
authorSteven Rostedt <srostedt@redhat.com>
Wed, 14 Jan 2009 19:50:19 +0000 (14:50 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Jan 2009 08:47:13 +0000 (09:47 +0100)
commit0ee6b6cf5bdb793b4c68507dd65adf16341aa4ca
tree31f269948f100dffa68ff2683345c6a770dbd5df
parent6f3b34402e7282cde49dff395d7ea462bf33bf50
trace: stop all recording to ring buffer on ftrace_dump

Impact: limit ftrace dump output

Currently ftrace_dump only calls ftrace_kill that is a fast way
to prevent the function tracer functions from being called (just sets
a flag and clears the function to call, nothing else). It is better
to also turn off any recording to the ring buffers as well.

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