• S
    tracing: Automatically mount tracefs on debugfs/tracing · f76180bc
    Steven Rostedt (Red Hat) 提交于
    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: NSteven Rostedt <rostedt@goodmis.org>
    f76180bc
trace.c 165.1 KB