Thread (41 messages) 41 messages, 10 authors, 2026-01-05

Re: [PATCH v4 7/7] kernel.h: drop trace_printk.h

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2026-01-03 12:58:06
Also in: dri-devel, intel-gfx, linux-modules, lkml

On Fri, Jan 02, 2026 at 07:50:59PM -0500, Joel Fernandes wrote:
On Mon, Dec 29, 2025 at 11:17:48AM -0500, Steven Rostedt wrote:
...
I use trace_printk() all the time for kernel, particularly RCU development.
One of the key usecases I have is dumping traces on panic (with panic on warn
and stop tracing on warn enabled). This is extremely useful since I can add
custom tracing and dump traces when rare conditions occur. I fixed several
bugs with this technique.

I also recommend keeping it convenient to use.
Okay, you know C, please share your opinion what header is the best to hold the
trace_printk.h to be included.

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help