summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDonglin Peng <pengdonglin@xiaomi.com>2026-01-09 20:59:59 +0800
committerAndrii Nakryiko <andrii@kernel.org>2026-01-13 16:21:30 -0800
commit342bf525ba0d83374f318e19186d50b1e7160d0e (patch)
tree7f7c4a0ac43f58958aa8a319fd5331cf12b6a418 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent8c3070e159ba00424f0389ead694cacd85af260e (diff)
btf: Verify BTF sorting
This patch checks whether the BTF is sorted by name in ascending order. If sorted, binary search will be used when looking up types. Specifically, vmlinux and kernel module BTFs are always sorted during the build phase with anonymous types placed before named types, so we only need to identify the starting ID of named types. Signed-off-by: Donglin Peng <pengdonglin@xiaomi.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20260109130003.3313716-8-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