summaryrefslogtreecommitdiffstats
path: root/etc/ddb.conf
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-11-16 16:44:13 -0500
committerjim-p <jimp@pfsense.org>2011-11-16 16:44:13 -0500
commit36a4cc17f574e096025fec673eceea87b691d405 (patch)
treea6ea1d8cef45928dbc647b5dc9dc5830dce8ce3f /etc/ddb.conf
parent002cacab57caab1923be6b4b75b96ac3aae7a65f (diff)
downloadpfsense-36a4cc17f574e096025fec673eceea87b691d405.zip
pfsense-36a4cc17f574e096025fec673eceea87b691d405.tar.gz
Add a ddb.conf that will trigger textdumps for all panics and similar crashes, not leave some crashes at a db> prompt.
Diffstat (limited to 'etc/ddb.conf')
-rw-r--r--etc/ddb.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/ddb.conf b/etc/ddb.conf
new file mode 100644
index 0000000..65f49c2
--- /dev/null
+++ b/etc/ddb.conf
@@ -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
OpenPOWER on IntegriCloud