A trivial port of Brendan Gregg's collection of flamegraph scripts (a lot of shebang-fixes). This will allow developers to visually profile output from, e.g., ljp and dtrace to locate CPU and memory hogs in workloads. Reviewed by: swills (mentor) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D10233
10 lines
482 B
Text
10 lines
482 B
Text
a stack-trace visualizer
|
|
|
|
Flame Graphs visualize profiled code. Flame graphs can be created in three
|
|
steps: 1) Capture stacks, 2) Fold stacks, 3) flamegraph.pl.
|
|
Capturing stacks can be done with Linux perf_events, FreeBSD pmcstat (hwpmc),
|
|
DTrace, SystemTap, and many other profilers. See stackcollapse-*
|
|
converters. These stackcollapse scripts are used to fold the stacks.
|
|
Flamegraph SVGs are created using the flamegraph.pl script.
|
|
|
|
WWW: https://github.com/brendangregg/FlameGraph
|