diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2026-03-04 15:56:52 -0500 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-03-05 15:03:04 -0800 |
| commit | fefeeec6123587c6b08884865042988d40405bd2 (patch) | |
| tree | 34c6353b8d98ea735f4bd2158c8a9ad335d3ef2d /tools/perf/scripts/python | |
| parent | d8d5c0151148b0194e8bbba66eb56d4d9cab94cd (diff) | |
selftests/bpf: Add test for btf__add_btf() with split BTF sources
Add a test that verifies btf__add_btf() correctly handles merging
multiple split BTF objects that share the same base BTF. The test
creates two sibling split BTFs on a common base, merges them into
a combined split BTF, and validates that base type references are
preserved while split type references are properly remapped.
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Link: https://lore.kernel.org/bpf/64a8c947bff1ae89efa9ba8c099466477762490f.1772657690.git.josef@toxicpanda.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
