BPF List
 help / color / mirror / Atom feed
* [PATCH v2 bpf-next 0/2] Multi-split BTF fixes and test
@ 2025-10-28 15:57 Alan Maguire
  2025-10-28 15:57 ` [PATCH v2 bpf-next 1/2] libbpf: Fix parsing of multi-split BTF Alan Maguire
  2025-10-28 15:57 ` [PATCH v2 bpf-next 2/2] selftests/bpf: Test parsing of (multi-)split BTF Alan Maguire
  0 siblings, 2 replies; 8+ messages in thread
From: Alan Maguire @ 2025-10-28 15:57 UTC (permalink / raw)
  To: andrii
  Cc: eddyz87, ast, daniel, martin.lau, acme, ttreyer, yonghong.song,
	song, john.fastabend, kpsingh, sdf, haoluo, jolsa, ihor.solodrai,
	bpf, Alan Maguire

This small series consists of a fix to multi-split BTF parsing
(patch 1) and a test which exercises (multi-)split BTF parsing
(patch 2).

Changes since v1 [1]

- BPF code-review bot spotted another place that the string offset
needed to be adjusted based upon base start string offset + header
string offset.
- added selftests to extend split BTF testing to parsing

[1] https://lore.kernel.org/bpf/20251023142812.258870-1-alan.maguire@oracle.com/

Alan Maguire (2):
  libbpf: Fix parsing of multi-split BTF
  selftests/bpf: Test parsing of (multi-)split BTF

 tools/lib/bpf/btf.c                           |  4 +-
 .../selftests/bpf/prog_tests/btf_split.c      | 71 ++++++++++++++++++-
 2 files changed, 72 insertions(+), 3 deletions(-)

-- 
2.39.3


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-10-28 22:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-28 15:57 [PATCH v2 bpf-next 0/2] Multi-split BTF fixes and test Alan Maguire
2025-10-28 15:57 ` [PATCH v2 bpf-next 1/2] libbpf: Fix parsing of multi-split BTF Alan Maguire
2025-10-28 20:01   ` Andrii Nakryiko
2025-10-28 15:57 ` [PATCH v2 bpf-next 2/2] selftests/bpf: Test parsing of (multi-)split BTF Alan Maguire
2025-10-28 16:45   ` bot+bpf-ci
2025-10-28 20:01     ` Andrii Nakryiko
2025-10-28 20:11       ` Andrii Nakryiko
2025-10-28 22:58         ` Alan Maguire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox