Update bpf examples and remove function pass code

This commit is contained in:
2025-09-04 10:33:43 +05:30
parent 9b4ef23a62
commit ba3030a694
4 changed files with 7 additions and 52 deletions

View File

@ -10,7 +10,7 @@ OBJECT := example.bpf.o
all: $(OUT)
object: $(SRC)
$(BPF_CLANG) $(CFLAGS) $< -o $(OBJECT)
$(BPF_CLANG) -O2 -target bpf -c $< -o $(OBJECT)
$(OUT): $(SRC) object
$(BPF_CLANG) $(CFLAGS) -S $< -o $@