From c9f2f450f92528f04ee00ead0a3fd79b475f2d2c Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Sat, 1 Apr 2017 18:07:40 +0200 Subject: ddb: Print scheduling information. * ddb/db_print.c (OPTION_SCHED): New macro. (db_print_thread): Display scheduling information if the flag is given. (db_print_task): Adapt. (db_show_all_threads): Parse new modifier. (db_show_one_thread): Likewise. * doc/mach.texi: Document the new flag. --- doc/mach.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/mach.texi') diff --git a/doc/mach.texi b/doc/mach.texi index 8ffeaa0a..1f13b12c 100644 --- a/doc/mach.texi +++ b/doc/mach.texi @@ -7039,7 +7039,7 @@ will print the contents of a list starting from @code{xxx_list} by each @item dmacro @var{name} Delete the macro named @var{name}. -@item show all threads[/ul] +@item show all threads[/uls] Display all tasks and threads information. This version of @code{ddb} prints more information than previous one. It shows UNIX process information like @command{ps} for each task. The UNIX process @@ -7056,7 +7056,8 @@ thread. The status consists of 6 letters, R(run), W(wait), S(suspended), O(swapped out), N(interruptible), and F(loating) point arithmetic used (if supported by the platform). If the corresponding status bit is off, @code{.} is printed instead. If @code{l} option is -specified, more detail information is printed for each thread. +specified, more detail information is printed for each thread. If the +@code{s} option is given, scheduling information is displayed. @item show all tasks Displays all tasks similar to @code{show all threads}, but omits -- cgit v1.2.3