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 <andrii@xxxxxxxxxx> Suggested-by: Quentin Monnet <qmo@xxxxxxxxxx> Signed-off-by: Tao Chen <chen.dylane@xxxxxxxxx> --- tools/bpf/bpftool/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile index ba927379eb20..43bd826b0879 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 $< > $@ -- 2.25.1