kernel_debugger_core: add interrupt-context debugger core
authorBrian Swetland <swetland@google.com>
Wed, 9 Apr 2008 05:34:46 +0000 (22:34 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:12 +0000 (21:38 -0800)
commit1565cbc8705c9756147d0f1e11a73cb580e415e4
tree20c74e08ef553f8233f1198021e550e28b3517f7
parentd006c0fd9ae4cdc8aaf9e2802aefa78672e381b4
kernel_debugger_core: add interrupt-context debugger core

This provides kernel_debugger() which can be called from an interrupt
context low level debugger wedge to execute commands that inspect
kernel state.  It doesn't do much on its own.

Signed-off-by: Brian Swetland <swetland@google.com>

kernel_debugger_core: Add sysrq command.

sysrq <c> will run the sysrq command <c> and dump what
was added to the kernel log while the command ran.

Signed-off-by: Brian Swetland <swetland@google.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/kernel_debugger.c [new file with mode: 0644]
include/linux/kernel_debugger.h [new file with mode: 0644]