Libbpf userspace function user_ring_buffer__discard
Discards a previously reserved sample.
Definition
void user_ring_buffer__discard(struct user_ring_buffer *rb, void *sample);
Parameters
rb
: The user ring buffer.sample
: A reserved sample.
Usage
It is not necessary to synchronize amongst multiple producers when invoking this function.
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome