Mentorship Session: Linux Kernel Debugging Tricks of the Trade
Channel: The Linux Foundation
Date: 2023-09-12

Mentor: Joel Fernandes, Staff Software Engineer, Google

In this enlightening webinar, "Linux Kernel Debugging Tricks of the Trade," participants will be introduced to the intricate world of Linux Kernel debugging. Drawing insights from Joel's experience working on the kernel, the session will explore various debugging techniques, tools, and best practices.

We will delve into enabling debug information, ASLR issues, dumping traces to console on panic, and triggering kernel panics when an issue happens. We will also discuss RCU stall timeouts, shot-gun debugging, dumping the stack to understand the call path better, and figuring out where kernel crashes happen in C code. Finally, avoiding the need to debug the kernel is just as useful so as a bonus we give away Joel's "secrets" on less-error-prone and speedier kernel development using vscode.

Whether you're a seasoned kernel developer or just starting your journey in Linux Kernel development, this webinar will equip you with valuable tricks and insights to enhance your debugging skills.