eunomia-bpf / libbpf-starter-template

Template designed to get new developers with libbpf development.
https://eunomia.dev/blogs/github-templates/
MIT License
43 stars 17 forks source link

libbpf: failed to find valid kernel BTF #3

Open Chris-hhc opened 1 month ago

Chris-hhc commented 1 month ago

After executingsudo 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!

yunwei37 commented 1 month ago

Can you run https://github.com/libbpf/libbpf-bootstrap?

Can you run it without docker?

What's your kernel version?