diff options
author | kib <kib@FreeBSD.org> | 2011-12-16 11:44:20 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-12-16 11:44:20 +0000 |
commit | 02726a0b7125ed1de732abb3b4a16c11c1f262dc (patch) | |
tree | 57c1c1ff080a1cf0b1ec9827042cb3de5bc318f0 /sys/ddb/db_command.c | |
parent | 30b0342f622275bfb4948b796470712830e2626a (diff) | |
download | FreeBSD-src-02726a0b7125ed1de732abb3b4a16c11c1f262dc.zip FreeBSD-src-02726a0b7125ed1de732abb3b4a16c11c1f262dc.tar.gz |
Add 'findstack' ddb command to search either the thread kernel stack
or cached stack containing the specified kernel virtual address.
Discussed with: pho
MFC after: 1 week
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r-- | sys/ddb/db_command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index f2e2c42..e0f14b9 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -140,6 +140,7 @@ static struct command db_cmds[] = { { "unscript", db_unscript_cmd, CS_OWN, 0 }, { "capture", db_capture_cmd, CS_OWN, 0 }, { "textdump", db_textdump_cmd, CS_OWN, 0 }, + { "findstack", db_findstack_cmd, 0, 0 }, }; struct command_table db_cmd_table = LIST_HEAD_INITIALIZER(db_cmd_table); |