selftests/bpf: Test BPF_KPROBE_SYSCALL macro
authorHengqi Chen <hengqi.chen@gmail.com>
Mon, 7 Feb 2022 14:31:34 +0000 (22:31 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 9 Feb 2022 05:45:06 +0000 (21:45 -0800)
commitc28748233b4736bd31b3d3c3011d42054cc738f5
tree67f2081ee7aa77a5add2eb541a8e87293b504f18
parent816ae109554756ce5e22e3aabde10161c4d0a4f7
selftests/bpf: Test BPF_KPROBE_SYSCALL macro

Add tests for the newly added BPF_KPROBE_SYSCALL macro.

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220207143134.2977852-3-hengqi.chen@gmail.com
tools/testing/selftests/bpf/prog_tests/test_bpf_syscall_macro.c
tools/testing/selftests/bpf/progs/bpf_syscall_macro.c