Open
Description
具体错误如下
ubuntu@ubuntu-2204:~/ebpf$ ./ecc code/bpf-developer-tutorial/src/3-fentry-unlink/fentry-link.bpf.c
INFO [ecc_rs::bpf_compiler] Compiling bpf object...
INFO [ecc_rs::bpf_compiler] Generating package json..
INFO [ecc_rs::bpf_compiler] Packing ebpf object and config into code/bpf-developer-tutorial/src/3-fentry-unlink/package.json...
ubuntu@ubuntu-2204:~/ebpf$ sudo ./ecli run code/bpf-developer-tutorial/src/3-fentry-unlink/package.json
INFO [faerie::elf] strtab: 0x406 symtab 0x440 relocs 0x488 sh_offset 0x488
libbpf: prog 'do_unlinkat': failed to attach: ERROR: strerror_r(-524)=22
Error: Failed to run native eBPF program
Caused by:
Bpf error: Failed to start polling: Bpf("Failed to load and attach: Failed to attach program `do_unlinkat`: Internal error: bpf call \"libbpf_rs::program::Program::attach::{{closure}}\" returned NULL"), RecvError