projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d2bf48
)
x86/32: Print control and debug registers for kerenel context
author
Jan Beulich
<
[email protected]
>
Thu, 8 Mar 2012 09:23:14 +0000
(09:23 +0000)
committer
Ingo Molnar
<
[email protected]
>
Thu, 8 Mar 2012 09:57:35 +0000
(10:57 +0100)
While for a user mode register dump it may be reasonable to skip
those (albeit x86-64 doesn't do so), for kernel mode dumps these
should be printed to make sure all information possibly
necessary for analysis is available.
Signed-off-by: Jan Beulich <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/dumpstack_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/dumpstack_32.c
b/arch/x86/kernel/dumpstack_32.c
index c99f9ed013d59985850702a617467b0bf0b556db..88ec9129271dcae3a10bcb428325b0fb083eb62d 100644
(file)
--- a/
arch/x86/kernel/dumpstack_32.c
+++ b/
arch/x86/kernel/dumpstack_32.c
@@
-87,7
+87,7
@@
void show_registers(struct pt_regs *regs)
int i;
print_modules();
- __show_regs(regs,
0
);
+ __show_regs(regs,
!user_mode_vm(regs)
);
printk(KERN_EMERG "Process %.*s (pid: %d, ti=%p task=%p task.ti=%p)\n",
TASK_COMM_LEN, current->comm, task_pid_nr(current),