Libbpf userspace function ring__consumer_pos
Returns the current consumer position in the given ring buffer.
Definition
unsigned long ring__consumer_pos(const struct ring *r);
Parameters
r
: A ring buffer object.
Return
The current consumer 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