summaryrefslogtreecommitdiffstats
path: root/src/etc/pfSense-ddb.conf
diff options
context:
space:
mode:
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..9a6aafd
--- /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.default=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; textdump dump; reset
+
+# kdb.enter.witness witness(4) detected a locking error.
+script kdb.enter.witness=run lockinfo
OpenPOWER on IntegriCloud