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>
Sat, 14 Sep 2013 19:12:07 +0000 (12:12 -0700)
commit982dd581c444824348f27adff593880e77a53600
treef3a6468eafb5ae226a6367556371d5345294245d
parentd384394c04c9f9ae04cb0a7677d871205483193c
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>
Change-Id: I7d260f89595f18638bcedc90d27471b840957631
Reviewed-on: http://git-master/r/111034
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
Tested-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

Rebase-Id: R078775f41883d31bd9d397f7256481eef08421e1
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]