~/talk

Linux Kernel Debug And Profiling Tools

links:none on file
slides:none on file

Overview of kernel debugging and profiling tools with concrete tradeoffs and examples: printk and debugfs for simple logs; tracepoints near-zero overhead when not enabled and expose ring-buffer events; kprobes/caprobes modify binaries at runtime and kprobes need debug symbols and can impose high overhead when active; ftrace supports function timing and ftrace supports early-boot tracing via kernel command line; perf samples hardware PMU counters for cache misses/cycles; lttng, systemtap and kgdb compile or register probes into modules and work for live or postmortem analysis.

AI-written summary · about

  1. 0:00Introduction
  2. 1:31Definitions
  3. 3:03Kernel Features printk
  4. 4:53Kernel Features DebugFS
  5. 6:36Kernel Features Dynamic Debug
  6. 8:59Kernel Features Probes
  7. 11:27Kernel Features Static probes
  8. 15:09Kernel Features Tracepoints
  9. 17:39Kernel Features Trace events
  10. 19:43Kernel Features Dynamic probes
  11. 21:41Kernel Features Kprobes
  12. 22:35Kernel Features Perf events
  13. 25:35Tracers Ftrace (Function Tracer)
  14. 30:06Tracers Trace-cmd & Kernelshark
  15. 32:58Debuggers KGDB
  16. 35:37Debuggers KGTP
  17. 36:15Profilers Perf
  18. 43:36Miscellaneous SystemTap
  19. 46:19Miscellaneous System Tap
  20. 48:10Questions & Answers
  21. 49:58Miscellaneous Kexec & Crash
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.