]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tracing: Make tracing_enabled be equal to tracing_on
authorSteven Rostedt <srostedt@redhat.com>
Fri, 11 May 2012 18:25:30 +0000 (14:25 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 2 Nov 2012 14:21:50 +0000 (10:21 -0400)
commit0fb9656d957d79dbe7ae155bb6533b1d465e4a50
treeb1c890432c60836b7c2d267249d85e91a17b58c5
parentc7b84ecada9a8b7fe3e6c081e70801703897ed5d
tracing: Make tracing_enabled be equal to tracing_on

The tracing_enabled file has been deprecated as it never was able
to serve its purpose well. The tracing_on file has taken over.
Instead of having code to keep tracing_enabled, have the tracing_enabled
file just set tracing_on, and remove the tracing_enabled variable.

This allows us to remove the tracing_enabled file. The reason that
the remove is in a different change set and not removed here is
in case we find some lonely userspace tool that requires the file
to exist. Then the removal patch will get reverted, but this one
will not.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace_selftest.c