Skip to content

fix(memtrack): handle dropped events better#321

Open
not-matthias wants to merge 2 commits intomainfrom
cod-2577-detect-or-prevent-dropped-events-in-memtrack-ringbuffer
Open

fix(memtrack): handle dropped events better#321
not-matthias wants to merge 2 commits intomainfrom
cod-2577-detect-or-prevent-dropped-events-in-memtrack-ringbuffer

Conversation

@not-matthias
Copy link
Copy Markdown
Member

No description provided.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 28, 2026

Merging this PR will not alter performance

✅ 4 untouched benchmarks


Comparing cod-2577-detect-or-prevent-dropped-events-in-memtrack-ringbuffer (51aaf98) with main (c227c9f)

Open in CodSpeed

@not-matthias not-matthias force-pushed the cod-2577-detect-or-prevent-dropped-events-in-memtrack-ringbuffer branch from c673c68 to 63e9074 Compare April 29, 2026 09:25
Add a single-slot BPF array that bpf_ringbuf_reserve() failures
atomically increment. Userspace reads it after the run completes and
bails with a guidance message if any events were dropped, since a
truncated trace would silently misreport memory usage.
@not-matthias not-matthias force-pushed the cod-2577-detect-or-prevent-dropped-events-in-memtrack-ringbuffer branch from 63e9074 to 51aaf98 Compare April 29, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant