selftests/bpf: Add tests for ring__size
authorMartin Kelly <martin.kelly@crowdstrike.com>
Mon, 25 Sep 2023 21:50:41 +0000 (14:50 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 25 Sep 2023 23:22:43 +0000 (16:22 -0700)
commitbb32dd2c8fec71990bbc231aac934e1c73a17341
tree2f459d62a2e2c15d660f21b6daecba1d2292c1c1
parente79abf717fce6439022547124571dfe17f2ac15a
selftests/bpf: Add tests for ring__size

Add tests for the new API ring__size.

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-11-martin.kelly@crowdstrike.com
tools/testing/selftests/bpf/prog_tests/ringbuf.c