Releases: flamegraph-rs/flamegraph
Releases · flamegraph-rs/flamegraph
v0.5.1
v0.5.0
v0.4.0
- Add
-p
/--package
option (#97, thanks to @nitsky) - Correctly process profiling data in a custom output file (#95, thanks to @vitorenesduarte)
- Escape spaces when passing commands to dtrace (#100)
- Work around invalid UTF-8 in stack traces (#101, thanks to @michaelkirk)
- Modify path environment to fix benchmark profiling (#102, thanks to @arnej)
- Fix path when passing a custom target (#103, thanks to @pikajude)
v0.3.1
- Respect
PERF
andDTRACE
environment variables to support custom paths (#92, thanks to @spitfire05) - Restore the default sample rate of 997 (#90, thanks to @yoshuawuyts)
- Upgrade inferno to 0.9.8 (#87, thanks to @SoftwareApe)
- Don't optimize build-time dependencies (#89, thanks to @joshtriplett)
custom perf & dtrace invocation support
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.
v0.2.0
New Features
- Profile bench targets using
--bench
(#35) - perf/dtrace can now be run as root by passing
--root
(#37) - Profile running programs by passing their PID with
-p
/--pid
(#53) - The sampling frequency can now be set with the
-F
/--freq
parameter (#33) - The generated SVG file can now be automatically opened by passing
--open
(#45)
Bugfixes
Release 3
Flamegraph Release 2
This release includes some rudimentary support for running tests.
Flamegraph Release 1
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.