# Re: \[PATCH 0/2\] tracing: Move trace\_printk.h out of kernel.h

- From: Yury Norov \<yury.norov@gmail.com\>
- Date: 2026-06-22 13:11:51 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/06/17161340
- Thread: https://ratatoskr.run/linux-trace-kernel/2026/06/17158123/t.md

```text
On Mon, Jun 22, 2026 at 09:08:26AM -0400, Steven Rostedt wrote:
> On Mon, 22 Jun 2026 10:05:13 +0200
> "Christophe Leroy (CS GROUP)" [ref] 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.

I re-run compilation is a more strict environment, and the difference
is negligible.

```
