aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/Build
diff options
context:
space:
mode:
authorDaniel Müller <[email protected]>2023-03-01 21:23:06 +0000
committerAndrii Nakryiko <[email protected]>2023-03-02 00:05:34 +0000
commit1eebcb60633fd469ee27b0fbd7ee4f271feedeca (patch)
tree9f50282acac2b874e4ff5adba2d1ecef2e05cc8a /tools/lib/bpf/Build
parentbpf, docs: Fix __uninit kfunc doc section (diff)
downloadkernel-1eebcb60633fd469ee27b0fbd7ee4f271feedeca.tar.gz
kernel-1eebcb60633fd469ee27b0fbd7ee4f271feedeca.zip
libbpf: Implement basic zip archive parsing support
This change implements support for reading zip archives, including opening an archive, finding an entry based on its path and name in it, and closing it. The code was copied from https://github.com/iovisor/bcc/pull/4440, which implements similar functionality for bcc. The author confirmed that he is fine with this usage and the corresponding relicensing. I adjusted it to adhere to libbpf coding standards. Signed-off-by: Daniel Müller <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Michał Gregorczyk <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/Build')
-rw-r--r--tools/lib/bpf/Build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/Build b/tools/lib/bpf/Build
index 5a3dfb56d78f..b8b0a6369363 100644
--- a/tools/lib/bpf/Build
+++ b/tools/lib/bpf/Build
@@ -1,4 +1,4 @@
libbpf-y := libbpf.o bpf.o nlattr.o btf.o libbpf_errno.o str_error.o \
netlink.o bpf_prog_linfo.o libbpf_probes.o hashmap.o \
btf_dump.o ringbuf.o strset.o linker.o gen_loader.o relo_core.o \
- usdt.o
+ usdt.o zip.o