summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDonglin Peng <pengdonglin@xiaomi.com>2026-01-09 15:59:53 +0300
committerAndrii Nakryiko <andrii@kernel.org>2026-01-14 03:10:39 +0300
commit6fbf129c49905e9e34801b362c9c30ae383d7a90 (patch)
tree429be7159dc76a260aed8fdfa196531da66be0e9 /include
parentc9c9f6bf7fbcec4bc1cba845633e48035b883630 (diff)
downloadlinux-6fbf129c49905e9e34801b362c9c30ae383d7a90.tar.xz
libbpf: Add BTF permutation support for type reordering
Introduce btf__permute() API to allow in-place rearrangement of BTF types. This function reorganizes BTF type order according to a provided array of type IDs, updating all type references to maintain consistency. Signed-off-by: Donglin Peng <pengdonglin@xiaomi.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/bpf/20260109130003.3313716-2-dolinux.peng@gmail.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions