selftests/bpf: Add kprobe session test

Adding kprobe session test and testing that the entry program
return value controls execution of the return probe program.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240430112830.1184228-7-jolsa@kernel.org
This commit is contained in:
Jiri Olsa 2024-04-30 13:28:29 +02:00 • committed by Andrii Nakryiko
commit 0983b1697a
3 changed files with 120 additions and 0 deletions