From: Arjan van de Ven Date: Mon, 16 Jun 2008 22:51:08 +0000 (-0700) Subject: softlockup: print a module list on being stuck X-Git-Tag: v2.6.27-rc1~849^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=688c91755dc3d3c03d8c67c1df13c02be258768e;p=linux-2.6 softlockup: print a module list on being stuck Most places in the kernel that go BUG: print a module list (which is very useful for doing statistics and finding patterns), however the softlockup detector does not do this yet. This patch adds the one line change to fix this gap. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar --- diff --git a/kernel/softlockup.c b/kernel/softlockup.c index 6b682d86bd..f2bf5decb1 100644 --- a/kernel/softlockup.c +++ b/kernel/softlockup.c @@ -143,6 +143,7 @@ void softlockup_tick(void) printk(KERN_ERR "BUG: soft lockup - CPU#%d stuck for %lus! [%s:%d]\n", this_cpu, now - touch_timestamp, current->comm, task_pid_nr(current)); + print_modules(); if (regs) show_regs(regs); else