diff options
| author | Donglin Peng <pengdonglin@xiaomi.com> | 2026-01-09 20:59:58 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-01-13 16:20:38 -0800 |
| commit | 8c3070e159ba00424f0389ead694cacd85af260e (patch) | |
| tree | 649d5e04e85f375cf87baef4c4fb9aee1810d9dd /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 33ecca574f1c27cbf560aee9c1b3045dcb9f8de5 (diff) | |
btf: Optimize type lookup with binary search
Improve btf_find_by_name_kind() performance by adding binary search
support for sorted types. Falls back to linear search for compatibility.
Signed-off-by: Donglin Peng <pengdonglin@xiaomi.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260109130003.3313716-7-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
