Skip to main content

Module record_buffer

Module record_buffer 

Source
Expand description

RecordBuffer - bounded per-name ring buffer used by the Record syscall.

bounded TWO ways: each per-name ring has a fixed capacity (oldest entry evicted at cap), AND the table caps the number of distinct ring names with a drop counter. New ring names that arrive past max_rings are dropped with the counter ticking; existing rings always accept records (oldest-first evicted) up to the per-ring cap.

Structs§

RecordBuffer
Per-name ring buffer with two bounds.