]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Add kprobe_multi override test
authorJiri Olsa <jolsa@kernel.org>
Thu, 7 Sep 2023 20:06:52 +0000 (22:06 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 8 Sep 2023 23:53:10 +0000 (16:53 -0700)
commit7182e56411b9a8b76797ed7b6095fc84be76dfb0
tree234f2eef597e9207a3d90bb6fa6dfb9ad10062ba
parent41bc46c12a8053a1b3279a379bd6b5e87b045b85
selftests/bpf: Add kprobe_multi override test

Adding test that tries to attach program with bpf_override_return
helper to function not within error injection list.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230907200652.926951-2-jolsa@kernel.org
tools/testing/selftests/bpf/prog_tests/kprobe_multi_test.c
tools/testing/selftests/bpf/progs/kprobe_multi_override.c [new file with mode: 0644]