From 747cb7f0f056b9089f2c52bd8b79edbd0d5cf558 Mon Sep 17 00:00:00 2001 From: Tao Chen Date: Wed, 25 Sep 2024 00:52:02 +0800 Subject: [PATCH] bpftool: Remove llvm-strip from Makefile As Quentin and Andrri said [0], bpftool gen object strips out DWARF already, so remove the repeat operation. [0] https://github.com/libbpf/bpftool/issues/161 Suggested-by: Andrii Nakryiko Suggested-by: Quentin Monnet Signed-off-by: Tao Chen --- tools/bpf/bpftool/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile index ba927379eb201..43bd826b08792 100644 --- a/tools/bpf/bpftool/Makefile +++ b/tools/bpf/bpftool/Makefile @@ -219,7 +219,6 @@ $(OUTPUT)%.bpf.o: skeleton/%.bpf.c $(OUTPUT)vmlinux.h $(LIBBPF_BOOTSTRAP) -I$(LIBBPF_BOOTSTRAP_INCLUDE) \ -g -O2 -Wall -fno-stack-protector \ --target=bpf -c $< -o $@ - $(Q)$(LLVM_STRIP) -g $@ $(OUTPUT)%.skel.h: $(OUTPUT)%.bpf.o $(BPFTOOL_BOOTSTRAP) $(QUIET_GEN)$(BPFTOOL_BOOTSTRAP) gen skeleton $< > $@