jonhoo / inferno

A Rust port of FlameGraph
Other
1.64k stars 117 forks source link

support hot/cold flamegraphs #298

Open rukai opened 1 year ago

rukai commented 1 year ago

I have not actually used these before but they are supposedly very useful. Refer to https://www.brendangregg.com/FlameGraphs/hotcoldflamegraphs.html

jonhoo commented 1 year ago

That sounds like a great idea! I think this is mostly a matter of how the input is collected, and then just figuring out which frames to use red-ish/blue-ish for depending on something in the output of perf script. Would be really neat indeed!