Tools and Techniques to Debug an Embedded Linux System
Talkat Embedded Linux Conference @ Open Source Summit North America 2022 · on Wednesday, 2022-06-22· at 13:45· Griffin Hall (Level 2), JW Marriott Austin, 110 E 2nd Street Austin, TX 78701·
summary
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
chapters (14)
- 0:00Start
- 3:08Presentation
- 8:07Understanding the Problem
- 10:43Resource Leakage
- 11:52Categories of Tools and Techniques
- 12:35Tracing Profiling
- 13:19Interactive Debugging
- 13:44Debugging Frameworks
- 14:19Post-Mortem Analysis
- 15:47Kernel Ops Message Crashing the Kernel
- 25:21Tui
- 28:40F Trace
- 31:56Trace Cmd
- 39:03Gdb
related talks
46mTools and Techniques to Debug an Embedded Linux System
38mDebugging Embedded Linux
39mHow to Investigate Issues on Linux Embedded System?
42mUsing Yocto to Debug Embedded Device Crashes
42mUsing Yocto to Debug Embedded Device Crashes
39mFrom Hardware to Linux
37mDebugging & Tracing and More Between Linux and RTOS on Heterogeneous ARM SoC
49mEmbedded Linux BOF
