Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ddb Put the 'added from all sub cmds' comment above the ...



details:   https://anonhg.NetBSD.org/src/rev/867eb75b7324
branches:  trunk
changeset: 977629:867eb75b7324
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Oct 30 07:03:50 2020 +0000

description:
Put the 'added from all sub cmds' comment above the four commands that
were added as part of the work in r1.98

diffstat:

 sys/ddb/db_command.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r abd8fbca1752 -r 867eb75b7324 sys/ddb/db_command.c
--- a/sys/ddb/db_command.c      Fri Oct 30 06:59:43 2020 +0000
+++ b/sys/ddb/db_command.c      Fri Oct 30 07:03:50 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_command.c,v 1.171 2020/10/30 06:57:08 skrll Exp $   */
+/*     $NetBSD: db_command.c,v 1.172 2020/10/30 07:03:50 skrll Exp $   */
 
 /*
  * Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009, 2019
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.171 2020/10/30 06:57:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.172 2020/10/30 07:03:50 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_aio.h"
@@ -221,15 +221,18 @@
 static void    db_vmem_print_cmd(db_expr_t, bool, db_expr_t, const char *);
 
 static const struct db_command db_show_cmds[] = {
-       /*added from all sub cmds*/
+       /* added from all sub cmds */
        { DDB_ADD_CMD("callout",  db_show_callout,
            0 ,"List all used callout functions.",NULL,NULL) },
+       /* added from all sub cmds */
        { DDB_ADD_CMD("pages",  db_show_all_pages,
            0 ,"List all used memory pages.",NULL,NULL) },
        { DDB_ADD_CMD("proc",   db_show_proc,
            0 ,"Print process information.",NULL,NULL) },
+       /* added from all sub cmds */
        { DDB_ADD_CMD("procs",  db_show_all_procs,
            0 ,"List all processes.",NULL,NULL) },
+       /* added from all sub cmds */
        { DDB_ADD_CMD("pools",  db_show_all_pools,
            0 ,"Show all pools",NULL,NULL) },
        { DDB_ADD_CMD("locks",  db_show_all_locks,
@@ -239,7 +242,6 @@
        { DDB_ADD_CMD("freelists",      db_show_all_freelists,
            0 ,"Show all freelists", NULL, NULL) },
 #ifdef AIO
-       /*added from all sub cmds*/
        { DDB_ADD_CMD("aio_jobs",       db_show_aio_jobs,       0,
            "Show aio jobs",NULL,NULL) },
 #endif



Home | Main Index | Thread Index | Old Index