diff options
| author | Donglin Peng <pengdonglin@xiaomi.com> | 2026-01-09 20:59:53 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-01-13 16:10:39 -0800 |
| commit | 6fbf129c49905e9e34801b362c9c30ae383d7a90 (patch) | |
| tree | 429be7159dc76a260aed8fdfa196531da66be0e9 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | c9c9f6bf7fbcec4bc1cba845633e48035b883630 (diff) | |
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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
