]> git.ipfire.org Git - thirdparty/linux.git/commit
resolve_btfids: Refactor the sort_btf_by_name function
authorDonglin Peng <pengdonglin@xiaomi.com>
Mon, 2 Feb 2026 12:01:14 +0000 (20:01 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 4 Feb 2026 18:17:19 +0000 (10:17 -0800)
commit5e6e1dc43a217624087ce45bafd20ac2cfb3c190
tree9c07301f48acfdf05eae1635ee372a2e61068901
parent78a16058e4250daff763c14c3ee76e7830b4fb2e
resolve_btfids: Refactor the sort_btf_by_name function

Preserve original relative order of anonymous or same-named
types to improve the consistency.

No functional changes.

Signed-off-by: Donglin Peng <pengdonglin@xiaomi.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260202120114.3707141-1-dolinux.peng@gmail.com
tools/bpf/resolve_btfids/main.c