From dd73ed4678a3623f1c71ceb88aec481de5b9d64e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 11 Apr 2025 22:26:00 +0300 Subject: jo --- internal/flamegraph/tool.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'internal/flamegraph/tool.go') diff --git a/internal/flamegraph/tool.go b/internal/flamegraph/tool.go index 6840e35..0ce33e3 100644 --- a/internal/flamegraph/tool.go +++ b/internal/flamegraph/tool.go @@ -11,10 +11,13 @@ import ( "github.com/DataDog/zstd" ) +// Tool represents a utility for generating flamegraphs. +// It contains the path to the flamegraph tool, the arguments to be passed to it, +// and the output file where the generated flamegraph will be stored. type Tool struct { - flamegraphTool string - args []string - outFile string + flamegraphTool string // Path to the flamegraph tool executable. + args []string // Arguments to be passed to the flamegraph tool. + outFile string // Path to the output file where the flamegraph will be saved. } func NewTool(collapsedFile string) (Tool, error) { -- cgit v1.2.3