Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a44bef9 authored by Steven Rostedt (Red Hat)'s avatar Steven Rostedt (Red Hat) Committed by Amit Pundir
Browse files

UPSTREAM: 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: default avatarSteven Rostedt <rostedt@goodmis.org>

Bug: 31856701
Change-Id: I0a4d108a252f88f6953cf042250ec6bf85c20eff
(cherry picked from commit f76180bc07abc399977bfbe8c43bf58c4570e893)
Signed-off-by: default avatarPaul Lawrence <paullawrence@google.com>
parent 16f60ec3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment