Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3
-p
/--package
option (#97, thanks to @nitsky)PERF
and DTRACE
environment variables to support custom paths (#92, thanks to @spitfire05)Support is now added for passing custom scripts to perf & dtrace using the -c
argument. This enables correlating various interesting perf metrics like branch-misses
, cache-misses
, topdown-fetch-bubbles
or anything else listed by your system's perf list
output.
example:
cargo flamegraph -c "record -e branch-misses -c 100 --call-graph lbr -g"
Binaries for this release are provided for x86_64 linux.
--bench
(https://github.com/flamegraph-rs/flamegraph/pull/35)--root
(https://github.com/flamegraph-rs/flamegraph/pull/37)-p
/--pid
(https://github.com/flamegraph-rs/flamegraph/pull/53)-F
/--freq
parameter (https://github.com/flamegraph-rs/flamegraph/pull/33)--open
(https://github.com/flamegraph-rs/flamegraph/pull/45)This release includes some rudimentary support for running tests.
A convenient flamegraph generator in a self-contained binary that allows you to generate flamegraphs as easily as you would run strace
against them, without Perl or pipes! Includes first-class Rust support for projects managed with Cargo.