Skip to content

kernel.spec: package unstripped test_progs-no_alu32

Two bpf selftest run by test_progs-no_alu32 were failing:

./test_progs-no_alu32 -t attach_probe
[...]
libbpf: elf: failed to find symbol 'trigger_func2' in '/proc/self/exe'
test_attach_probe:FAIL:attach_uprobe_byname unexpected error: -2
[...]

./test_progs-no_alu32 -t uprobe_autoattach
[...]
libbpf: elf: failed to find symbol 'autoattach_trigger_func' in '/proc/self/exe'
libbpf: prog 'handle_uprobe_byname': failed to auto-attach: -2
test_uprobe_autoattach:FAIL:skel_attach unexpected error: -2 (errno 2)
[...]

These selftests require symbols in the test binary to pass. We already ship
kselftests/bpf/test_progs unstripped. Package the no_alu32 variant of the
test binary unstripped as well.

This was previously merged through !2422 (merged), which was later reverted due
to other changes in the MR. Adding just the good patch now and will add
the other changes in a future MR.

Signed-off-by: Felix Maurer fmaurer@redhat.com

Merge request reports