Re: [RFC PATCH v1] btf: Sort BTF types by name and kind to optimize btf_find_by_name_kind lookup
From: Alexei Starovoitov <hidden>
Date: 2025-10-13 23:53:32
Also in:
bpf, lkml
From: Alexei Starovoitov <hidden>
Date: 2025-10-13 23:53:32
Also in:
bpf, lkml
On Mon, Oct 13, 2025 at 4:40 PM Andrii Nakryiko [off-list ref] wrote:
Just a few observations (if we decide to do the sorting of BTF by name in the kernel):
iirc we discussed it in the past and decided to do sorting in pahole and let the kernel verify whether it's sorted or not. Then no extra memory is needed. Or was that idea discarded for some reason?