linux/tools/testing/selftests/bpf/bpf_testmod
Jiri Olsa fee356ede9 selftests/bpf: Add bpf_testmod_fentry_* functions
Adding 3 bpf_testmod_fentry_* functions to have a way to test
kprobe multi link on kernel module. They follow bpf_fentry_test*
functions prototypes/code.

Adding equivalent functions to all bpf_fentry_test* does not
seems necessary at the moment, could be added later.

Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20221025134148.3300700-7-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-10-25 10:14:51 -07:00
..
.gitignore
bpf_testmod-events.h bpf/selftests: Add test for writable bare tracepoint 2021-10-08 13:22:57 -07:00
bpf_testmod.c selftests/bpf: Add bpf_testmod_fentry_* functions 2022-10-25 10:14:51 -07:00
bpf_testmod.h bpf/selftests: Add test for writable bare tracepoint 2021-10-08 13:22:57 -07:00
Makefile