]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - etc/ddb.conf
MFC r324312: fix the misleading log facility used in devd/zfs.conf
[FreeBSD/stable/10.git] / etc / ddb.conf
1 # $FreeBSD$
2 #
3 #  This file is read when going to multi-user and its contents piped thru
4 #  ``ddb'' to define debugging scripts.
5 #
6 # see ``man 4 ddb'' and ``man 8 ddb'' for details.
7 #
8
9 script lockinfo=show locks; show alllocks; show lockedvnods
10
11 # kdb.enter.panic       panic(9) was called.
12 script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
13
14 # kdb.enter.witness     witness(4) detected a locking error.
15 script kdb.enter.witness=run lockinfo