From: Steven Rostedt Date: Wed, 22 Feb 2012 20:50:28 +0000 (-0500) Subject: tracing/ring-buffer: Only have tracing_on disable tracing buffers X-Git-Tag: v3.4-rc1~4^2~8^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=499e547057f5bba5cd6f87ebe59b05d0c59da905;p=pandora-kernel.git tracing/ring-buffer: Only have tracing_on disable tracing buffers As the ring-buffer code is being used by other facilities in the kernel, having tracing_on file disable *all* buffers is not a desired affect. It should only disable the ftrace buffers that are being used. Move the code into the trace.c file and use the buffer disabling for tracing_on() and tracing_off(). This way only the ftrace buffers will be affected by them and other kernel utilities will not be confused to why their output suddenly stopped. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed