kernel_debugger_core: add interrupt-context debugger core
authorBrian Swetland <swetland@google.com>
Wed, 9 Apr 2008 05:34:46 +0000 (22:34 -0700)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:15 +0000 (09:09 -0700)
commit3e3d03562f2c47e358388c5d8d955c90e206c081
treedea783bdf01ab5a4364dd7897c0a9f31d8fc1365
parent0da19af0b8c8b8d8bd19a262479d49d8061c0c13
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]