]> git.baikalelectronics.ru Git - kernel.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)
commitbf87c486fb66cbfd368db485ba07cbc57c6314ad
treeb1c890432c60836b7c2d267249d85e91a17b58c5
parentd820a56ac2f18c2fa594cfcade4745535a0df800
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