[PATCH bpf-next 0/2] libbpf: support multi-split BTF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In discussing handling of inlines in BTF [1], one area which we may need
support for in the future is multiple split BTF, where split BTF sits
atop another split BTF which sits atop base BTF.  This two-patch series
fixes one issue discovered when testing multi-split BTF and extends the
split BTF test to cover multi-split BTF also.

[1] https://lore.kernel.org/dwarves/20250416-btf_inline-v1-0-e4bd2f8adae5@xxxxxxxx/

Alan Maguire (2):
  libbpf/btf: Fix string handling to support multi-split BTF
  selftests/bpf: Test multi-split BTF

 tools/lib/bpf/btf.c                           |  2 +-
 .../selftests/bpf/prog_tests/btf_split.c      | 58 +++++++++++++++++--
 2 files changed, 53 insertions(+), 7 deletions(-)

-- 
2.39.3





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux