perf2gv - Man Page

Name

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

Jan 27, 2024 0.8 sediment