macOS
brew install cargo-flamegraphlocal Homebrew formula metadata
sudo port install flamegraphMacPorts ports tree · devel/flamegraph/Portfile · ソース: api.github.com
brew
cargo-flamegraph のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cargo-flamegraphlocal Homebrew formula metadata
sudo port install flamegraphMacPorts ports tree · devel/flamegraph/Portfile · ソース: api.github.com
sudo apk add cargo-flamegraphAlpine Linux edge package indexes · cargo-flamegraph · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-flamegraphnixpkgs package indexes · pkgs/by-name/ca/cargo-flamegraph/package.nix · ソース: api.github.com
sudo pacman -S cargo-flamegraphArch Linux sync databases · cargo-flamegraph · ソース: geo.mirror.pkgbuild.com
sudo dnf install flamegraphFedora Rawhide package metadata · flamegraph · ソース: dl.fedoraproject.org
概要
Easy flamegraphs for Rust projects and everything else
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Config paths the tool may read or write during local use.
Cargo.toml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cargo-flamegraph | cli | グローバル実行可能ファイル | |
flamegraph | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/flamegraph-rs/flamegraph
インストールメタデータ
| パッケージキー | 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 |
| Pulse | updated |
| ビルド依存関係 | rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-flamegraph |
| 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 パッケージリンクとは分けて表示されます。
cargo-flamegraph
nix profile install nixpkgs#cargo-flamegraphcargo-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-flamegraphcargo-flamegraph-bash-completion 0.6.13-r0
Bash completions for cargo-flamegraph
https://github.com/flamegraph-rs/flamegraph
sudo apk add cargo-flamegraph-bash-completioncargo-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-doccargo-flamegraph-fish-completion 0.6.13-r0
Fish completions for cargo-flamegraph
https://github.com/flamegraph-rs/flamegraph
sudo apk add cargo-flamegraph-fish-completioncargo-flamegraph-zsh-completion 0.6.13-r0
Zsh completions for cargo-flamegraph
https://github.com/flamegraph-rs/flamegraph
sudo apk add cargo-flamegraph-zsh-completioncargo-flamegraph 0.6.13-1
Easy flamegraphs for Rust projects and everything else
https://github.com/flamegraph-rs/flamegraph
sudo pacman -S cargo-flamegraphflamegraph
sudo port install flamegraphflamegraph
nix profile install nixpkgs#flamegraphflamegraph 1.0-23.20241020git41fee1f.fc44
Stack trace visualizer
http://www.brendangregg.com/flamegraphs.html
sudo dnf install flamegraphflamegraph-demos 1.0-23.20241020git41fee1f.fc44
Demos of graphs produced by flamegraph
http://www.brendangregg.com/flamegraphs.html
sudo dnf install flamegraph-demosflamegraph-stackcollapse 1.0-23.20241020git41fee1f.fc44
Stack collapsers and support scripts
http://www.brendangregg.com/flamegraphs.html
sudo dnf install flamegraph-stackcollapseflamegraph-stackcollapse-perf 1.0-23.20241020git41fee1f.fc44
Stack collapser for perf output
http://www.brendangregg.com/flamegraphs.html
sudo dnf install flamegraph-stackcollapse-perfflamegraph-stackcollapse-php 1.0-23.20241020git41fee1f.fc44
Stack collapser for PHP
http://www.brendangregg.com/flamegraphs.html
sudo dnf install flamegraph-stackcollapse-phpソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.