BSD Ports

graphics/gprof2dot 2025.04.14 OpenBSD

convert profilers output into a dot(1) graph

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
graphics, lang/python

Description

This is a Python script to convert the output from many profilers into a dot graph.

It has the following features:

  • reads output from:
  • Linux perf
  • Valgrind's callgrind tool
  • oprofile
  • sysprof
  • xperf
  • VTune Amplifier XE
  • Very Sleepy
  • python profilers
  • Java's HPROF
  • prof, gprof
  • prunes nodes and edges below a certain threshold;
  • uses an heuristic to propagate time inside mutually recursive functions;
  • uses color efficiently to draw attention to hot-spots;
  • works on any platform where Python and graphviz is available, i.e, virtually anywhere.

Install

Binary package:

pkg_add gprof2dot

From the ports tree:

cd /usr/ports/graphics/gprof2dot && make install

Dependencies

Build dependencies 5
Run dependencies 2

No port depends on this one.