selftests/bpf: Add fentry/fexit/fmod_ret selftest for kernel module

Add new selftest checking attachment of fentry/fexit/fmod_ret (and raw
tracepoint ones for completeness) BPF programs to kernel module function.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201203204634.1325171-15-andrii@kernel.org
This commit is contained in:
Andrii Nakryiko 2020-12-03 12:46:34 -08:00 • committed by Alexei Starovoitov
commit 1e38abefcf
2 changed files with 119 additions and 0 deletions