summaryrefslogtreecommitdiff
path: root/internal/flamegraph/tool.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/flamegraph/tool.go')
-rw-r--r--internal/flamegraph/tool.go4
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")