diff options
author | Alan Maguire <alan.maguire@oracle.com> | 2025-05-19 17:59:34 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2025-05-20 16:22:30 -0700 |
commit | 4e29128a9acec2a622734844bedee013e2901bdf (patch) | |
tree | e3a6e524b8feaac031a6d7791eb4a7415be8deba /scripts/lib/kdoc/kdoc_re.py | |
parent | b615ce5fbefb7d9bd1739b0aee54825349ae7438 (diff) |
libbpf/btf: Fix string handling to support multi-split BTF
libbpf handling of split BTF has been written largely with the
assumption that multiple splits are possible, i.e. split BTF on top of
split BTF on top of base BTF. One area where this does not quite work
is string handling in split BTF; the start string offset should be the
base BTF string section length + the base BTF string offset. This
worked in the past because for a single split BTF with base the start
string offset was always 0.
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250519165935.261614-2-alan.maguire@oracle.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions