]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gendwarfksyms: order -T symtypes output by name
authorGiuliano Procida <gprocida@google.com>
Tue, 1 Jul 2025 15:19:11 +0000 (16:19 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 26 Jul 2025 06:31:30 +0000 (15:31 +0900)
commitd8f26717c901b7ec88c3151988fe70ecaed990b8
tree8cd3f31876c5d317ce68b13bfd23f3c9f44f3b01
parente06aa69de21b6de2ef83f559768a4005114f5661
gendwarfksyms: order -T symtypes output by name

When writing symtypes information, we iterate through the entire hash
table containing type expansions. The key order varies unpredictably
as new entries are added, making it harder to compare symtypes between
builds.

Resolve this by sorting the type expansions by name before output.

Signed-off-by: Giuliano Procida <gprocida@google.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/gendwarfksyms/types.c