summaryrefslogtreecommitdiff
path: root/cmd
AgeCommit message (Collapse)Author
2026-03-18refactor: pass flags.Config explicitly, remove flags.Get() from library code ↵Paul Buetow
(task 429) flags.Get() (global mutable singleton) was called inside library packages, coupling them to global state and making tests fragile (DIP violation). - internal.Run() now takes an explicit flags.Config; main.go calls flags.Get() once at the CLI boundary and passes it in. - tui.Run(), RunWithTraceStarter(), RunTestFlamesWithTraceStarter() removed; callers already used the WithConfig variants directly. - tui.NewModel() preserved for test ergonomics but now uses flags.NewFlags() (pure defaults) instead of flags.Get() (global state). - Tests updated to use NewModelWithConfig() with explicit config structs instead of flags.Set*() + NewModel(), eliminating all test-level global-state mutation. flags.Get() is now called only in cmd/ior/main.go, the correct boundary. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-01flags: return parse errors instead of exiting (task 321)Paul Buetow
2026-02-21Align Go project structure and add Mage targetsPaul Buetow
Amp-Thread-ID: https://ampcode.com/threads/T-019c7f3b-1326-767b-94d5-366b91eaf712 Co-authored-by: Amp <amp@ampcode.com>
2025-04-10can serialize and deserialize to/from gobPaul Buetow
2025-04-06initial dumping in new ior data formatPaul Buetow
2025-04-01initial iordata_testPaul Buetow
2025-03-29flags is now a singletonPaul Buetow
2025-03-22SETFLPaul Buetow
2025-03-07add pprof option and rename ioriotng to iorPaul Buetow
2024-02-13can pass flags to BPFPaul Buetow
2024-02-13move program code to internal package - only leave cmd wrapper in ./cmdPaul Buetow
2024-02-13use explicit typesPaul Buetow
2024-02-13collect enter and exit times of the syscall tracepointsPaul Buetow
2024-02-11rename c filePaul Buetow
2024-02-11move go cmd to cmd/ioriotngPaul Buetow