HACKER Q&A
📣 phlipski

How to Learn Linux Debugging?


What is a good way to learn how to debug Linux systems? There are plenty of tutorials to learn how to program but I've struggled to find good tutorials that teach effective ways to debug software in a Linux system.

For example - If I'm trying to help debug the bring-up of a new LCD display (as part of an embedded Linux system) the issue could be in the MIPI DSI driver, the Display driver, the GPU driver, gstreamer, etc...

Is there a "best practices" for systematically attacking Linux system issues?


  👤 limmeau Accepted Answer ✓
Just learn a tool at a time. Ftrace, for example, is a nice tool to trace kernel events. It is not the coolest kid on the block, but simple enough for basic things.