aarch64: filter $x from kallsyms
authorKyle McMartin <kyle@redhat.com>
Tue, 16 Sep 2014 21:37:18 +0000 (22:37 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 2 Oct 2014 16:01:51 +0000 (17:01 +0100)
commit6c34f1f5424395994c125f8c68bed395920ecc58
tree811e5d9f55355f74618b943d60c786eb715b4efa
parenta52ce121918382a4249d621cceb07c30e1c00fa2
aarch64: filter $x from kallsyms

Similar to ARM, AArch64 is generating $x and $d syms... which isn't
terribly helpful when looking at %pF output and the like. Filter those
out in kallsyms, modpost and when looking at module symbols.

Seems simplest since none of these check EM_ARM anyway, to just add it
to the strchr used, rather than trying to make things overly
complicated.

initcall_debug improves:
dmesg_before.txt: initcall $x+0x0/0x154 [sg] returned 0 after 26331 usecs
dmesg_after.txt: initcall init_sg+0x0/0x154 [sg] returned 0 after 15461 usecs

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
kernel/module.c
scripts/kallsyms.c
scripts/mod/modpost.c