Porting flamegraph to Rust — part 2

Profile Picture
Published on Feb 2, 2019🌏 Public

In this stream, we're continuing our work to port the flamegraph profiling tool to Rust: http://www.brendangregg.com/flamegrap.... In this part, we focused on the actual flame graph generation (that is, the SVG), and thus on porting the flamegraph.pl script that does all the rendering: https://github.com/brendangregg/Flame.... Towards the end, we have a port of that script that is renders complete flame graphs pretty much identically to the original flamegraph tool, modulo some minor pixel differences and the lack of a color scheme! You can see the repository for the Rust port at https://github.com/jonhoo/inferno, where I'll add issues for all the features that are still remaining. Most of them are pretty minor, but may present interesting starting points if you want to practice your Rust! Live version with chat history here: https://youtu.be/nyXzYc9msvs