diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-25 21:44:14 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-25 21:44:14 +0200 |
| commit | f6acb83f5b666659e34d092811fb9ff628a85494 (patch) | |
| tree | 5a488bb146dba47f5c729226da07b07d340a611e /internal/ior.go | |
| parent | 78dfb8ad0f844099280d102407449da0b456a84e (diff) | |
Add late-bound probe manager access for TUI
Diffstat (limited to 'internal/ior.go')
| -rw-r--r-- | internal/ior.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/ior.go b/internal/ior.go index d78c351..61c5e10 100644 --- a/internal/ior.go +++ b/internal/ior.go @@ -231,6 +231,8 @@ func runTraceWithContext(parentCtx context.Context, started chan<- struct{}, con if err := mgr.AttachAll(flags.Get().ShouldIAttachTracepoint, tracepoints.List); err != nil { return err } + tui.SetProbeManager(mgr) + defer tui.SetProbeManager(nil) // 4096 channel size, minimises event drops ch := make(chan []byte, 4096) |
