summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-03-06 13:14:51 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2023-04-17 05:03:56 +0300
commitbea5b74504742f1b51b815bcaf9a70bddbc49ce3 (patch)
treeebcb915b357f5f6000f3982030d33380327bcd80 /scripts/gdb/linux/utils.py
parent6a8f57ae2eb07ab39a6f0ccad60c760743051026 (diff)
downloadlinux-bea5b74504742f1b51b815bcaf9a70bddbc49ce3.tar.xz
kallsyms: expand symbol name into comment for debugging
The assembler output of kallsyms.c is not meant for people to understand, and is generally not helpful when debugging "Inconsistent kallsyms data" warnings. I have previously struggled with these, but found it helpful to list which symbols changed between the first and second pass in the .tmp_vmlinux.kallsyms*.S files. As this file is preprocessed, it's possible to add a C-style multiline comment with the full type/name tuple. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions