Re: [PATCH] tracing: make tr->d_max_latency accessible without CONFIG_FSNOTIFY
From: Steven Rostedt
Date: Wed Feb 11 2026 - 13:15:29 EST
On Wed, 11 Feb 2026 12:51:52 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Tue, 10 Feb 2026 15:13:06 +0100
> Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> >
> > A recent change attempted to make the tracing_max_latency file visible
> > unconditionally, but this lead to a build failure:
> >
> > kernel/trace/trace.c: In function 'trace_create_maxlat_file':
> > kernel/trace/trace.c:1543:13: error: 'struct trace_array' has no member named 'd_max_latency'; did you mean 'max_latency'?
> > 1543 | tr->d_max_latency = trace_create_file("tracing_max_latency",
> > | ^~~~~~~~~~~~~
> >
> > Make the corresponding change in the header file.
> >
> > Fixes: ba73713da50e ("tracing: Clean up use of trace_create_maxlat_file()")
> > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> Beat you to it ;-)
>
> https://lore.kernel.org/linux-trace-kernel/20260209194631.788bfc85@fedora/
In fact, our changes were so identical that patchwork set both my patch
and your patch to queued when I applied mine to linux-next!
https://patchwork.kernel.org/project/linux-trace-kernel/patch/20260210141310.1605322-1-arnd@xxxxxxxxxx/
-- Steve