-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
libbpf: failed to find valid kernel BTF #3
Comments
Can you run https://github.com/libbpf/libbpf-bootstrap? Can you run it without docker? What's your kernel version? |
i meet the same problem ,and my kernel version info docker run --rm -it --privileged ghcr.io/eunomia-bpf/libbpf-template:latest |
Hi, If you want to run eBPF programs in docker, you may need to mount |
After executing
sudo docker run --rm -it --privileged ghcr.io
:libbpf: failed to find valid kernel BTF
libbpf: Error loading vmlinux BTF: -3
libbpf: failed to load object 'bootstrap_bpf'
libbpf: failed to load BPF skeleton 'bootstrap_bpf': -3
Failed to load and verify BPF skeleton
Github workflow has passed!
The text was updated successfully, but these errors were encountered: