Automic VaultAutomic Vault

brew

Install gprof2dot with Homebrew, dnf, Nix

Convert the output from many profilers into a Graphviz dot graph. Version 2025.4.14 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gprof2dot

local Homebrew formula metadata

overview

Package summary

Convert the output from many profilers into a Graphviz dot graph

Commands and aliases

  • gprof2dot

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2025: PyPI records release 2025.4.14 and Python >=3.8 metadata.
  • 2026: Homebrew metadata packages gprof2dot with Graphviz and Python dependencies.

Related projects

  • Graphviz is the rendering backend for dot output.
  • xdot.py is recommended by the README as an interactive viewer for generated graphs.
  • FlameGraph stackcollapse data is a related input format, bridging gprof2dot with flame-graph tooling.
  • Linux perf, Valgrind callgrind, gprof, DTrace, VTune, Xperf, Sysprof, Python profilers, and Java HPROF are related profiler sources.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gprof2dotcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2025.4.14
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/jrfonseca/gprof2dot

install metadata

Package metadata

Package keybrew:gprof2dot
Version2025.4.14
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gprof2dot
Homepagehttps://github.com/jrfonseca/gprof2dot
Repositoryhttps://github.com/jrfonseca/gprof2dot
Upstream docshttps://github.com/jrfonseca/gprof2dot#readme
LicenseLGPL-3.0-or-later
Source archivehttps://files.pythonhosted.org/packages/bb/fd/cad13fa1f7a463a607176432c4affa33ea162f02f58cc36de1d40d3e6b48/gprof2dot-2025.4.14.tar.gz
Dependenciesgraphviz, python@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegprof2dot
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gprof2dot

nix profile install nixpkgs#gprof2dot
  • normalized package name match
  • Matched by: Gprof2dot
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: gprof2dot from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
dnf95%

gprof2dot 1.0-0.29.D20250404gitff9cd266b9.fc44

Generate dot graphs from the output of several profilers

https://github.com/jrfonseca/gprof2dot

sudo dnf install gprof2dot
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: gprof2dot
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gprof2dot
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gprof2dot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment