summaryrefslogtreecommitdiff
path: root/internal/flags/flags.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-13 07:14:00 +0200
committerPaul Buetow <paul@buetow.org>2026-03-13 07:14:00 +0200
commitc9d22e32dc9d8d0447beb4ffa78f47a03d0cddc4 (patch)
tree18db76552b60a215a5ec9ef95a692aafc6af6564 /internal/flags/flags.go
parent2e401326d7abf687f2f67537cfe1b7f93d548305 (diff)
feat: add headless parquet recording mode
Diffstat (limited to 'internal/flags/flags.go')
-rw-r--r--internal/flags/flags.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/flags/flags.go b/internal/flags/flags.go
index 9161378..fc42210 100644
--- a/internal/flags/flags.go
+++ b/internal/flags/flags.go
@@ -44,6 +44,7 @@ type Config struct {
// Output/runtime flags
PlainMode bool
FlamegraphOutput bool
+ ParquetPath string
OutputName string
TestFlames bool
TestLiveFlames bool
@@ -170,6 +171,7 @@ func parse() error {
flag.BoolVar(&cfg.PlainMode, "plain", false, "Enable plain CSV output mode (disable TUI)")
flag.BoolVar(&cfg.FlamegraphOutput, "flamegraph", false, "Write aggregated .ior.zst output for trace/integration workflows")
+ flag.StringVar(&cfg.ParquetPath, "parquet", cfg.ParquetPath, "Write all traced syscall rows directly to a parquet file and skip the TUI")
flag.StringVar(&cfg.OutputName, "name", cfg.OutputName, "Base name for .ior.zst trace output files")
flag.BoolVar(&cfg.TestFlames, "testflames", false, "Run TUI with static synthetic flamegraph data for keyboard-navigation testing")
flag.BoolVar(&cfg.TestLiveFlames, "testliveflames", false, "Run TUI with continuously-updating synthetic flamegraph data for live keyboard-navigation testing")