Flamegraphing in Rust can now be done with a new cargo
subcommand. Please check this out before embarking on the legacy journey below:
https://github.com/flamegraph-rs/flamegraph
- Install
perf
, using Brendan Gregg's guide: http://www.brendangregg.com/perf.html#Prerequisites - Install
flamegraph
from repo: