On Thu, Nov 5, 2020 at 9:25 PM Andrii Nakryiko <andrii@xxxxxxxxxx> wrote: > > 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. Arnaldo, can you please take a look at these patches? Would be nice to get them landed ASAP so that we can start testing out kernel module BTFs without locally applying patches first. Thanks! > > 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(-) > > -- > 2.24.1 >