Revision 7b0b53d028b166fae9ecb8b85c9584927ecef436 authored by Ken Smith on 10 March 2010, 19:18:19 UTC, committed by Ken Smith on 10 March 2010, 19:18:19 UTC
Reviewed by:	portmgr@, re@
Approved by:	re (implicit)
1 parent 2b6138d
Raw File
ddb.conf
# $FreeBSD$
#
#  This file is read when going to multi-user and its contents piped thru
#  ``ddb'' to define debugging scripts.
#
# see ``man 4 ddb'' and ``man 8 ddb'' for details.
#

script lockinfo=show locks; show alllocks; show lockedvnods

# kdb.enter.panic	panic(9) was called.
script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset

# kdb.enter.witness	witness(4) detected a locking error.
script kdb.enter.witness=run lockinfo
back to top