Date: Mon, 15 Sep 2008 22:45:14 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ddb db_command.c ddb.h src/sys/dev/aic7xxx aic79xx_osm.c src/sys/gnu/fs/xfs/FreeBSD/support kdb.c src/sys/kern subr_pcpu.c subr_rman.c subr_sleepqueue.c subr_turnstile.c subr_witness.c Message-ID: <200809152245.m8FMjba2031362@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2008-09-15 22:45:14 UTC FreeBSD src repository Modified files: sys/ddb db_command.c ddb.h sys/dev/aic7xxx aic79xx_osm.c sys/gnu/fs/xfs/FreeBSD/support kdb.c sys/kern subr_pcpu.c subr_rman.c subr_sleepqueue.c subr_turnstile.c subr_witness.c Log: SVN rev 183054 on 2008-09-15 22:45:14Z by sam Make ddb command registration dynamic so modules can extend the command set (only so long as the module is present): o add db_command_register and db_command_unregister to add and remove commands, respectively o replace linker sets with SYSINIT's (and SYSUINIT's) that register commands o expose 3 list heads: db_cmd_table, db_show_table, and db_show_all_table for registering top-level commands, show operands, and show all operands, respectively While here also: o sort command lists o add DB_ALIAS, DB_SHOW_ALIAS, and DB_SHOW_ALL_ALIAS to add aliases for existing commands o add "show all trace" as an alias for "show alltrace" o add "show all locks" as an alias for "show alllocks" Submitted by: Guillaume Ballet <gballet@gmail.com> (original version) Reviewed by: jhb MFC after: 1 month Revision Changes Path 1.79 +86 -53 src/sys/ddb/db_command.c 1.48 +89 -45 src/sys/ddb/ddb.h 1.33 +1 -1 src/sys/dev/aic7xxx/aic79xx_osm.c 1.4 +1 -1 src/sys/gnu/fs/xfs/FreeBSD/support/kdb.c 1.11 +2 -1 src/sys/kern/subr_pcpu.c 1.59 +2 -1 src/sys/kern/subr_rman.c 1.58 +1 -1 src/sys/kern/subr_sleepqueue.c 1.175 +2 -1 src/sys/kern/subr_turnstile.c 1.256 +2 -1 src/sys/kern/subr_witness.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809152245.m8FMjba2031362>