mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
ae2edb2af1
scripts at boot. This is currently disabled by default. /etc/ddb.conf contains some potentially reasonable default scripts. PR: conf/119995 Submitted by: Scot Hetzel <swhetzel at gmail dot com> (Earlier version) X-MFC after: textdumps
16 lines
505 B
Plaintext
16 lines
505 B
Plaintext
# $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
|