diff options
| author | Paul Buetow <paul@buetow.org> | 2024-02-05 01:56:40 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-02-05 01:56:40 +0200 |
| commit | 67f87385360dc0361fdc4894fa855f0bee5d63cc (patch) | |
| tree | 05b2f2ea669d68006049608510e26964eaa635fa | |
| parent | 40554e1b2304583203a471c6fbae908bd4e8c7c6 (diff) | |
generate vmlinux.h
| -rwxr-xr-x | build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ set -xeuf -o pipefail declare -r LIBBPFGO="$(pwd)/../libbpfgo" +bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h clang -g -O2 -Wall -fpie -I../libbpfgo/selftest/common -target bpf -D__TARGET_ARCH_amd64 -I../libbpfgo/output -I../libbpfgo/selftest/common -c main.bpf.c -o main.bpf.o export CC=clang |
