mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
3c181cf5f9
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
11 lines
482 B
Plaintext
11 lines
482 B
Plaintext
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
|