[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250617152906.2d7ddb9f@gandalf.local.home>
Date: Tue, 17 Jun 2025 15:29:06 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: LKML <linux-kernel@...r.kernel.org>, Linux Trace Kernel
<linux-trace-kernel@...r.kernel.org>, "linux-trace-users@...r.kernel.org"
<linux-trace-users@...r.kernel.org>, linux-fsdevel@...r.kernel.org,
linux-perf-users@...r.kernel.org
Cc: Masami Hiramatsu <mhiramat@...nel.org>, Mathieu Desnoyers
<mathieu.desnoyers@...icios.com>, Mark Rutland <mark.rutland@....com>,
Peter Zijlstra <peterz@...radead.org>, Thomas Gleixner
<tglx@...utronix.de>, Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Namhyung Kim <namhyung@...nel.org>, Linus Torvalds
<torvalds@...ux-foundation.org>, Andrew Morton <akpm@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Al Viro
<viro@...IV.linux.org.uk>, Christian Brauner <brauner@...nel.org>, Jan Kara
<jack@...e.cz>, Arnaldo Carvalho de Melo <acme@...nel.org>, Frederic
Weisbecker <fweisbec@...il.com>, Jiri Olsa <jolsa@...nel.org>, Ian Rogers
<irogers@...gle.com>
Subject: Re: [RFC][PATCH] tracing: Deprecate auto-mounting tracefs in
debugfs
On Tue, 17 Jun 2025 13:36:14 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> @@ -10311,6 +10313,8 @@ int tracing_init_dentry(void)
> if (WARN_ON(!tracefs_initialized()))
> return -ENODEV;
>
> +#ifdef CONFIG_TRACEFS_AUTOMOUNT_DEPRECATED
> + pr_warning("NOTICE: Automounting of tracing to debugfs is deprecated and will be removed in 2027\n");
I tested this with the config off but not on.
The above errors with pr_warning() undefined, "do you mean pr_warn?" :-p
-- Steve
> /*
> * As there may still be users that expect the tracing
> * files to exist in debugfs/tracing, we must automount
> @@ -10319,6 +10323,7 @@ int tracing_init_dentry(void)
> */
> tr->dir = debugfs_create_automount("tracing", NULL,
> trace_automount, NULL);
> +#endif
>
> return 0;
> }
> --
Powered by blists - more mailing lists