aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/mptcp.c
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2023-02-24 14:13:42 +0800
committerMartin KaFai Lau <martin.lau@kernel.org>2023-02-24 17:34:09 -0800
commitb61987d37cbee3c44e80304598c60b163553926b (patch)
treed8285e29e6fd7154ebcb172f765effdc9538fb02 /tools/testing/selftests/bpf/prog_tests/mptcp.c
parentselftests/bpf: Add a test case for bpf_cgroup_from_id() (diff)
downloadlinux-b61987d37cbee3c44e80304598c60b163553926b.tar.gz
linux-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 <martin.lau@linux.dev> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Link: https://lore.kernel.org/r/20230224061343.506571-2-liuhangbin@gmail.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/mptcp.c')
0 files changed, 0 insertions, 0 deletions