[PATCH] include: linux/printk.h: allow forcing log level per file

Sascha Hauer s.hauer at pengutronix.de
Mon Feb 9 06:26:46 PST 2026


On Thu, 05 Feb 2026 18:11:43 +0100, Ahmad Fatoum wrote:
> We support defining DEBUG or VERBOSE_DEBUG to increase the log level per
> file, but we lack a way to decrease the log level.
> 
> The latter could be useful when shotgun debugging with all debug logging
> enabled, as otherwise some debug output may drown out everything else.
> 
> To support this, allow LOGLEVEL to be defined per file. We don't expect
> that any files committed to tree would do this, but it may turn out to
> be useful during debugging.
> 
> [...]

Applied, thanks!

[1/1] include: linux/printk.h: allow forcing log level per file
      https://git.pengutronix.de/cgit/barebox/commit/?id=c4657de3af99 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list