Count map.ringbuf_reserve() failures


Eelco Chaudron
 

Hi,

Was wondering if there is a way to count the number of times map.ringbuf_reserve() fails for a BPF_RINGBUF_OUTPUT buffer?

This way I can get notified in userspace that I have missed events, and might need to increase the buffer size.

Cheers,

Eelco

Join iovisor-dev@lists.iovisor.org to automatically receive all group messages.