aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/cgroup_attach_override.c
diff options
context:
space:
mode:
authorHangbin Liu <[email protected]>2023-02-24 06:13:42 +0000
committerMartin KaFai Lau <[email protected]>2023-02-25 01:34:09 +0000
commitb61987d37cbee3c44e80304598c60b163553926b (patch)
treed8285e29e6fd7154ebcb172f765effdc9538fb02 /tools/testing/selftests/bpf/prog_tests/cgroup_attach_override.c
parentselftests/bpf: Add a test case for bpf_cgroup_from_id() (diff)
downloadkernel-b61987d37cbee3c44e80304598c60b163553926b.tar.gz
kernel-b61987d37cbee3c44e80304598c60b163553926b.zip
selftests/bpf: move SYS() macro into the test_progs.h
A lot of tests defined SYS() macro to run system calls with goto label. Let's move this macro to test_progs.h and add configurable "goto_label" as the first arg. Suggested-by: Martin KaFai Lau <[email protected]> Signed-off-by: Hangbin Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup_attach_override.c')
0 files changed, 0 insertions, 0 deletions