Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] lockdep: print all lock classes on SysRQ-D

Print all lock-classes on SysRq-D.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Ingo Molnar and committed by
Linus Torvalds
8c64580d 4d9f34ad

+2 -1
+2 -1
drivers/char/sysrq.c
··· 147 147 .enable_mask = SYSRQ_ENABLE_REMOUNT, 148 148 }; 149 149 150 - #ifdef CONFIG_DEBUG_MUTEXES 150 + #ifdef CONFIG_LOCKDEP 151 151 static void sysrq_handle_showlocks(int key, struct pt_regs *pt_regs, 152 152 struct tty_struct *tty) 153 153 { 154 154 debug_show_all_locks(); 155 155 } 156 + 156 157 static struct sysrq_key_op sysrq_showlocks_op = { 157 158 .handler = sysrq_handle_showlocks, 158 159 .help_msg = "show-all-locks(D)",