]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Drop libbpf, libelf, libz dependency from bpf preload.
authorAlexei Starovoitov <ast@kernel.org>
Mon, 31 Jan 2022 22:05:28 +0000 (14:05 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 1 Feb 2022 22:56:18 +0000 (23:56 +0100)
commit20a3d9f7f8c3bf059d6e3e559b1a9da117a655f1
tree657d2a74dcc4f13b7bdab3e6035a3c3533ba5f79
parent059033ab1c12d41d46a191b84c963f297e4d8a0e
bpf: Drop libbpf, libelf, libz dependency from bpf preload.

Drop libbpf, libelf, libz dependency from bpf preload.
This reduces bpf_preload_umd binary size
from 1.7M to 30k unstripped with debug info
and from 300k to 19k stripped.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20220131220528.98088-8-alexei.starovoitov@gmail.com
kernel/bpf/preload/Makefile