Re: [PATCH v3 4/4] tracing: move tracing declarations from kernel.h to a dedicated header

From: Yury Norov
Date: Tue Dec 16 2025 - 19:52:17 EST


On Tue, Dec 16, 2025 at 04:13:16PM -0800, Andrew Morton wrote:
> On Fri, 5 Dec 2025 12:52:35 -0500 "Yury Norov (NVIDIA)" <yury.norov@xxxxxxxxx> wrote:
>
> > Tracing is a half of the kernel.h in terms of LOCs, although it's
> > a self-consistent part. It is intended for quick debugging purposes
> > and isn't used by the normal tracing utilities.
> >
> > Move it to a separate header. If someone needs to just throw a
> > trace_printk() in their driver, they will not have to pull all
> > the heavy tracing machinery.
> >
> > This is a pure move, except for removing a few 'extern's.
> >
>
> This one blows up my x86_64 allmodconfig, gcc-15.2.0:

Thanks, Andrew. I'll take a look.