aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/cgroup_mprog_opts.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2025-06-06 16:31:51 +0000
committerAndrii Nakryiko <[email protected]>2025-06-09 23:28:30 +0000
commitc1bb68656bc18fd59bbd630fd1b5a86875b464b3 (patch)
treea38184015a339e3ce0a9ac3bb517aeb09c76ca9c /tools/testing/selftests/bpf/prog_tests/cgroup_mprog_opts.c
parentlibbpf: Support link-based cgroup attach with options (diff)
downloadkernel-c1bb68656bc18fd59bbd630fd1b5a86875b464b3.tar.gz
kernel-c1bb68656bc18fd59bbd630fd1b5a86875b464b3.zip
selftests/bpf: Move some tc_helpers.h functions to test_progs.h
Move static inline functions id_from_prog_fd() and id_from_link_fd() from prog_tests/tc_helpers.h to test_progs.h so these two functions can be reused for later cgroup mprog selftests. Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup_mprog_opts.c')
0 files changed, 0 insertions, 0 deletions