macOS
brew install flamegraphlocal Homebrew formula metadata
sudo port install flamegraphMacPorts ports tree · devel/flamegraph/Portfile · ソース: api.github.com
brew
flamegraph のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install flamegraphlocal Homebrew formula metadata
sudo port install flamegraphMacPorts ports tree · devel/flamegraph/Portfile · ソース: api.github.com
sudo dnf install flamegraphFedora Rawhide package metadata · flamegraph · ソース: dl.fedoraproject.org
nix profile install nixpkgs#flamegraphnixpkgs package indexes · pkgs/by-name/fl/flamegraph/package.nix · ソース: api.github.com
概要
Stack trace visualizer
履歴
FlameGraph is Brendan Gregg's reference implementation for creating interactive SVG flame graphs from stack profiles. It ships the `flamegraph.pl` renderer and many `stackcollapse-*` converters that turn profiler output into folded stack input.
The official Flame Graphs page describes flame graphs as a visualization Brendan Gregg created to identify the most frequent code paths in profiled software. The GitHub project packages the open source programs used to create interactive SVGs.
The repository documents a three-step workflow: capture stacks, fold stacks, and render with `flamegraph.pl`. Its converter scripts cover profiler outputs from Linux perf, DTrace, SystemTap, FreeBSD pmcstat, Xcode Instruments, Intel VTune, Java jstack, Go pprof, gdb, and other sources.
The visualization spread from Gregg's performance-engineering work into talks, articles, operating-system profilers, open source tools, and commercial profilers. The official site says there are now over 100 other implementations and that flame graphs are available in most commercial profilers.
A major adoption path was the simplicity of the file format: profilers only need stack samples that can be collapsed into semicolon-separated folded stacks, after which the reference Perl script emits a portable interactive SVG.
The common package workflow is `perf record` or another profiler to capture stacks, `stackcollapse-*` to produce folded stacks, and `flamegraph.pl` to create an SVG. The README shows examples for Linux perf and DTrace and notes that folded input can be filtered with tools such as `grep` before rendering.
The scripts expose options for title, width, frame height, colors, palettes, inverted icicle graphs, flame charts, differential colors, and consistent palette maps.
FlameGraph is one of the canonical tiny-tools packages: mostly scripts, little ceremony, and huge influence. Package managers distribute it because one checkout provides the reference renderer plus a toolbox of converters for many profiling ecosystems.
Its significance is also cultural. The package gave systems programmers a common visual language for stack-profile data, and the folded-stack interchange format made it easy for unrelated profilers and language runtimes to interoperate.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
difffolded.pl | cli | グローバル実行可能ファイル | |
files.pl | cli | グローバル実行可能ファイル | |
flamegraph.pl | cli | グローバル実行可能ファイル | |
pkgsplit-perf.pl | cli | グローバル実行可能ファイル | |
range-perf.pl | cli | グローバル実行可能ファイル | |
stackcollapse-aix.pl | cli | グローバル実行可能ファイル | |
stackcollapse-elfutils.pl | cli | グローバル実行可能ファイル | |
stackcollapse-gdb.pl | cli | グローバル実行可能ファイル | |
stackcollapse-go.pl | cli | グローバル実行可能ファイル | |
stackcollapse-instruments.pl | cli | グローバル実行可能ファイル | |
stackcollapse-jstack.pl | cli | グローバル実行可能ファイル | |
stackcollapse-ljp.awk | cli | グローバル実行可能ファイル | |
stackcollapse-perf-sched.awk | cli | グローバル実行可能ファイル | |
stackcollapse-perf.pl | cli | グローバル実行可能ファイル | |
stackcollapse-pmc.pl | cli | グローバル実行可能ファイル | |
stackcollapse-recursive.pl | cli | グローバル実行可能ファイル | |
stackcollapse-sample.awk | cli | グローバル実行可能ファイル | |
stackcollapse-stap.pl | cli | グローバル実行可能ファイル | |
stackcollapse-vsprof.pl | cli | グローバル実行可能ファイル | |
stackcollapse-vtune.pl | cli | グローバル実行可能ファイル | |
stackcollapse.pl | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/brendangregg/FlameGraph
インストールメタデータ
| パッケージキー | brew:flamegraph |
|---|---|
| バージョン | 1.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/flamegraph |
| ホームページ | https://github.com/brendangregg/FlameGraph |
| リポジトリ | https://github.com/brendangregg/FlameGraph |
| 上流ドキュメント | https://github.com/brendangregg/FlameGraph#readme |
| ライセンス | CDDL-1.0 |
| ソースアーカイブ | https://github.com/brendangregg/FlameGraph/archive/refs/tags/v1.0.tar.gz |
| macOS 提供ライブラリ | perl |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | flamegraph |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
flamegraph
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-phpflamegraph
sudo port install flamegraphソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.