2008-03-05 18:32:58 +00:00
|
|
|
# $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.
|
2019-10-18 12:32:01 +00:00
|
|
|
script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; textdump dump; reset
|
2008-03-05 18:32:58 +00:00
|
|
|
|
|
|
|
# kdb.enter.witness witness(4) detected a locking error.
|
|
|
|
script kdb.enter.witness=run lockinfo
|