README.md aktualisiert

This commit is contained in:
Tizian Maxime Weigt 2025-10-27 21:34:57 +00:00
parent 37ceda168f
commit 76e8efa0b7

View File

@ -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.