macOS
brew install gprof2dotlocal Homebrew formula metadata
brew
Convert the output from many profilers into a Graphviz dot graph. Version 2025.4.14 via Homebrew; verified from local package data.
install
brew install gprof2dotlocal Homebrew formula metadata
sudo dnf install gprof2dotFedora Rawhide package metadata · gprof2dot · source: dl.fedoraproject.org
nix profile install nixpkgs#gprof2dotnixpkgs package indexes · gprof2dot · source: raw.githubusercontent.com
overview
Convert the output from many profilers into a Graphviz dot graph
history
gprof2dot is a Python command-line tool by Jose Fonseca that converts profiler output into Graphviz dot call graphs. The project README and PyPI page describe support for Linux perf, Valgrind callgrind, Sysprof, Xperf, VTune, Very Sleepy, Python profilers, Java HPROF, prof/gprof, DTrace, and stackcollapse data from FlameGraph.
Its niche is performance visualization without a heavy IDE: collect profile data with an existing profiler, run gprof2dot to produce a dot graph, and render it with Graphviz.
The project began as a single Python script oriented around gprof-style output and grew into a multi-format profiler converter. The GitHub repository contains the main gprof2dot.py script, examples, schema data, tests, packaging metadata, and sample images.
The README records that the maintainer considers the tool to fulfill his needs and has limited maintenance time, which helps explain its conservative evolution: new profiler formats and compatibility work are added around a stable core rather than through a large application framework.
PyPI lists gprof2dot as a mature console package for developers, with Jose Fonseca and toutpt as maintainers and Python 3.8 or newer as the package requirement. Homebrew packages it with Graphviz and Python dependencies, and the input package-manager facts also list Fedora and Nix.
The package is adopted where profiling workflows need portable artifacts: CI reports, command-line investigations, or sharing a rendered call graph with teammates who do not have the original profiler UI installed.
The canonical workflow pipes profiler data through gprof2dot and then through Graphviz, for example perf script output into gprof2dot -f perf and dot -Tpng. The README also documents workflows for Xperf, VTune, gprof, Python profile/cProfile, Java HPROF, DTrace, stackcollapse, and graph comparison.
Options prune small nodes and edges, choose input format, pick color maps, strip C++ qualifiers, focus on roots or leaves, limit graph depth, and compare two similarly structured profiles.
gprof2dot is a durable glue package: it connects many profilers to Graphviz through a small CLI and avoids being tied to a single language runtime or profiler UI.
Package maintainers care about it because it is pure-Python-ish operationally but depends on Graphviz for the visible payoff; the package is most valuable when the executable and dot renderer are both easy to install from the same ecosystem.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gprof2dot | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/jrfonseca/gprof2dot
install metadata
| Package key | brew:gprof2dot |
|---|---|
| Version | 2025.4.14 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gprof2dot |
| Homepage | https://github.com/jrfonseca/gprof2dot |
| Repository | https://github.com/jrfonseca/gprof2dot |
| Upstream docs | https://github.com/jrfonseca/gprof2dot#readme |
| License | LGPL-3.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/bb/fd/cad13fa1f7a463a607176432c4affa33ea162f02f58cc36de1d40d3e6b48/gprof2dot-2025.4.14.tar.gz |
| Dependencies | graphviz, python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gprof2dot |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gprof2dot
nix profile install nixpkgs#gprof2dotgprof2dot 1.0-0.29.D20250404gitff9cd266b9.fc44
Generate dot graphs from the output of several profilers
https://github.com/jrfonseca/gprof2dot
sudo dnf install gprof2dotsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.