jonhoo / inferno

A Rust port of FlameGraph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for collapsing source lines from -F+srcline in `perf script` outputs

harperj opened this issue · comments

This is something stackcollapse-perf.pl has supported for a while now (https://github.com/brendangregg/FlameGraph/blob/master/stackcollapse-perf.pl#L415). For some use cases this makes the resulting flame graph much more useful since it ties elements back to lines in the source code.

Seems like a reasonable thing to add! It's not something I personally have the time to implement at the moment, but would be happy to review a PR 👍