Closed trend-leon-wang closed 6 months ago
Noticed that there's a github discussion space for this. I'll first ask if anyone can help me with this to confirm this is a bug or not.
Hi! How did you compile the example?
Hi @yunwei37, Thanks for your reply. After you asking me about the compilation, I went back and check the doc and noticed that I should include the header file in my command, which is:
$ ecc execsnoop.bpf.c execsnoop.h
But what I have done was:
$ ecc execsnoop.bpf.c
Now that the problem is solved.
Describe the bug A clear and concise description of what the bug is. After successfully compiling tutorial 7-execsnoop, I run it with
$ sudo ecli-aarch run package.json
, and encounter the following errorAlready tried with the suggested flag
RUST_BACKTRACE=1
and the error ls like belowDesktop (please complete the following information):
Linux ubuntu22 5.15.0-101-generic #111-Ubuntu SMP Wed Mar 6 18:01:01 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Additional context The ecc as well as ecli are the lastest versions, which is v1.0.21
Currently, I am no idea how to troubleshoot this issue, since I am very new to eBPF. If someone has any idea, I would go check it out and give it a try.