summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/cgrp_ls_attach_cgroup.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests/bpf: Add selftests for new cgroup local storageYonghong Song2022-10-251-0/+101
Add four tests for new cgroup local storage, (1) testing bpf program helpers and user space map APIs, (2) testing recursive fentry triggering won't deadlock, (3) testing progs attached to cgroups, and (4) a negative test if the bpf_cgrp_storage_get() helper key is not a cgroup btf id. Signed-off-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/r/20221026042911.675546-1-yhs@fb.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>