Skip to content

Add support for BTF deduplication

Andrii Nakryiko bpf 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libbpf: pull latest libbpf and build libbpf as shared libCMakeLists.txt lib/bpf+10 -51 reply
2/2btf_encoder: run BTF deduplication before writing out to ELFlibbtf.c+34 -105 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH pahole 0/2] Add support for BTF deduplication

This patchset adds btf_dedup() support during DWARF to BTF conversion.

Andrii Nakryiko (2):
libbpf: pull latest libbpf and build libbpf as shared lib
btf_encoder: run BTF deduplication before writing out to ELF

 CMakeLists.txt | 13 +++++++++----
 lib/bpf        |  2 +-
 libbtf.c       | 44 ++++++++++++++++++++++++++++++++++----------
 3 files changed, 44 insertions(+), 15 deletions(-)
Signature · 1 line
2.17.1