macOS
brew install flamegraphlocal Homebrew formula metadata
sudo port install flamegraphMacPorts ports tree · devel/flamegraph/Portfile · source: api.github.com
brew
Stack trace visualizer. Version 1.0 via Homebrew; verified from local package data.
install
brew install flamegraphlocal Homebrew formula metadata
sudo port install flamegraphMacPorts ports tree · devel/flamegraph/Portfile · source: api.github.com
sudo dnf install flamegraphFedora Rawhide package metadata · flamegraph · source: dl.fedoraproject.org
nix profile install nixpkgs#flamegraphnixpkgs package indexes · pkgs/by-name/fl/flamegraph/package.nix · source: api.github.com
overview
Stack trace visualizer
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
difffolded.pl | cli | global executable | |
files.pl | cli | global executable | |
flamegraph.pl | cli | global executable | |
pkgsplit-perf.pl | cli | global executable | |
range-perf.pl | cli | global executable | |
stackcollapse-aix.pl | cli | global executable | |
stackcollapse-elfutils.pl | cli | global executable | |
stackcollapse-gdb.pl | cli | global executable | |
stackcollapse-go.pl | cli | global executable | |
stackcollapse-instruments.pl | cli | global executable | |
stackcollapse-jstack.pl | cli | global executable | |
stackcollapse-ljp.awk | cli | global executable | |
stackcollapse-perf-sched.awk | cli | global executable | |
stackcollapse-perf.pl | cli | global executable | |
stackcollapse-pmc.pl | cli | global executable | |
stackcollapse-recursive.pl | cli | global executable | |
stackcollapse-sample.awk | cli | global executable | |
stackcollapse-stap.pl | cli | global executable | |
stackcollapse-vsprof.pl | cli | global executable | |
stackcollapse-vtune.pl | cli | global executable | |
stackcollapse.pl | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/brendangregg/FlameGraph
install metadata
| Package key | brew:flamegraph |
|---|---|
| Version | 1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/flamegraph |
| Homepage | https://github.com/brendangregg/FlameGraph |
| Repository | https://github.com/brendangregg/FlameGraph |
| Upstream docs | https://github.com/brendangregg/FlameGraph#readme |
| License | CDDL-1.0 |
| Source archive | https://github.com/brendangregg/FlameGraph/archive/refs/tags/v1.0.tar.gz |
| Uses from macOS | perl |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 flamegraphsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.