You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
A more efficient mechanism for tracing the entry to and exit from kernel functions
was introduced along with the idea of BPF trampoline in kernel version 5.5 (on x86
processors; BPF trampoline support doesn’t arrive for ARM processors until Linux
6.0). If you’re using a recent enough kernel, fentry/fexit is now the preferred method
for tracing the entry to or exit from a kern
具体错误如下
The text was updated successfully, but these errors were encountered: