ring-buffer: Remove useless unused tracing_off_permanent()
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 28 May 2015 17:21:34 +0000 (13:21 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 28 May 2015 20:47:39 +0000 (16:47 -0400)
commit3c6296f716ebef704b76070d90567ab4faa8462c
treefc9a587239395d5dc882c8f17756ba6aa29ba838
parent289a5a25c5d0949e4d9b9ca4f334b6af5a83e090
ring-buffer: Remove useless unused tracing_off_permanent()

The tracing_off_permanent() call is a way to disable all ring_buffers.
Nothing uses it and nothing should use it, as tracing_off() and
friends are better, as they disable the ring buffers related to
tracing. The tracing_off_permanent() even disabled non tracing
ring buffers. This is a bit drastic, and was added to handle NMIs
doing outputs that could corrupt the ring buffer when only tracing
used them. It is now obsolete and adds a little overhead, it should
be removed.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/kernel.h
kernel/trace/ring_buffer.c