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

From
Steven Rostedt <rostedt@kernel.org>
Date
2026-06-22 13:08:35
Also in
dri-devel, intel-gfx, kvm, linux-arm-kernel, linux-doc, linux-ext4, linux-kbuild, linux-nfs, linux-rdma, linux-trace-kernel, linux-usb, lkml
Reply to
Christophe Leroy (CS GROUP), 2026-06-22
On Mon, 22 Jun 2026 10:05:13 +0200
"Christophe Leroy (CS GROUP)" [off-list ref] wrote:
quoted
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
Thread (19 messages) 19 messages, 8 authors, last reply 2026-06-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help