As hackers we love to understand how stuff works and how to optimize it. A very good tool to do both is software tracing. During my talk at Tuxcon last week I showed how tracing tools work and I zoomed on one particular project called pyflame. I went over the design decisions that were made when building it. After that I showed how we can use it to trace real Python programs and generate different flame graphs.
Continue reading