# Installer gprof2dot avec Homebrew, dnf, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gprof2dot pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:gprof2dot
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gprof2dot
```

  Preuve: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install gprof2dot
```

  Preuve: Fedora Rawhide package metadata: gprof2dot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gprof2dot
```

  Preuve: nixpkgs package indexes: gprof2dot from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## Faits du paquet

- **Clé du paquet:** brew:gprof2dot
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2025.4.14
- **Résumé source:** Convert the output from many profilers into a Graphviz dot graph
- **Page d'accueil:** <https://github.com/jrfonseca/gprof2dot>
- **Dépôt:** <https://github.com/jrfonseca/gprof2dot>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- gprof2dot (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2025.4.14
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://formulae.brew.sh/formula/gprof2dot>
- <https://github.com/jrfonseca/gprof2dot>
- <https://pypi.org/project/gprof2dot/>
- <https://raw.githubusercontent.com/jrfonseca/gprof2dot/main/README.md>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Nix - gprof2dot: normalized package name match | nixpkgs package indexes: gprof2dot from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- dnf - gprof2dot - 1.0-0.30.D20250404gitff9cd266b9.fc45: normalized package name match | Fedora Rawhide package metadata: gprof2dot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Generate dot graphs from the output of several profilers | https://github.com/jrfonseca/gprof2dot


## Combined YAML source

View the package source record on GitHub. [combined/gprof2dot.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gprof2dot.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
