summaryrefslogtreecommitdiff
path: root/internal/probemanager/manager_test.go
AgeCommit message (Collapse)Author
2026-05-21p7 add attach-time trace dimension gatingPaul Buetow
2026-05-13test: replace time.Sleep with deterministic synchronization in unit testsPaul Buetow
Replace three time.Sleep usages in tests with channel-based and happens-before reasoning: - internal/ior_mode_test.go: waitForStreamRows no longer polls with time.Sleep(1ms); starter() only returns after the trace goroutine closes the started channel, which happens after all printCb pushes, forming a happens-before edge that guarantees the rows are visible. - internal/probemanager/manager_test.go: the intermediate attach-count assertions (enter==1, exit==0) are now checked immediately after <-enterBlocked, which is itself a happens-before edge, rather than after a 50ms sleep. The concurrent goroutine 2 is started afterwards; the final count assertions after both goroutines complete verify the serialization invariant. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08add duration metric, tolerate missing tracepoints, ship el8 buildPaul Buetow
- Bubbles, treemap, icicle, and the live flamegraph 'b' cycle now include syscall duration (sum) as a third metric alongside events and bytes. Statsengine snapshots expose TotalLatencyNs to support this. - AttachAll takes an optional warn callback. Production passes one so older kernels that lack newer tracepoints log a warning and keep going instead of aborting startup. - Dockerfile.el8 + scripts/build-with-docker-el8.sh + mage buildDockerEl8 produce ior.el8, a static binary built against Rocky Linux 8 glibc for RHEL/Rocky/Alma 8 hosts. - README.md documents installing mage and the new el8 target.
2026-04-18fix probemanager close serialization for task 55Paul Buetow
2026-04-18fix probemanager attach race for task 55Paul Buetow
2026-03-10probemanager: surface cleanup destroy errors (task 417)Paul Buetow
2026-02-25Fix stream paused scrolling and apply pending TUI/probe updatesPaul Buetow
2026-02-25Fix probes bulk toggles and stabilize modal row renderingPaul Buetow
2026-02-25Test probe manager picks up newly added tracepointsPaul Buetow
2026-02-25Add thread-safe probe manager with attach lifecyclePaul Buetow