gprof2dot.py is a Python script to convert the output from profilers such as gprof, oprofile, or Python profilers into a dot graph. It can correctly parse C++ template function names, allows you to prune nodes and edges below a certain threshold, handles mutually recursive functions, uses color efficiently to draw attention to hot-spots, and works on any platform where graphviz and Python are available, i.e. virtually anywhere.
License: GNU Lesser General Public License (LGPL)
Changes:
An heuristic to propagate time inside recursive function cycles was added, allowing one to visualize the critical time path for highly recursive code. Several bugfixes and enhancements were made to oprofile output parsing.
More...