mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-28 20:29:07 +08:00
libbpf: Add ring__size
Add ring__size to get the total size of a given ringbuffer. Signed-off-by: Martin Kelly <martin.kelly@crowdstrike.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20230925215045.2375758-10-martin.kelly@crowdstrike.com
This commit is contained in:
committed by
Andrii Nakryiko
parent
3e675ed6ab
commit
cd3fe56c75
@@ -403,5 +403,6 @@ LIBBPF_1.3.0 {
|
||||
ring__avail_data_size;
|
||||
ring__consumer_pos;
|
||||
ring__producer_pos;
|
||||
ring__size;
|
||||
ring_buffer__ring;
|
||||
} LIBBPF_1.2.0;
|
||||
|
||||
Reference in New Issue
Block a user