linux-stable/kernel/debug
Daniel Thompson 9452e977ac kdb: Categorize kdb commands (similar to SysRq categorization)
This patch introduces several new flags to collect kdb commands into
groups (later allowing them to be optionally disabled).

This follows similar prior art to enable/disable magic sysrq
commands.

The commands have been categorized as follows:

Always on:  go (w/o args), env, set, help, ?, cpu (w/o args), sr,
            dmesg, disable_nmi, defcmd, summary, grephelp
Mem read:   md, mdr, mdp, mds, ef, bt (with args), per_cpu
Mem write:  mm
Reg read:   rd
Reg write:  go (with args), rm
Inspect:    bt (w/o args), btp, bta, btc, btt, ps, pid, lsmod
Flow ctrl:  bp, bl, bph, bc, be, bd, ss
Signal:     kill
Reboot:     reboot
All:        cpu, kgdb, (and all of the above), nmi_console

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2014-11-11 09:31:52 -06:00
..
kdb kdb: Categorize kdb commands (similar to SysRq categorization) 2014-11-11 09:31:52 -06:00
debug_core.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
debug_core.h kgdb/kdb: Fix no KDB config problem 2014-01-25 08:55:09 +01:00
gdbstub.c KGDB/KDB fixes and cleanups 2013-03-02 08:31:39 -08:00
Makefile kdb: core for kgdb back end (1 of 2) 2010-05-20 21:04:20 -05:00