diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-24 22:55:26 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-24 22:55:26 +0200 |
| commit | 78e9de77d8c443fe8dbe560b5ccb168a6142eb55 (patch) | |
| tree | b18f0e45c2bac79b36466ca291ba118a3b8b0f78 /internal/flamegraph/nativesvg.go | |
| parent | 6a761bac0d866f2f3a3b224b603446630803e362 (diff) | |
add docs
Diffstat (limited to 'internal/flamegraph/nativesvg.go')
| -rw-r--r-- | internal/flamegraph/nativesvg.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/flamegraph/nativesvg.go b/internal/flamegraph/nativesvg.go index 831ffed..89a3e6b 100644 --- a/internal/flamegraph/nativesvg.go +++ b/internal/flamegraph/nativesvg.go @@ -8,6 +8,12 @@ import ( "strings" ) +// NativeSVG generates interactive flamegraph SVGs directly from .ior.zst data files. +// +// Flamegraphs are generated natively by ior from .ior.zst data files; no external +// flamegraph tool is required. The CLI typically drives this via the -ior flag, +// which reads trace data, aggregates it into a trie of stack frames (e.g. pid,path,tracepoint) +// and renders a self-contained SVG that can be viewed in a browser. type NativeSVG struct { fields []string countField string |
