Skip to content

Commit ced0f24

Browse files
arndbmasahir0y
authored andcommitted
kallsyms: add kallsyms_seqs_of_names to list of special symbols
My randconfig build setup ran into another kallsyms warning: Inconsistent kallsyms data Try make KALLSYMS_EXTRA_PASS=1 as a workaround After adding some debugging code to kallsyms.c, I saw that the recently added kallsyms_seqs_of_names symbol can sometimes cause the second stage table to be slightly longer than the first stage, which makes the build inconsistent. Add it to the exception table that contains all other kallsyms-generated symbols. Fixes: 60443c8 ("kallsyms: Improve the performance of kallsyms_lookup_name()") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Zhen Lei <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent fe15c26 commit ced0f24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/kallsyms.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ static bool is_ignored_symbol(const char *name, char type)
119119
"kallsyms_markers",
120120
"kallsyms_token_table",
121121
"kallsyms_token_index",
122+
"kallsyms_seqs_of_names",
122123
/* Exclude linker generated symbols which vary between passes */
123124
"_SDA_BASE_", /* ppc */
124125
"_SDA2_BASE_", /* ppc */

0 commit comments

Comments
 (0)