diff options
author | Daniel Müller <[email protected]> | 2023-03-01 21:23:06 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2023-03-01 16:05:34 -0800 |
commit | 1eebcb60633fd469ee27b0fbd7ee4f271feedeca (patch) | |
tree | 9f50282acac2b874e4ff5adba2d1ecef2e05cc8a /tools/perf/scripts/python/mem-phys-addr.py | |
parent | db52b587c67f40e4bd6e8167f2334d4500617bdc (diff) |
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/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions