Add a ddb.conf that will trigger textdumps for all panics and similar crashes, not leave some crashes at a db> prompt.

This commit is contained in:
jim-p 2011-11-16 16:44:13 -05:00
parent 002cacab57
commit 36a4cc17f5
1 changed files with 3 additions and 0 deletions

3
etc/ddb.conf Normal file
View File

@ -0,0 +1,3 @@
script lockinfo=show locks; show alllocks; show lockedvnods
script kdb.enter.default=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
script kdb.enter.witness=run lockinfo