tracing: Automatically mount tracefs on debugfs/tracing
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 20 Jan 2015 20:48:46 +0000 (15:48 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 3 Feb 2015 17:48:42 +0000 (12:48 -0500)
commitf76180bc07abc399977bfbe8c43bf58c4570e893
tree6638b15592e2af975cd7ed7bd0815bb0def51ffb
parent8434dc9340cd2e117fc944cf7526263bf490a52a
tracing: Automatically mount tracefs on debugfs/tracing

As tools currently rely on the tracing directory in debugfs, we can not
just created a tracefs infrastructure and expect sysadmins to mount
the new tracefs to have their old tools work.

Instead, the debugfs tracing directory is still created and the tracefs
file system is mounted there when the debugfs filesystem is mounted.

No longer does the tracing infrastructure update the debugfs file system,
but instead interacts with the tracefs file system. But now, it still
appears to the user like nothing changed, except you also have the feature
of mounting just the tracing system without needing all of debugfs!

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
This page took 0.036362 seconds and 5 git commands to generate.