Automic VaultAutomic Vault

brew

cargo-flamegraph を Homebrew, apk, Nix, pacman, dnf, MacPorts でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install cargo-flamegraph

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install flamegraph

MacPorts ports tree · devel/flamegraph/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add cargo-flamegraph

Alpine Linux edge package indexes · cargo-flamegraph · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#cargo-flamegraph

nixpkgs package indexes · pkgs/by-name/ca/cargo-flamegraph/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S cargo-flamegraph

Arch Linux sync databases · cargo-flamegraph · ソース: geo.mirror.pkgbuild.com

Fedora dnf確認済み · 92%
sudo dnf install flamegraph

Fedora Rawhide package metadata · flamegraph · ソース: dl.fedoraproject.org

概要

パッケージ概要

Easy flamegraphs for Rust projects and everything else

コマンドとエイリアス

  • cargo-flamegraph
  • flamegraph

履歴

プロジェクトの歴史と使われ方

cargo-flamegraph is the Cargo-facing entry point for flamegraph-rs/flamegraph, a Rust implementation of a flame graph workflow that can profile Cargo projects as well as arbitrary binaries.

Its appeal is pragmatic: it turns the usual sampler-plus-postprocessor performance workflow into `cargo flamegraph`, producing an SVG flame graph without requiring users to wire Perl scripts and shell pipelines together by hand.

プロジェクトの歴史

The flamegraph-rs repository was created in March 2019 and published the `flamegraph` crate at version 0.1.0 the same day. The README presents the project as a Rust-powered flamegraph generator with additional Cargo support, built on Jon Gjengset's Inferno Rust flamegraph library.

The project ships both `flamegraph` and `cargo-flamegraph` binaries. That split let it serve Rust developers through Cargo's subcommand convention while remaining useful for profiling non-Rust executables.

採用の歴史

Adoption followed the Rust performance-tooling path: the tool became a quick install for developers who wanted Linux `perf`, macOS tracing, or Windows collection wrapped in one Cargo-friendly command.

By 2026 the crate had hundreds of thousands of crates.io downloads and the GitHub repository had several thousand stars, which is notable for a narrow profiling utility.

使われ方

For Rust projects, users commonly run `cargo flamegraph`, which defaults to profiling a release build. The README also documents profiling specific binaries, examples, tests, benchmarks, existing processes, and arbitrary executables via `flamegraph -- /path/to/binary`.

The tool relies on platform profilers: Linux uses `perf`, macOS uses `xctrace`, and Windows support is available through the Blondie backend or DTrace when present.

パッケージ好きにとっての重要性

cargo-flamegraph is a good example of the Rust ecosystem turning a well-known systems technique into a package-manager-native workflow. Its package-nerd importance is less the flame graph idea itself and more the way it hides the fiddly collector/postprocessor chain behind Cargo subcommands.

It also connects several Rust performance projects: Cargo as the invocation layer, Inferno as the renderer, platform sampling tools as data sources, and newer alternatives such as Samply for interactive profiling.

タイムライン

  • 2019-03-07: GitHub repository created and `flamegraph` 0.1.0 published to crates.io.
  • 2019: Project launches with both `flamegraph` and `cargo-flamegraph` binaries for general and Cargo-specific profiling.
  • 2020s: README documents Linux `perf`, macOS tracing, and Windows backends, broadening the tool beyond its original Unix-like profiling niche.
  • 2026: Repository remains active and the crate has more than 800,000 crates.io downloads.

Related projects

  • Inferno is the Rust flamegraph rendering library used underneath flamegraph-rs.
  • Linux `perf`, Apple `xctrace`, Windows DTrace, and Blondie are the platform collection backends documented by the project.
  • Samply is called out by the README as a related Rust profiler with a Firefox Profiler UI.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
Cargo.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
cargo-flamegraphcliグローバル実行可能ファイル
flamegraphcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-24
マネージャ版0.6.13
マネージャ更新日2026-06-03
ローカルデータOK
上流最新
検出された最新v0.6.13

https://github.com/flamegraph-rs/flamegraph

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cargo-flamegraph
バージョン0.6.13
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/cargo-flamegraph
ホームページhttps://github.com/flamegraph-rs/flamegraph
リポジトリhttps://github.com/flamegraph-rs/flamegraph
上流ドキュメントhttps://github.com/flamegraph-rs/flamegraph#readme
ライセンスApache-2.0 OR MIT
ソースアーカイブhttps://github.com/flamegraph-rs/flamegraph/archive/refs/tags/v0.6.13.tar.gz
最終更新2026-06-03T12:47:55Z
Pulseupdated
ビルド依存関係rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-flamegraph
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%

cargo-flamegraph

nix profile install nixpkgs#cargo-flamegraph
  • normalized package name match
  • 一致条件: Cargo Flamegraph
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-flamegraph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-flamegraph 0.6.13-r0

Easy flamegraphs for Rust projects and everything else, without Perl or pipes

https://github.com/flamegraph-rs/flamegraph

sudo apk add cargo-flamegraph
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-flamegraph
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Cargo Flamegraph
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-flamegraph from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cargo-flamegraph-bash-completion 0.6.13-r0

Bash completions for cargo-flamegraph

https://github.com/flamegraph-rs/flamegraph

sudo apk add cargo-flamegraph-bash-completion
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-flamegraph
  • normalized package name match
  • 一致条件: Cargo Flamegraph
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-flamegraph-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cargo-flamegraph-doc 0.6.13-r0

Easy flamegraphs for Rust projects and everything else, without Perl or pipes (documentation)

https://github.com/flamegraph-rs/flamegraph

sudo apk add cargo-flamegraph-doc
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-flamegraph
  • normalized package name match
  • 一致条件: Cargo Flamegraph
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-flamegraph-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cargo-flamegraph-fish-completion 0.6.13-r0

Fish completions for cargo-flamegraph

https://github.com/flamegraph-rs/flamegraph

sudo apk add cargo-flamegraph-fish-completion
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-flamegraph
  • normalized package name match
  • 一致条件: Cargo Flamegraph
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-flamegraph-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cargo-flamegraph-zsh-completion 0.6.13-r0

Zsh completions for cargo-flamegraph

https://github.com/flamegraph-rs/flamegraph

sudo apk add cargo-flamegraph-zsh-completion
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: cargo-flamegraph
  • normalized package name match
  • 一致条件: Cargo Flamegraph
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-flamegraph-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

cargo-flamegraph 0.6.13-1

Easy flamegraphs for Rust projects and everything else

https://github.com/flamegraph-rs/flamegraph

sudo pacman -S cargo-flamegraph
  • License: MIT AND Apache-2.0
  • Architecture: x86_64
  • 4 依存関係
  • normalized package name match
  • 一致条件: Cargo Flamegraph
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-flamegraph from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts94%

flamegraph

sudo port install flamegraph
  • installed executable or alias match
  • 一致条件: Flamegraph
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/flamegraph/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

flamegraph

nix profile install nixpkgs#flamegraph
  • installed executable or alias match
  • 一致条件: Flamegraph
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fl/flamegraph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf92%

flamegraph 1.0-23.20241020git41fee1f.fc44

Stack trace visualizer

http://www.brendangregg.com/flamegraphs.html

sudo dnf install flamegraph
  • License: CDDL-1.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: flamegraph
  • 2 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Flamegraph
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flamegraph from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

flamegraph-demos 1.0-23.20241020git41fee1f.fc44

Demos of graphs produced by flamegraph

http://www.brendangregg.com/flamegraphs.html

sudo dnf install flamegraph-demos
  • License: CDDL-1.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: flamegraph
  • 1 提供
  • installed executable or alias match
  • 一致条件: Flamegraph
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flamegraph-demos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

flamegraph-stackcollapse 1.0-23.20241020git41fee1f.fc44

Stack collapsers and support scripts

http://www.brendangregg.com/flamegraphs.html

sudo dnf install flamegraph-stackcollapse
  • License: CDDL-1.0 AND Apache-2.0 AND BSD-2-Clause AND GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: flamegraph
  • 6 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Flamegraph
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flamegraph-stackcollapse from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

flamegraph-stackcollapse-perf 1.0-23.20241020git41fee1f.fc44

Stack collapser for perf output

http://www.brendangregg.com/flamegraphs.html

sudo dnf install flamegraph-stackcollapse-perf
  • License: CDDL-1.0 AND Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: flamegraph
  • 5 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Flamegraph
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flamegraph-stackcollapse-perf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

flamegraph-stackcollapse-php 1.0-23.20241020git41fee1f.fc44

Stack collapser for PHP

http://www.brendangregg.com/flamegraphs.html

sudo dnf install flamegraph-stackcollapse-php
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: flamegraph
  • 2 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Flamegraph
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flamegraph-stackcollapse-php from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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