diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-13 10:00:43 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-13 10:00:43 +0300 |
| commit | f7ebc44d8b770132904b64996eac50e26945bc94 (patch) | |
| tree | 5818658116842106f3e610ef3804dc7d2499b3a5 /internal/eventloop_comm.go | |
| parent | 460e1ba7a7228aa324a2f36b8693951b19866c62 (diff) | |
fix: log swallowed defer mgr.Close errors for BPF resources
Wrap the bare `defer mgr.Close()` calls in runTraceWithContext (ior.go)
and runHeadlessParquet (ior_parquet_sink.go) in a closure that checks
the returned error and logs it via logln, so BPF probe-detach failures
and map-cleanup errors are no longer silently discarded.
bpfModule.Close() has no return value and is unchanged.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/eventloop_comm.go')
0 files changed, 0 insertions, 0 deletions
