~/talk

Tools and Techniques to Debug an Embedded Linux System

Talkat Open Source Summit Latin America 2022 · on Tuesday, 2022-08-23· at 15:30· ROOM 4, Virtual· [embedded-and-hardware]
links:none on file
slides:none on file

Shows how kernel oops addresses map to source using addr2line + vmlinux with debug symbols so crashes resolve to exact lines; demonstrates tracing a 4s delay where ftrace + trace-cmd reveals msleep taking 4s and visualizes it with KernelShark; reproduces a user-space hang and pinpoints the culprit with perf + uprobe collecting symbols and perf script; captures core files via ulimit, debugs remotely via kgdb/GDB over serial or gdbserver, and finds leaks with valgrind reporting malloc backtraces (e.g. cpolo.c:79).

AI-written summary · about

  1. 0:00Intro
  2. 2:13THE SIX STAGES OF DEBUGGING
  3. 3:56DEBUGGING STEP-BY-STEP
  4. 8:00TOOLS AND TECHNIQUES
  5. 11:35POST MORTEM ANALYSIS
  6. 14:47EXAMPLE: KERNEL CRASH (CONT.)
  7. 23:11EXAMPLE: KERNEL TRACING (CONT.)
  8. 29:05INTERACTIVE DEBUGGING
  9. 32:48EXAMPLE: KERNEL DEBUGGING WITH GDB (CONT.)
  10. 34:00EXAMPLE: USER SPACE DEBUGGING WITH GDB
  11. 35:37DEBUGGING FRAMEWORKS
  12. 37:32EXAMPLE: DEBUGGING KERNEL HANGS (CONT.)
  13. 39:35EXAMPLE: MEMORY LEAKS IN USER SPACE (CONT.)
  14. 42:08PROBLEMS VS TECHNIQUES (3)
~/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.