]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests/bpf: Add a test case for bpf_cgroup_from_id()
authorTejun Heo <tj@kernel.org>
Thu, 23 Feb 2023 01:29:58 +0000 (15:29 -1000)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 23 Feb 2023 16:33:43 +0000 (08:33 -0800)
commitd0093aaefa35b80990c05a424dad2396ba4549d7
tree26e409aa8c1cd2d4f6178cf6ec48df4143c0f521
parent332ea1f697be148bd5e66475d82b5ecc5084da65
selftests/bpf: Add a test case for bpf_cgroup_from_id()

Add a test case for bpf_cgroup_from_id.

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/Y/bBlt+tPozcQgws@slm.duckdns.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/cgrp_kfunc.c
tools/testing/selftests/bpf/progs/cgrp_kfunc_common.h
tools/testing/selftests/bpf/progs/cgrp_kfunc_success.c