Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 688c9175 authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Ingo Molnar
Browse files

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: default avatarArjan van de Ven <arjan@linux.intel.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 8bbd54d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -143,6 +143,7 @@ void softlockup_tick(void)
	printk(KERN_ERR "BUG: soft lockup - CPU#%d stuck for %lus! [%s:%d]\n",
	printk(KERN_ERR "BUG: soft lockup - CPU#%d stuck for %lus! [%s:%d]\n",
			this_cpu, now - touch_timestamp,
			this_cpu, now - touch_timestamp,
			current->comm, task_pid_nr(current));
			current->comm, task_pid_nr(current));
	print_modules();
	if (regs)
	if (regs)
		show_regs(regs);
		show_regs(regs);
	else
	else