Skip to content

Libbpf userspace function user_ring_buffer__submit

1.1.0

Submits a previously reserved sample into the ring buffer.

Definition

void user_ring_buffer__submit(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