diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2023-12-14 17:13:34 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-19 18:06:47 -0800 |
| commit | f0a5056222f2cfa6d40b4c888cb6b01e8569e282 (patch) | |
| tree | 48f3b6ea5e3a22eed329e643098b62564b85e910 /scripts/gdb/linux/radixtree.py | |
| parent | 0a0ffcac92d5b41133c97d260ad1f320572783a5 (diff) | |
selftests/bpf: add freplace of BTF-unreliable main prog test
Add a test validating that freplace'ing another main (entry) BPF program
fails if the target BPF program doesn't have valid/expected func proto BTF.
We extend fexit_bpf2bpf test to allow to specify expected log message
for negative test cases (where freplace program is expected to fail to
load).
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231215011334.2307144-11-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions
