From 76e8efa0b7e8f0b53eba7b04670467a9f71baa63 Mon Sep 17 00:00:00 2001 From: Tizian Maxime Weigt Date: Mon, 27 Oct 2025 21:34:57 +0000 Subject: [PATCH] README.md aktualisiert --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index c2518fd..643e09e 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,7 @@ apt install clang llvm libbpf-dev libelf-dev pkg-config make git bpftool xdp-too Compile the eBPF program from the source code: ```bash -clang -O2 -g -Wall -target bpf \ - -D__BPF_TRACING__ \ - -I/usr/include \ - -I/usr/include/linux \ - -c main.c -o main.o +clang -O2 -g -Wall -target bpf -D__BPF_TRACING__ -I /usr/src/linux-headers-$(uname -r)/include -c main.c -o main.o ``` This will generate the object file `main.o` which contains the compiled eBPF code.