Debugging Embedded Linux - Marta Rybczynska, Syslinbit
Channel: The Linux Foundation
Date: 2022-10-08

Debugging Embedded Linux - Marta Rybczynska, Syslinbit

The sad truth is that when developing an application, we spend most of the time debugging. The case of embedded Linux is even more complicated than traditional systems, because we need to take into account the hardware interactions. In this session, Marta is going to do a gentle introduction to embedded Linux debugging. It will start with tips on approach and planning, then move to tools. Getting printfs and similar reliably from different software layers will be the first topic (including the kernel, userspace, using physical serial ports and more). Then Marta will introduce embedded debuggers, with different GDB use-cases. Finally, she will cover most popular tools like strace, perf, Wireshark and share secrets of kernel special files.