Skip to content

Add split BTF support to pahole

Andrii Nakryiko bpf dwarves 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btf_encoder: fix array index type numberingbtf_encoder.c+6 -60 replies
2/4libbtf: improve variable naming and error reporting when writing out BTFlibbtf.c+21 -120 replies
3/4libbpf: update libbpf submodlue reference to latest masterlib/bpf+1 -10 replies
4/4btf: add support for split BTF loading and encodingbtf_encoder.c btf_loader.c libbtf.c +2 more+35 -78 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH dwarves 0/4] Add split BTF support to pahole

Add ability to generate split BTF (for kernel modules), as well as load split BTF. --btf_base argument is added to specify base BTF for split BTF. This works for both btf_loader and btf_encoder.

Andrii Nakryiko (4):
btf_encoder: fix array index type numbering
libbtf: improve variable naming and error reporting when writing out
BTF
libbpf: update libbpf submodlue reference to latest master
btf: add support for split BTF loading and encoding

 btf_encoder.c | 15 ++++++++-------
 btf_loader.c  |  2 +-
 lib/bpf       |  2 +-
 libbtf.c      | 43 +++++++++++++++++++++++++++----------------
 libbtf.h      |  4 +++-
 pahole.c      | 23 +++++++++++++++++++++++
 6 files changed, 63 insertions(+), 26 deletions(-)
Signature · 1 line
2.24.1