summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/ringbuf.c
diff options
context:
space:
mode:
authorMartin Kelly <martin.kelly@crowdstrike.com>2023-09-25 14:50:40 -0700
committerAndrii Nakryiko <andrii@kernel.org>2023-09-25 16:22:43 -0700
commite79abf717fce6439022547124571dfe17f2ac15a (patch)
treed677165172cc96d059ac7fc0ac61db88f7eccb05 /tools/testing/selftests/bpf/prog_tests/ringbuf.c
parentf3a01d385fbb9c76abfad8d104d08453f289e2d3 (diff)
downloadlinux-e79abf717fce6439022547124571dfe17f2ac15a.tar.gz
linux-e79abf717fce6439022547124571dfe17f2ac15a.tar.bz2
linux-e79abf717fce6439022547124571dfe17f2ac15a.zip
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
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/ringbuf.c')
0 files changed, 0 insertions, 0 deletions