Tagged articles
1 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Oct 19, 2022 · Fundamentals

Mastering Linux Kernel Debugging: Tools, Configurations, and Practical Tips

This guide explains why kernel debugging is challenging and walks through preparation steps, essential kernel configuration options, useful macros like BUG() and WARN(), logging with printk(), memory‑debugging utilities such as MEMWATCH, YAMD, Electric Fence and strace, handling OOPS messages, dynamic debugging, and setting up kdump/kexec for crash dumps.

BUG macroKDUMPMemory Debugging
0 likes · 28 min read
Mastering Linux Kernel Debugging: Tools, Configurations, and Practical Tips