mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 05:11:32 +00:00
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 <arjan@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
8bbd54d69e
commit
688c91755d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user