mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
6483fc224b
commit
6eebda3bba
7 changed files with 29 additions and 55 deletions
|
|
@ -27,17 +27,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions BUF_TRACKING
|
||||
nooptions DEADLKRES
|
||||
nooptions FULL_BUF_TRACKING
|
||||
nooptions COVERAGE
|
||||
nooptions KCOV
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
nooptions QUEUE_MACRO_DEBUG_TRASH
|
||||
|
|
|
|||
|
|
@ -27,12 +27,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
|
|
|||
|
|
@ -27,16 +27,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
nooptions USB_DEBUG
|
||||
nooptions HID_DEBUG
|
||||
nooptions COVERAGE
|
||||
nooptions KCOV
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
|
|
|||
23
sys/conf/std.nodebug
Normal file
23
sys/conf/std.nodebug
Normal file
|
|
@ -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
|
||||
|
|
@ -27,12 +27,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
|
|
|||
|
|
@ -27,12 +27,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
|
|
|||
|
|
@ -27,16 +27,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
include GENERIC
|
||||
include "../../conf/std.nodebug"
|
||||
|
||||
ident GENERIC-NODEBUG
|
||||
|
||||
nooptions INVARIANTS
|
||||
nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions BUF_TRACKING
|
||||
nooptions DEADLKRES
|
||||
nooptions FULL_BUF_TRACKING
|
||||
nooptions COVERAGE
|
||||
nooptions KCOV
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
|
|
|||
Loading…
Reference in a new issue