Re: [PATCH v2 1/2] tracing: Move non-trace_printk prototypes into trace_controls.h
From: Steven Rostedt <rostedt@kernel.org>
Date: 2026-06-22 15:21:32
Also in:
lkml
From: Steven Rostedt <rostedt@kernel.org>
Date: 2026-06-22 15:21:32
Also in:
lkml
On Mon, 22 Jun 2026 09:41:16 -0400 Yury Norov [off-list ref] wrote:
On Mon, Jun 22, 2026 at 09:07:40AM -0400, Steven Rostedt wrote:quoted
From: Steven Rostedt <rostedt@goodmis.org> In order to remove the include to trace_printk.h from kernel.h the tracing control prototypes need to be separated into their own header file as they are used in other common header files like rcu.h. There's no point in removing trace_printk.h from kernel.h if it just gets added back to other common headers. Prototypes are very cheap for the compiler and should not be an issue. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>Suggested-by: Yury Norov <yury.norov@gmail.com>
Thanks, I'll add you tag. -- Steve