Skip to content

Commit

Permalink
bpftool: Remove llvm-strip from Makefile
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
chentao-kernel authored and Kernel Patches Daemon committed Sep 25, 2024
1 parent db9637a commit 62e2150
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/bpf/bpftool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $< > $@
Expand Down

0 comments on commit 62e2150

Please sign in to comment.