Deepin Linux
Deepin Linux
Jan 8, 2026 · Backend Development

How to Dynamically Enable dev_dbg in the Linux Kernel Without Reboot

This article explains the purpose of dev_info, dev_dbg, and dev_err in Linux kernel logging, shows how to view their output, and provides step‑by‑step methods—including dynamic debug, kernel configuration, and module parameters—to enable or disable dev_dbg at runtime without recompiling or rebooting.

Driver developmentLinux kerneldev_dbg
0 likes · 26 min read
How to Dynamically Enable dev_dbg in the Linux Kernel Without Reboot
ITPUB
ITPUB
Jul 7, 2016 · Fundamentals

Mastering Linux printk: Levels, Macros, and Kernel Logging Mechanics

This article provides a comprehensive guide to Linux's printk system, covering its ring‑buffer design, log level definitions, early boot usage, helper macros, rate‑limiting techniques, kernel‑side implementation details, and ways to access logs from user space.

C++Debuggingkernel logging
0 likes · 14 min read
Mastering Linux printk: Levels, Macros, and Kernel Logging Mechanics