Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在跑3-fentry-unlink出现错误 #82

Open
ToviHe opened this issue Nov 24, 2023 · 1 comment
Open

在跑3-fentry-unlink出现错误 #82

ToviHe opened this issue Nov 24, 2023 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@ToviHe
Copy link

ToviHe commented Nov 24, 2023

具体错误如下

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
@yunwei37
Copy link
Member

Please provide your kernel version and OS version, thanks.

@yunwei37 yunwei37 added bug Something isn't working documentation Improvements or additions to documentation labels Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants