~/talk

Tools and Techniques to Debug an Embedded Linux System

links:none on file
slides:none on file

Booting a tiny board over NFS and injecting bugs yields concrete recipes: recover kernel oops by using vmlinux plus addr2line to map the crash address to a source line, inspect user-space crashes by enabling core dumps with ulimit and opening the core with gdb tui, trace a 4s LED delay to an intentional msleep using ftrace/trace-cmd/kernelshark, find a netcat bind error by running strace to reveal the wrong sockaddr parameter, and use gdb + gdbserver or perf uprobes for live stepping and function-level tracing.

AI-written summary · about

  1. 0:00Start
  2. 3:08Presentation
  3. 8:07Understanding the Problem
  4. 10:43Resource Leakage
  5. 11:52Categories of Tools and Techniques
  6. 12:35Tracing Profiling
  7. 13:19Interactive Debugging
  8. 13:44Debugging Frameworks
  9. 14:19Post-Mortem Analysis
  10. 15:47Kernel Ops Message Crashing the Kernel
  11. 25:21Tui
  12. 28:40F Trace
  13. 31:56Trace Cmd
  14. 39:03Gdb
~/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.