# gprof2dot を Homebrew, dnf, Nix でインストール

gprof2dot のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gprof2dot
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install gprof2dot
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:gprof2dot
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2025.4.14
- **ソース概要:** Convert the output from many profilers into a Graphviz dot graph
- **ホームページ:** <https://github.com/jrfonseca/gprof2dot>
- **リポジトリ:** <https://github.com/jrfonseca/gprof2dot>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gprof2dot (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2025.4.14
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

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


## ソース

- 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
