pyflame

A Ptracing profiler for Python

Fork me on Github

Pyflame

A Ptracing profiler for Python

Pyflameis a tool for generating flame graphs for Python processes. Pyflame is different from existing Python profilers because it doesn't require explicit instrumentation: it will work with any running Python process! Pyflame works by using the ptrace(2) system call to analyze the currently-executing stack trace for a Python process. Learn more by reading the Uber Engineering blog article about Pyflame.