aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2008-06-25 02:50:10 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-25 11:49:48 -0400
commit8d5be7f4e8515af461cbc8f07687ccc81507d508 (patch)
tree7a833e09cff0e98747eb6c3d6046ea36c4e3b2f7 /kernel
parentc7e745c6de92a757ec525fbc9a74891651a5f1c6 (diff)
softlockup: show irqtrace
This patch adds some information about when interrupts were last enabled and disabled to the output of the softlockup detector. Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Johannes Weiner <hannes@saeurebad.de> Cc: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/softlockup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/softlockup.c b/kernel/softlockup.c
index f2bf5decb108..97977ecc3171 100644
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -13,6 +13,7 @@
13#include <linux/delay.h> 13#include <linux/delay.h>
14#include <linux/freezer.h> 14#include <linux/freezer.h>
15#include <linux/kthread.h> 15#include <linux/kthread.h>
16#include <linux/lockdep.h>
16#include <linux/notifier.h> 17#include <linux/notifier.h>
17#include <linux/module.h> 18#include <linux/module.h>
18 19
@@ -144,6 +145,7 @@ void softlockup_tick(void)
144 this_cpu, now - touch_timestamp, 145 this_cpu, now - touch_timestamp,
145 current->comm, task_pid_nr(current)); 146 current->comm, task_pid_nr(current));
146 print_modules(); 147 print_modules();
148 print_irqtrace_events(current);
147 if (regs) 149 if (regs)
148 show_regs(regs); 150 show_regs(regs);
149 else 151 else