diff options
author | Martin Kelly <[email protected]> | 2023-09-25 14:50:38 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2023-09-25 16:22:42 -0700 |
commit | 3b34d2972612299fb38ad7f3c2bc62c2d03237f3 (patch) | |
tree | e5045f2680621f6877dbad69369640cd65c0c4e5 /net/lapb/lapb_subr.c | |
parent | b18db8712ecf5c880da222f6e0d7be53f0af4c4d (diff) |
libbpf: Add ring__avail_data_size
Add ring__avail_data_size for querying the currently available data in
the ringbuffer, similar to the BPF_RB_AVAIL_DATA flag in
bpf_ringbuf_query. This is racy during ongoing operations but is still
useful for overall information on how a ringbuffer is behaving.
Signed-off-by: Martin Kelly <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions