summaryrefslogtreecommitdiff
path: root/internal/flags/flags.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-04-06 21:27:31 +0300
committerPaul Buetow <paul@buetow.org>2025-04-06 21:27:31 +0300
commit6ca3491f421e8506fa3ff832a51b3a7d8a5c7ef6 (patch)
tree701d955b507929c8cb4b21c2fd40fe1ca12f3b0c /internal/flags/flags.go
parent70d0c28c24dd7b69b3d711574574f8b2a1d8ad0c (diff)
initial dumping in new ior data format
Diffstat (limited to 'internal/flags/flags.go')
-rw-r--r--internal/flags/flags.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/flags/flags.go b/internal/flags/flags.go
index c971335..91bceb3 100644
--- a/internal/flags/flags.go
+++ b/internal/flags/flags.go
@@ -33,7 +33,7 @@ type Flags struct {
// Flamegraph flags
FlamegraphEnable bool
- FlamegraphName string // If set, enables new style iorData output, TODO: remove comment once old style collapsed format is retired
+ FlamegraphName string
}
func Parse() {
@@ -57,7 +57,7 @@ func parse() {
tracepointsToExclude := flag.String("tpsExclude", "", "Comma separated list regexes for tracepoints to exclude")
flag.BoolVar(&singleton.FlamegraphEnable, "flamegraph", false, "Enable flamegraph builder")
- flag.StringVar(&singleton.FlamegraphName, "name", "", "Name of the flamegraph data output")
+ flag.StringVar(&singleton.FlamegraphName, "name", "foo", "Name of the flamegraph data output")
flag.Parse()
singleton.TracepointsToAttach = extractTracepointFlags(*tracepointsToAttach)