Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 560 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 560 Bytes

stack-collapse

stack-collapse is a tool to produce Flame Graph compatible folded stacks from measureme data.

Example

$ # Install stack_collapse if you haven't done so yet.

$ cargo install --git https://github.com/rust-lang/measureme --branch stable stack_collapse

$ git clone https://github.com/rust-lang/regex.git

$ cd regex

$ cargo rustc -- -Z self-profile

$ stack_collapse regex-{pid}.mm_profdata

$ ../path/to/FlameGraph/flamegraph.pl out.stacks_folded > rustc.svg

$ open rustc.svg