Linux Kernel Debugging and Analysis

25 chapters

Chapters

  1. Dynamic Kernel Debugging with GDB & KGDB
    Linux Kernel Debugging and Analysis · 3:19
    Dive deep into the powerful world of kernel-level debugging as you explore how to set up and use GDB and KGDB to inspect and troubleshoot the Linux kernel directly, including configuring target machines and establishing serial connections for real-time debugging control.
  2. Static Kernel Analysis with objdump & nm
    Linux Kernel Debugging and Analysis · 3:24
    Dive into the world of static kernel analysis using two powerful command-line tools, objdump and nm, which allow you to inspect and decode a kernel binary without ever needing to run it.
  3. Kernel Panic Analysis & Core Dumps
    Linux Kernel Debugging and Analysis · 4:09
    Kernel Panic Analysis & Core Dumps dives into the chaotic world of system crashes, teaching listeners how to decode stack traces, interpret register dumps, and pinpoint the root causes of kernel panics and memory corruption.
  4. SystemTap & eBPF for Kernel Instrumentation
    Linux Kernel Debugging and Analysis · 3:22
    Dive into the powerful world of dynamic kernel instrumentation with SystemTap and eBPF, learning how to probe and trace a live running system without ever modifying the source code.
  5. Lock Debugging & Deadlock Detection
    Linux Kernel Debugging and Analysis · 2:59
    Dive into the world of kernel lock debugging as you explore how to identify and resolve spinlock contention, deadlocks, and synchronization issues using powerful tools like Lockdep.
  6. Memory Debugging with KASAN & SLUB Debug
    Linux Kernel Debugging and Analysis · 3:56
    Dive into the powerful world of kernel memory debugging as KASAN and SLUB Debug are revealed as essential tools for detecting elusive memory corruption, buffer overflows, and allocation errors that can bring a Linux system to its knees.
  7. Perf Tools for Kernel Performance Profiling
    Linux Kernel Debugging and Analysis · 4:29
    Dive into the powerful `perf` toolset and discover how to profile kernel performance by sampling CPU cycles, tracing function calls, and analyzing memory access patterns and branch predictions to uncover exactly what's slowing your system down.
  8. Kernel Module Debugging Techniques
    Linux Kernel Debugging and Analysis · 3:09
    Diving into the essential toolkit for diagnosing misbehaving kernel modules, this chapter walks you through practical techniques like reading dmesg output, interpreting symbol errors, and resolving version magic mismatches that prevent modules from loading successfully.
  9. Kernel Tracing with ftrace & trace-cmd
    Linux Kernel Debugging and Analysis · 3:02
    Dive into the Linux kernel's built-in tracing infrastructure with ftrace and trace-cmd, powerful tools that let you observe function calls, system events, and kernel behavior in real time. You'll learn how to unlock deep kernel visibility and trace execution flows that would otherwise remain hidden beneath the surface.
  10. Real-time Kernel Performance Analysis
    Linux Kernel Debugging and Analysis · 4:02
    Diving into the world of real-time kernel performance, this track explores how to measure and analyze interrupt latency, walking you through the critical microseconds between hardware signals and handler execution that determine whether your system meets its timing demands.
  11. Dynamic Kernel Debugging with GDB & KGDB
    Linux Kernel Debugging and Analysis · 3:22
    Dive deep into the world of kernel-level debugging as you learn how to harness the power of GDB and KGDB to inspect and troubleshoot a crashing Linux kernel in real time, using serial connections and proper target system configuration.
  12. Kernel Panic Analysis & Core Dumps
    Linux Kernel Debugging and Analysis · 4:09
    Kernel panics and system crashes are demystified as you learn to interpret stack traces, register dumps, and core files to pinpoint exactly what caused your Linux system to fail. You'll gain the skills to analyze memory corruption and trace errant pointers back to their source.
  13. SystemTap & eBPF for Kernel Instrumentation
    Linux Kernel Debugging and Analysis · 3:32
    Dive into the powerful world of dynamic kernel instrumentation as SystemTap and eBPF reveal how to probe, trace, and monitor a live Linux system without modifying a single line of kernel code.
  14. Lock Debugging & Deadlock Detection
    Linux Kernel Debugging and Analysis · 4:04
    Dive deep into the world of kernel lock debugging as you explore how to identify and resolve deadlocks, race conditions, and spinlock contention using powerful tools like Lockdep to trace and analyze locking behavior in the Linux kernel.
  15. Perf Tools for Kernel Performance Profiling
    Linux Kernel Debugging and Analysis · 4:38
    Dive into the powerful `perf` toolkit and discover how to profile kernel performance by sampling CPU cycles, tracing function calls, and uncovering bottlenecks hidden deep within your system's hardware and memory patterns.
  16. Kernel Module Debugging Techniques
    Linux Kernel Debugging and Analysis · 3:05
    Diving into the essential toolkit for diagnosing kernel module failures, this chapter walks you through using dmesg to interpret error messages, resolving symbol conflicts, and understanding version magic alignment to get your modules loading successfully.
  17. Static Kernel Analysis with objdump & nm
    Linux Kernel Debugging and Analysis · 3:58
    Dive into the world of static kernel analysis using two powerful command-line tools, objdump and nm, to inspect a kernel binary without needing a running system.
  18. Kernel Tracing with ftrace & trace-cmd
    Linux Kernel Debugging and Analysis · 3:13
    Dive into the Linux kernel's built-in tracing infrastructure with ftrace and trace-cmd, learning how to observe function calls, system events, and kernel behavior flowing in real time.
  19. Memory Debugging with KASAN & SLUB Debug
    Linux Kernel Debugging and Analysis · 3:36
    Dive into the powerful tools Linux provides for hunting down elusive memory bugs, as KASAN and SLUB Debug are explored to detect corruption, buffer overflows, and invalid memory access before they bring your kernel to its knees.
  20. Real-time Kernel Performance Analysis
    Linux Kernel Debugging and Analysis · 3:34
    Dive into the world of real-time kernel performance analysis, where precise interrupt latency measurement and timing accuracy can make or break a system's reliability.
  21. Kernel Panic Analysis & Core Dumps
    Linux Kernel Debugging and Analysis · 3:34
    Diving deep into kernel panics and core dump analysis, this chapter walks you through decoding panic messages, stack traces, and register dumps to pinpoint exactly where and why your Linux system crashed.
  22. Perf Tools for Kernel Performance Profiling
    Linux Kernel Debugging and Analysis · 4:44
    Dive into the powerful `perf` toolkit and discover how to profile Linux kernel performance at the hardware level, uncovering CPU cycle usage, cache misses, and branch prediction failures to diagnose system bottlenecks like a pro.
  23. Memory Debugging with KASAN & SLUB Debug
    Linux Kernel Debugging and Analysis · 3:42
    Dive into two of the Linux kernel's most powerful memory debugging tools — KASAN and SLUB Debug — and learn how to detect and diagnose elusive memory corruption issues like use-after-free errors and out-of-bounds accesses before they bring your system down.
  24. Real-time Kernel Performance Analysis
    Linux Kernel Debugging and Analysis · 4:22
    Diving into the critical world of real-time kernel performance, this chapter explores how to measure and analyze interrupt latency, timing precision, and jitter to ensure time-sensitive systems respond within strict deadlines.
  25. Lock Debugging & Deadlock Detection
    Linux Kernel Debugging and Analysis · 3:20
    Dive into the world of kernel lock debugging and deadlock detection, where you'll master tools like Lockdep to identify dangerous lock contention and prevent system-crippling deadlocks before they strike.