Automic VaultAutomic Vault

brew

flamegraph を Homebrew, dnf, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install flamegraph

local Homebrew formula metadata

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

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

Linux

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

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

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

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

概要

パッケージ概要

Stack trace visualizer

コマンドとエイリアス

  • difffolded.pl
  • files.pl
  • flamegraph.pl
  • pkgsplit-perf.pl
  • range-perf.pl
  • stackcollapse-aix.pl
  • stackcollapse-elfutils.pl
  • stackcollapse-gdb.pl
  • stackcollapse-go.pl
  • stackcollapse-instruments.pl
  • stackcollapse-jstack.pl
  • stackcollapse-ljp.awk
  • stackcollapse-perf-sched.awk
  • stackcollapse-perf.pl
  • stackcollapse-pmc.pl
  • stackcollapse-recursive.pl
  • stackcollapse-sample.awk
  • stackcollapse-stap.pl
  • stackcollapse-vsprof.pl
  • stackcollapse-vtune.pl
  • stackcollapse.pl

履歴

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

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.

タイムライン

  • 2013: Brendan Gregg gave an early LISA plenary talk on flame graphs.
  • 2016: The Flame Graph article was published in ACM Queue and Communications of the ACM.
  • 2017: Gregg presented an updated USENIX ATC talk, Visualizing Performance with Flame Graphs.
  • 2020s: Official site reports over 100 implementations and broad support in commercial profilers.

Related projects

  • d3-flame-graph is identified by the official site as a widely used interactive d3 implementation.
  • FlameScope is linked from the official site for time-range-oriented flame graph analysis.
  • Linux perf, DTrace, SystemTap, Xcode Instruments, VTune, jstack, and Go pprof are among the profiler ecosystems supported by converter scripts.

セキュリティ状態

リスクレベル: グリーン

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 個のプラットフォームターゲットで利用できます。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
difffolded.plcliグローバル実行可能ファイル
files.plcliグローバル実行可能ファイル
flamegraph.plcliグローバル実行可能ファイル
pkgsplit-perf.plcliグローバル実行可能ファイル
range-perf.plcliグローバル実行可能ファイル
stackcollapse-aix.plcliグローバル実行可能ファイル
stackcollapse-elfutils.plcliグローバル実行可能ファイル
stackcollapse-gdb.plcliグローバル実行可能ファイル
stackcollapse-go.plcliグローバル実行可能ファイル
stackcollapse-instruments.plcliグローバル実行可能ファイル
stackcollapse-jstack.plcliグローバル実行可能ファイル
stackcollapse-ljp.awkcliグローバル実行可能ファイル
stackcollapse-perf-sched.awkcliグローバル実行可能ファイル
stackcollapse-perf.plcliグローバル実行可能ファイル
stackcollapse-pmc.plcliグローバル実行可能ファイル
stackcollapse-recursive.plcliグローバル実行可能ファイル
stackcollapse-sample.awkcliグローバル実行可能ファイル
stackcollapse-stap.plcliグローバル実行可能ファイル
stackcollapse-vsprof.plcliグローバル実行可能ファイル
stackcollapse-vtune.plcliグローバル実行可能ファイル
stackcollapse.plcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版1.0
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v1.0

https://github.com/brendangregg/FlameGraph

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameflamegraph
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

flamegraph

nix profile install nixpkgs#flamegraph
  • normalized package name 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
dnf95%

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 提供
  • normalized package name 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
dnf95%

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 提供
  • normalized package name 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
dnf95%

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 提供
  • normalized package name 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
dnf95%

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 提供
  • normalized package name 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
dnf95%

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 提供
  • normalized package name 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
MacPorts95%

flamegraph

sudo port install flamegraph
  • normalized package name 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

ソース経路

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

このページは 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment