aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/prog_tests/libbpf_str.c
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2023-08-27 08:28:27 -0700
committerAlexei Starovoitov <ast@kernel.org>2023-09-08 08:42:18 -0700
commitdfae1eeee9baa12e27f24a223d699326133e366b (patch)
tree8cbfb41c94536af427335ba65d1dfa2770c06c50 /tools/testing/selftests/bpf/prog_tests/libbpf_str.c
parentselftests/bpf: Remove unnecessary direct read of local percpu kptr (diff)
downloadwireguard-linux-dfae1eeee9baa12e27f24a223d699326133e366b.tar.xz
wireguard-linux-dfae1eeee9baa12e27f24a223d699326133e366b.zip
selftests/bpf: Add tests for cgrp_local_storage with local percpu kptr
Add a non-sleepable cgrp_local_storage test with percpu kptr. The test does allocation of percpu data, assigning values to percpu data and retrieval of percpu data. The de-allocation of percpu data is done when the map is freed. Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20230827152827.2001784-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/libbpf_str.c')
0 files changed, 0 insertions, 0 deletions