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
Sam Leffler
sam at FreeBSD.org
Mon Sep 15 22:45:38 UTC 2008
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 at 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
More information about the cvs-all
mailing list