Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, Nix 安装 gprof2dot

查看 gprof2dot 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gprof2dot

local Homebrew formula metadata

概览

软件包摘要

Convert the output from many profilers into a Graphviz dot graph

命令和别名

  • gprof2dot

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gprof2dotcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2025.4.14
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

gprof2dot

nix profile install nixpkgs#gprof2dot
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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