Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: How to Learn Linux Debugging?
3 points by phlipski on Feb 15, 2022 | hide | past | favorite | 1 comment
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?




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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: