ddb.conf revision 176835
1101353Smike# $FreeBSD: head/etc/ddb.conf 176835 2008-03-05 18:32:58Z brooks $
2101353Smike#
3101353Smike#  This file is read when going to multi-user and its contents piped thru
4101353Smike#  ``ddb'' to define debugging scripts.
5101353Smike#
6101353Smike# see ``man 4 ddb'' and ``man 8 ddb'' for details.
7101353Smike#
8101353Smike
9101353Smikescript lockinfo=show locks; show alllocks; show lockedvnods
10101353Smike
11101353Smike# kdb.enter.panic	panic(9) was called.
12101353Smikescript kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
13101353Smike
14101353Smike# kdb.enter.witness	witness(4) detected a locking error.
15101353Smikescript kdb.enter.witness=run lockinfo
16101353Smike