From 4c34b9efcd539c819648c927d7e3f53220df8ad2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 25 Feb 2026 22:58:40 +0200 Subject: Fix stream paused scrolling and apply pending TUI/probe updates --- internal/ior.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'internal/ior.go') diff --git a/internal/ior.go b/internal/ior.go index 61c5e10..a910fc0 100644 --- a/internal/ior.go +++ b/internal/ior.go @@ -262,6 +262,16 @@ func runTraceWithContext(parentCtx context.Context, started chan<- struct{}, con if configure != nil { configure(el) } + origPrintCb := el.printCb + el.printCb = func(ep *event.Pair) { + if !mgr.IsActive(ep.EnterEv.GetTraceId().Name()) { + ep.Recycle() + return + } + if origPrintCb != nil { + origPrintCb(ep) + } + } duration := time.Duration(flags.Get().Duration) * time.Second logln("Probing for", duration) ctx, cancel := context.WithTimeout(parentCtx, duration) -- cgit v1.2.3