Libbpf userspace function ring__producer_pos
returns the current producer position in the given ring buffer.
Definition
unsigned long ring__producer_pos(const struct ring *r);
Parameters
r
: A ring buffer object.
Return
The current producer position.
Usage
Docs could be improved
This part of the docs is incomplete, contributions are very welcome
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome