mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
kallsyms: let print_ip_sym() print raw addresses
print_ip_sym() is mostly used for debugging, so I think it should print the raw addresses. Link: http://lkml.kernel.org/r/1514519382-405-1-git-send-email-chenhc@lemote.com Signed-off-by: Huacai Chen <chenhc@lemote.com> Cc: Kees Cook <keescook@chromium.org> Cc: Fuxin Zhang <zhangfx@lemote.com> Cc: "Tobin C. Harding" <me@tobin.cc> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
60c9d92f88
commit
ca3a45697b
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ static inline int kallsyms_show_value(void)
|
||||||
|
|
||||||
static inline void print_ip_sym(unsigned long ip)
|
static inline void print_ip_sym(unsigned long ip)
|
||||||
{
|
{
|
||||||
printk("[<%p>] %pS\n", (void *) ip, (void *) ip);
|
printk("[<%px>] %pS\n", (void *) ip, (void *) ip);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /*_LINUX_KALLSYMS_H*/
|
#endif /*_LINUX_KALLSYMS_H*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue