Re: [PATCH] docs: ftrace: always use canonical ftrace path

From: Ross Zwisler
Date: Thu Jan 26 2023 - 15:41:28 EST


On Thu, Jan 26, 2023 at 1:34 PM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> On Thu, 26 Jan 2023 11:28:38 -0700
> Jonathan Corbet <corbet@xxxxxxx> wrote:
>
> > Ross Zwisler <zwisler@xxxxxxxxxxxx> writes:
> >
> > > The canonical location for the tracefs filesystem is at /sys/kernel/tracing.
> > >
> > > But, from Documentation/trace/ftrace.rst:
> > >
> > > Before 4.1, all ftrace tracing control files were within the debugfs
> > > file system, which is typically located at /sys/kernel/debug/tracing.
> > > For backward compatibility, when mounting the debugfs file system,
> > > the tracefs file system will be automatically mounted at:
> > >
> > > /sys/kernel/debug/tracing
> > >
> > > Many parts of Documentation still reference this older debugfs path, so
> > > let's update them to avoid confusion.
> > >
> > > Signed-off-by: Ross Zwisler <zwisler@xxxxxxxxxx>
> >
> > So this seems like a good cleanup to me. Unless somebody objects, I'll
> > apply it to the docs tree in the near future.
> >
>
> Reviewed-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
>
> Doing a quick 'git grep 'debug/tracing' there's a lot more that needs to be
> cleaned up, but that's outside the Documentation directory.
>
> Ross, care to follow through with those? ;-)

Yep, I'll send out patches to take care of the rest, just wanted to
send this out since I had it ready.
I'm planning on dividing up the patches by subsystem/maintainer, but
am open to suggestions if that sounds incorrect.

> Thanks Jon and Ross,
>
> -- Steve