macOS
brew install gprof2dotlocal Homebrew formula metadata
安装
brew install gprof2dotlocal Homebrew formula metadata
sudo dnf install gprof2dotFedora Rawhide package metadata · gprof2dot · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gprof2dotnixpkgs package indexes · gprof2dot · 来源: raw.githubusercontent.com
概览
Convert the output from many profilers into a Graphviz dot graph
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gprof2dot | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/jrfonseca/gprof2dot
安装元数据
| 软件包键 | brew:gprof2dot |
|---|---|
| 版本 | 2025.4.14 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gprof2dot |
| 主页 | https://github.com/jrfonseca/gprof2dot |
| 仓库 | https://github.com/jrfonseca/gprof2dot |
| 上游文档 | https://github.com/jrfonseca/gprof2dot#readme |
| 许可证 | LGPL-3.0-or-later |
| 源码归档 | https://files.pythonhosted.org/packages/bb/fd/cad13fa1f7a463a607176432c4affa33ea162f02f58cc36de1d40d3e6b48/gprof2dot-2025.4.14.tar.gz |
| 依赖 | graphviz, python@3.14 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 gprof2dot来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.