summaryrefslogtreecommitdiffstats
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:54 -0500
commit55aaceb330e9a3f68e20a3a3664ef6e0cd7d3234 (patch)
treed3cb16d17a66039c44ca4971d680b700179b73fe
parentbf7b597a31efb59919fdea18955647bb504cd699 (diff)
downloadpfsense-55aaceb330e9a3f68e20a3a3664ef6e0cd7d3234.zip
pfsense-55aaceb330e9a3f68e20a3a3664ef6e0cd7d3234.tar.gz
Add a ddb.conf that will trigger textdumps for all panics and similar crashes, not leave some crashes at a db> prompt.
-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