Skip to content

Libbpf userspace function ring__consumer_pos

1.3.0

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