Re: [RFC][PATCH] tracing: Deprecate auto-mounting tracefs in debugfs
Christian Brauner <[email protected]> Wed, 18 Jun 2025 11:18:56 +0200
| Newsgroups | org.kernel.vger.linux-trace-users,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-perf-users,org.kernel.vger.linux-trace-kernel |
|---|---|
| Message-ID | <20250618-freischaffend-gefunden-139c8c064797@brauner> |
On Tue, Jun 17, 2025 at 01:36:14PM -0400, Steven Rostedt wrote: > From: Steven Rostedt <[email protected]> > > In January 2015, tracefs was created to allow access to the tracing > infrastructure without needing to compile in debugfs. When tracefs is > configured, the directory /sys/kernel/tracing will exist and tooling is > expected to use that path to access the tracing infrastructure. > > To allow backward compatibility, when debugfs is mounted, it would > automount tracefs in its "tracing" directory so that tooling that had hard > coded /sys/kernel/debug/tracing would still work. > > It has been over 10 years since the new interface was introduced, and all > tooling should now be using it. Start the process of deprecating the old > path so that it doesn't need to be maintained anymore. > > Signed-off-by: Steven Rostedt (Google) <[email protected]> > --- Sounds reasonable.