]> 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>
Wed, 21 Jan 2009 14:21:30 +0000 (15:21 +0100)
commita442e5e0a2011af5b2d1f118fee0a8f9079f1d88
tree060bada7945ebeeec57c1b8c201552767da590aa
parentfaf6861ebd776871e77b761c43ec045cd20b5716
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