perf2gv man page

perf2gv — Convert perf data to Call Graph Usage:

perf2gv < PERF_OUTPUT > CALL_GRAPH.gv

perf2gv is a simple script that generates a call graph from the perf data collected on Intel machines using the Last Branch Register (LBR) hardware:

perf record -e branches:u -j any_call executable_under_test

Example:

perf record -e branches:u -j any_call example_prog
perf report --no-demangle | perf2gv > example_prog.gv

Author

William Cohen

Info

February 09, 2016 0.8 sediment