aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2021-01-14 10:54:18 +0000
committerAndrew Turner <andrew@FreeBSD.org>2021-01-14 16:57:53 +0000
commit6eebda3bbad96ab6ef001781ee1b6de45af062a2 (patch)
tree611829c17c33f2a667e6c29140e29c79f274f0eb /sys/conf
parent6483fc224b1a68528a65c16e9d8e55e2b5535ee9 (diff)
downloadsrc-6eebda3bbad96ab6ef001781ee1b6de45af062a2.tar.gz
src-6eebda3bbad96ab6ef001781ee1b6de45af062a2.zip
Split out the NODEBUG options to a common file
This is the superset of the nooptions found in the -DEBUG kernels. Reviewed by: emaste, manu Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D28152
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/std.nodebug23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/conf/std.nodebug b/sys/conf/std.nodebug
new file mode 100644
index 000000000000..53a7fc6b2f81
--- /dev/null
+++ b/sys/conf/std.nodebug
@@ -0,0 +1,23 @@
+#
+# std.nodebug -- Disable the debug options found in the GENERIC kernel config.
+#
+
+nooptions INVARIANTS
+nooptions INVARIANT_SUPPORT
+nooptions WITNESS
+nooptions WITNESS_SKIPSPIN
+nooptions BUF_TRACKING
+nooptions FULL_BUF_TRACKING
+nooptions DEADLKRES
+nooptions COVERAGE
+nooptions KCOV
+nooptions MALLOC_DEBUG_MAXZONES
+nooptions QUEUE_MACRO_DEBUG_TRASH
+
+# USB debugging
+nooptions USB_DEBUG
+nooptions HID_DEBUG
+
+# CAM debugging
+nooptions CAMDEBUG
+nooptions CAM_DEBUG_FLAGS