[15:46:39][root@168.mr1370_220926_1234.el9.ppc64le]# './test_progs -t get_func_args_test' test_get_func_args_test:PASS:get_func_args_test__open_and_load 0 nsec libbpf: prog 'test1': failed to attach: ERROR: strerror_r(-524)=22 libbpf: failed to auto-attach program 'test1': -524 test_get_func_args_test:FAIL:get_func_args_test__attach unexpected error: -524 (errno 524) #58 get_func_args_test:FAIL All error logs: #58 get_func_args_test:FAIL test_get_func_args_test:PASS:get_func_args_test__open_and_load 0 nsec libbpf: prog 'test1': failed to attach: ERROR: strerror_r(-524)=22 libbpf: failed to auto-attach program 'test1': -524 test_get_func_args_test:FAIL:get_func_args_test__attach unexpected error: -524 (errno 524) Summary: 0/0 PASSED, 0 SKIPPED, 1 FAILED :: [ FAIL ] :: Command './test_progs -t get_func_args_test' (Expected 0, got 1, score 19) [15:46:39][root@168.mr1370_220926_1234.el9.ppc64le]# './test_progs -vv -t get_func_args_test' bpf_testmod.ko is already unloaded. Loading bpf_testmod.ko... Successfully loaded bpf_testmod.ko. libbpf: loading object 'get_func_args_test' from buffer libbpf: elf: section(2) .symtab, size 1032, link 1, flags 0, type=2 libbpf: elf: section(3) fentry/bpf_fentry_test1, size 408, link 0, flags 6, type=1 libbpf: sec 'fentry/bpf_fentry_test1': found program 'test1' at insn offset 0 (0 bytes), code size 51 insns (408 bytes) libbpf: elf: section(4) fexit/bpf_fentry_test2, size 584, link 0, flags 6, type=1 libbpf: sec 'fexit/bpf_fentry_test2': found program 'test2' at insn offset 0 (0 bytes), code size 73 insns (584 bytes) libbpf: elf: section(5) fmod_ret/bpf_modify_return_test, size 568, link 0, flags 6, type=1 libbpf: sec 'fmod_ret/bpf_modify_return_test': found program 'fmod_ret_test' at insn offset 0 (0 bytes), code size 71 insns (568 bytes) libbpf: elf: section(6) fexit/bpf_modify_return_test, size 592, link 0, flags 6, type=1 libbpf: sec 'fexit/bpf_modify_return_test': found program 'fexit_test' at insn offset 0 (0 bytes), code size 74 insns (592 bytes) libbpf: elf: section(7) license, size 4, link 0, flags 3, type=1 libbpf: license of get_func_args_test is GPL libbpf: elf: section(8) .bss, size 32, link 0, flags 3, type=8 libbpf: elf: section(9) .relfentry/bpf_fentry_test1, size 16, link 2, flags 40, type=9 libbpf: elf: section(10) .relfexit/bpf_fentry_test2, size 16, link 2, flags 40, type=9 libbpf: elf: section(11) .relfmod_ret/bpf_modify_return_test, size 16, link 2, flags 40, type=9 libbpf: elf: section(12) .relfexit/bpf_modify_return_test, size 16, link 2, flags 40, type=9 libbpf: elf: section(13) .BTF, size 1952, link 0, flags 0, type=1 libbpf: elf: section(14) .BTF.ext, size 1864, link 0, flags 0, type=1 libbpf: looking for externs among 43 symbols... libbpf: collected 0 externs total libbpf: map 'get_func.bss' (global data): at sec_idx 8, offset 0, flags 400. libbpf: map 0 is "get_func.bss" libbpf: sec '.relfentry/bpf_fentry_test1': collecting relocation for section(3) 'fentry/bpf_fentry_test1' libbpf: sec '.relfentry/bpf_fentry_test1': relo #0: insn #6 against 'test1_result' libbpf: prog 'test1': found data map 0 (get_func.bss, sec 8, off 0) for insn 6 libbpf: sec '.relfexit/bpf_fentry_test2': collecting relocation for section(4) 'fexit/bpf_fentry_test2' libbpf: sec '.relfexit/bpf_fentry_test2': relo #0: insn #6 against 'test2_result' libbpf: prog 'test2': found data map 0 (get_func.bss, sec 8, off 0) for insn 6 libbpf: sec '.relfmod_ret/bpf_modify_return_test': collecting relocation for section(5) 'fmod_ret/bpf_modify_return_test' libbpf: sec '.relfmod_ret/bpf_modify_return_test': relo #0: insn #7 against 'test3_result' libbpf: prog 'fmod_ret_test': found data map 0 (get_func.bss, sec 8, off 0) for insn 7 libbpf: sec '.relfexit/bpf_modify_return_test': collecting relocation for section(6) 'fexit/bpf_modify_return_test' libbpf: sec '.relfexit/bpf_modify_return_test': relo #0: insn #7 against 'test4_result' libbpf: prog 'fexit_test': found data map 0 (get_func.bss, sec 8, off 0) for insn 7 libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': 0 libbpf: map 'get_func.bss': created successfully, fd=5 test_get_func_args_test:PASS:get_func_args_test__open_and_load 0 nsec libbpf: prog 'test1': failed to attach: ERROR: strerror_r(-524)=22 libbpf: failed to auto-attach program 'test1': -524 test_get_func_args_test:FAIL:get_func_args_test__attach unexpected error: -524 (errno 524) #58 get_func_args_test:FAIL All error logs: #58 get_func_args_test:FAIL Summary: 0/0 PASSED, 0 SKIPPED, 1 FAILED Successfully unloaded bpf_testmod.ko. :: [ FAIL ] :: Command './test_progs -vv -t get_func_args_test' (Expected 0, got 1, score 19) [15:46:40][root@168.mr1370_220926_1234.el9.ppc64le]# './test_progs-no_alu32 -t get_func_args_test' test_get_func_args_test:PASS:get_func_args_test__open_and_load 0 nsec libbpf: prog 'test1': failed to attach: ERROR: strerror_r(-524)=22 libbpf: failed to auto-attach program 'test1': -524 test_get_func_args_test:FAIL:get_func_args_test__attach unexpected error: -524 (errno 524) #58 get_func_args_test:FAIL All error logs: #58 get_func_args_test:FAIL test_get_func_args_test:PASS:get_func_args_test__open_and_load 0 nsec libbpf: prog 'test1': failed to attach: ERROR: strerror_r(-524)=22 libbpf: failed to auto-attach program 'test1': -524 test_get_func_args_test:FAIL:get_func_args_test__attach unexpected error: -524 (errno 524) Summary: 0/0 PASSED, 0 SKIPPED, 1 FAILED :: [ FAIL ] :: Command './test_progs-no_alu32 -t get_func_args_test' (Expected 0, got 1, score 19) === Dmesg result === :: [ FAIL ] :: Test '58..224 selftests: bpf_test_progs:get_func_args_test [FAIL]'