[Cilium] TroubleShooting
Trouble Shooting Guides for eBPF by Cilium
1. Compiling
1.1 Clang
1.1.1 'asm/types.h' file not found
clang -O2 -target bpf -c syscall_monitor.c -o syscall_monitor.osudo apt-get install gcc-multilib1.1.2 Dependency Problems
... incomplete definition of type 'struct task_struct'sudo apt-get install linux-tools-common
sudo apt-get install linux-tools-5.15.0-67-generic # Check your Linux version
bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h1.1.3 Top Level Declarator Error
1.1.4 'bpf/*.h' file not found
Last updated