does aws-network-policy-agent work without vmlinux.h?
developer-guy opened this issue · comments
Hello folks👋
At the line #32 in Dockerfile make vmlinuxh
tries to run bpftool btf dump file .. and it causes the following problem in our GitHub Actions workflow:
2024/04/13 20:08:33 INFO /sys/kernel/btf/vmlinux: cannot open `/sys/kernel/btf/vmlinux' (No such file or directory)
2024/04/13 20:08:33 INFO bpftool btf dump file /sys/kernel/btf/vmlinux format c > /home/build/pkg/ebpf/c/vmlinux.h
2024/04/13 20:08:33 WARN Error: failed to load BTF from /sys/kernel/btf/vmlinux: No such file or directory
So the questions are:
- Would you mind giving me some ideas to sort out this problem?
- If this is smth that we cannot fix atm is this required for the application to be running?
Thanks!
@developer-guy - Do you know the kernel version where the build is happening?
Since looks like /sys/kernel/btf/vmlinux
is missing.