benfred / py-spy

Sampling profiler for Python programs
MIT License
12.53k stars 414 forks source link

I prefer flamegraphs to iciclegraphs. How to switch? #517

Closed martinakos closed 2 years ago

martinakos commented 2 years ago

I prefer flamegraphs to iciclegraphs. How do I change the output to be a flamegraph?

martinakos commented 2 years ago

I found how to do this. Use -f raw and then call flamegraph.pl with the raw output.