summaryrefslogtreecommitdiffstats
path: root/src/etc/pfSense-ddb.conf
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-11-21 10:33:30 -0200
committerRenato Botelho <renato@netgate.com>2016-11-21 10:34:28 -0200
commita7d88d2cbf19deb4aee305939fbcfb48eda99e85 (patch)
tree1a864e7b95143964880cb326bff3642318812a22 /src/etc/pfSense-ddb.conf
parent86bb5c37c6d7302593ccc1249faf57228a9cbfe2 (diff)
downloadpfsense-a7d88d2cbf19deb4aee305939fbcfb48eda99e85.zip
pfsense-a7d88d2cbf19deb4aee305939fbcfb48eda99e85.tar.gz
Add our own ddb.conf
Diffstat (limited to 'src/etc/pfSense-ddb.conf')
-rw-r--r--src/etc/pfSense-ddb.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/etc/pfSense-ddb.conf b/src/etc/pfSense-ddb.conf
new file mode 100644
index 0000000..a793705
--- /dev/null
+++ b/src/etc/pfSense-ddb.conf
@@ -0,0 +1,15 @@
+# $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
OpenPOWER on IntegriCloud