Files
Alan Maguire 627be3c400 libbpf: Fix parsing of multi-split BTF
[ Upstream commit 4f596acc26 ]

When creating multi-split BTF we correctly set the start string offset
to be the size of the base string section plus the base BTF start
string offset; the latter is needed for multi-split BTF since the
offset is non-zero there.

Unfortunately the BTF parsing case needed that logic and it was
missed.

Fixes: 4e29128a9a ("libbpf/btf: Fix string handling to support multi-split BTF")
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20251104203309.318429-2-alan.maguire@oracle.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 13:54:53 +01:00
..
2024-09-05 13:07:47 -07:00
2025-12-18 13:54:53 +01:00
2024-09-09 16:05:40 -07:00
2024-06-17 14:38:31 -07:00