diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-24 21:15:20 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-24 21:15:20 +0200 |
| commit | 93d587a6f5ae453907de3d5556866b60bac405cb (patch) | |
| tree | e177a5758b486e75fc66552fb0874b95bb145726 /internal/flamegraph/tool.go | |
| parent | 8361fd22d45e4fbf6b24309aaa1b6d49d9010759 (diff) | |
flamegraph: improve interactive zoom and serve svg over embedded http
Diffstat (limited to 'internal/flamegraph/tool.go')
| -rw-r--r-- | internal/flamegraph/tool.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/flamegraph/tool.go b/internal/flamegraph/tool.go index 3719b0a..a83c44f 100644 --- a/internal/flamegraph/tool.go +++ b/internal/flamegraph/tool.go @@ -69,6 +69,10 @@ func (t Tool) WriteSVG() error { return nil } +func (t Tool) OutFile() string { + return t.outFile +} + func decompress(compressedFile string) (string, error) { decompressedFile := strings.TrimSuffix(compressedFile, ".zst") |
