summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/ringbuf.c
diff options
context:
space:
mode:
authorMartin Kelly <martin.kelly@crowdstrike.com>2023-09-26 00:50:36 +0300
committerAndrii Nakryiko <andrii@kernel.org>2023-09-26 02:22:42 +0300
commit059a8c0c5acd37ecfa64f1832e8765d30f253ce8 (patch)
tree121e16ee53c4f30fdcac2e5452510c153c6ce7aa /tools/testing/selftests/bpf/prog_tests/ringbuf.c
parentc1ad2e47f97c6d95e52be0c2a68b23fc99214734 (diff)
downloadlinux-059a8c0c5acd37ecfa64f1832e8765d30f253ce8.tar.xz
libbpf: Add ring__producer_pos, ring__consumer_pos
Add APIs to get the producer and consumer position for 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-6-martin.kelly@crowdstrike.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/ringbuf.c')
0 files changed, 0 insertions, 0 deletions