diff --git a/modules/ebpf/Makefile.am b/modules/ebpf/Makefile.am index 1e18b68093..6579b2df01 100644 --- a/modules/ebpf/Makefile.am +++ b/modules/ebpf/Makefile.am @@ -28,6 +28,7 @@ BPF_CFLAGS=-nostdinc -isystem `$(BPF_CC) -print-file-name=include` \ $(BPFTOOL) gen skeleton $< > $@ modules/ebpf/vmlinux.h: + $(BPFTOOL) btf dump file /sys/kernel/btf/vmlinux format c $(BPFTOOL) btf dump file /sys/kernel/btf/vmlinux format c >$@ CLEANFILES += modules/ebpf/random.skel.c modules/ebpf/vmlinux.h