Looking at some of the most common tools used in Linux Systems debugging. The goal of this article is to give you a solid foundation on what tools to begin looking into for debugging Linux Systems and why.
Since Python 3.12, the interpreter can run in a special mode that allows Python functions to appear in the output of the perf profiler. When this mode is enabled, the interpreter will interpose a small piece of code compiled on the fly before the execution of every Python function and it will teach perf the relationship between this piece of code and the associated Python function using perf map files. We’ll create a dummy application and use the new tools to solve a perf issue.