diff options
| author | Hangbin Liu <[email protected]> | 2023-02-24 06:13:42 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2023-02-25 01:34:09 +0000 |
| commit | b61987d37cbee3c44e80304598c60b163553926b (patch) | |
| tree | d8285e29e6fd7154ebcb172f765effdc9538fb02 /tools/testing/selftests/bpf/prog_tests/global_func_args.c | |
| parent | selftests/bpf: Add a test case for bpf_cgroup_from_id() (diff) | |
| download | kernel-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/global_func_args.c')
0 files changed, 0 insertions, 0 deletions
