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 21:00:01 +0800
committerAndrii Nakryiko <andrii@kernel.org>2026-01-13 16:21:36 -0800
commit434bcbc837a69baa2720b2ae5baba8b6e36898c0 (patch)
treeb4795155820e886b8e1bef8af11c49e6d903e506 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentdc893cfa390aa9d5fc83c908ea5e37a36e531892 (diff)
bpf: Optimize the performance of find_bpffs_btf_enums
Currently, vmlinux BTF is unconditionally sorted during the build phase. The function btf_find_by_name_kind executes the binary search branch, so find_bpffs_btf_enums can be optimized by using btf_find_by_name_kind. 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-10-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