[PATCH 0/2] tracing: Move trace_printk.h out of kernel.h

Steven Rostedt rostedt at kernel.org
Mon Jun 22 06:08:26 PDT 2026


On Mon, 22 Jun 2026 10:05:13 +0200
"Christophe Leroy (CS GROUP)" <chleroy at kernel.org> wrote:

> > There's been complaints about trace_printk() being defined in kernel.h as it
> > can increase the compilation time. As it is only used by some developers for
> > debugging purposes, it should not be in kernel.h causing lots of wasted CPU
> > cycles for those that do not ever care about it.  
> 
> Do we have a measurement of the increased compilation time ?

I believe Yury does.

-- Steve



More information about the linux-arm-kernel mailing list