zh/tutorials/5-uprobe-bashreadline/ #150
Replies: 1 comment
-
% sudo ecli run package.json
INFO [faerie::elf] strtab: 0x455 symtab 0x490 relocs 0x4d8 sh_offset 0x4d8
libbpf: elf: 'readline' is 0 in symtab for '/bin/bash': should not be 0 in a shared library
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 `printret`: Internal error: bpf call \"libbpf_rs::program::Program::attach::{{closure}}\" returned NULL"), RecvError 如果你也在这一节遇到了相同的困扰,应该是动态链接的问题,检查一下 % ldd /bin/bash
...
libreadline.so.8 => /usr/lib/libreadline.so.8 (0x00007bad65e9f000)
... 所以我们可以把 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
zh/tutorials/5-uprobe-bashreadline/
Unlock the potential of eBPF
https://eunomia.dev/zh/tutorials/5-uprobe-bashreadline/
Beta Was this translation helpful? Give feedback.
All reactions