summaryrefslogtreecommitdiff
path: root/internal/ior.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-25 21:44:14 +0200
committerPaul Buetow <paul@buetow.org>2026-02-25 21:44:14 +0200
commitf6acb83f5b666659e34d092811fb9ff628a85494 (patch)
tree5a488bb146dba47f5c729226da07b07d340a611e /internal/ior.go
parent78dfb8ad0f844099280d102407449da0b456a84e (diff)
Add late-bound probe manager access for TUI
Diffstat (limited to 'internal/ior.go')
-rw-r--r--internal/ior.go2
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)