On Fri, Oct 9, 2015 at 2:24 PM, Brendan Gregg <brendan.d.gr...@gmail.com> wrote: > > G'Day, > > Maybe someone would like to code this (if not I hope to find the > time); perf report already has the capability to print captured stacks > as a call tree. I'd like a new output mode: folded. > > Flame graphs[1] consume folded stacks. Eg: > > # git clone https://github.com/brendangregg/FlameGraph > # cd FlameGraph > # perf record -F 99 -a -g -- sleep 60 > # perf script | ./stackcollapse-perf.pl | ./flamegraph.pl > out.perf-folded > flame.svg
Typo; that last step should just be: # perf script | ./stackcollapse-perf.pl | ./flamegraph.pl > flame.svg Brendan -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html