Skip to content

Commit fa0fea5

Browse files
chentao-kernelKernel Patches Daemon
authored and
Kernel Patches Daemon
committed
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] libbpf/bpftool#161 Suggested-by: Andrii Nakryiko <[email protected]> Suggested-by: Quentin Monnet <[email protected]> Signed-off-by: Tao Chen <[email protected]> Acked-by: Quentin Monnet <[email protected]>
1 parent ba1ff86 commit fa0fea5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/bpf/bpftool/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ $(OUTPUT)%.bpf.o: skeleton/%.bpf.c $(OUTPUT)vmlinux.h $(LIBBPF_BOOTSTRAP)
219219
-I$(LIBBPF_BOOTSTRAP_INCLUDE) \
220220
-g -O2 -Wall -fno-stack-protector \
221221
--target=bpf -c $< -o $@
222-
$(Q)$(LLVM_STRIP) -g $@
223222

224223
$(OUTPUT)%.skel.h: $(OUTPUT)%.bpf.o $(BPFTOOL_BOOTSTRAP)
225224
$(QUIET_GEN)$(BPFTOOL_BOOTSTRAP) gen skeleton $< > $@

0 commit comments

Comments
 (0)