summaryrefslogtreecommitdiff
path: root/ddb/db_command.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-13 00:41:11 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-17 11:39:55 +0200
commitffd4f3c8239b41d3fe9fa14403eb063e02b6a222 (patch)
tree1003831e5d09ed184d7584ec84832a6b7506833c /ddb/db_command.c
parent96cec60d956bfb27f135d4e932a1c319cbc878df (diff)
ddb: add `show all tasks' command
* ddb/db_command.c (db_show_all_cmds): Add `tasks'. * ddb/db_print.c (db_show_all_tasks): New function. * ddb/db_print.h (db_show_all_tasks): New prototype.
Diffstat (limited to 'ddb/db_command.c')
-rw-r--r--ddb/db_command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ddb/db_command.c b/ddb/db_command.c
index 8171119..5651667 100644
--- a/ddb/db_command.c
+++ b/ddb/db_command.c
@@ -304,6 +304,7 @@ db_command_list(
}
struct db_command db_show_all_cmds[] = {
+ { "tasks", db_show_all_tasks, 0, 0 },
{ "threads", db_show_all_threads, 0, 0 },
{ "slocks", db_show_all_slocks, 0, 0 },
{ (char *)0 }