Re: #bcc Count map.ringbuf_reserve() failures #bcc

Eelco Chaudron

On Tue, Nov 2, 2021 at 03:24 PM, Eelco Chaudron wrote:


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.



Thought I added the #bcc tag but I no longer see it :( So just in case, it's not clear, this is with BCC.

Join to automatically receive all group messages.