Remove full debugger options and enable KDB_TRACE option instead to decrease
kernel size and increase performance.
This commit is contained in:
parent
147fa51f5f
commit
870f517ed9
@ -67,20 +67,8 @@ options CAPABILITY_MODE # Capsicum capability mode
|
|||||||
options CAPABILITIES # Capsicum capabilities
|
options CAPABILITIES # Capsicum capabilities
|
||||||
options MAC # TrustedBSD MAC Framework
|
options MAC # TrustedBSD MAC Framework
|
||||||
options INCLUDE_CONFIG_FILE # Include this file in kernel
|
options INCLUDE_CONFIG_FILE # Include this file in kernel
|
||||||
|
options KDB # Kernel debugger related code
|
||||||
# Debugging support. Always need this:
|
options KDB_TRACE # Print a stack trace for a panic
|
||||||
options KDB # Enable kernel debugger support.
|
|
||||||
# For minimum debugger support (stable branch) use:
|
|
||||||
#options KDB_TRACE # Print a stack trace for a panic.
|
|
||||||
# For full debugger support use this instead:
|
|
||||||
options DDB # Support DDB.
|
|
||||||
options GDB # Support remote GDB.
|
|
||||||
options DEADLKRES # Enable the deadlock resolver
|
|
||||||
options INVARIANTS # Enable calls of extra sanity checking
|
|
||||||
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
|
|
||||||
options WITNESS # Enable checks to detect deadlocks and cycles
|
|
||||||
options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
|
|
||||||
options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
|
|
||||||
|
|
||||||
# To make an SMP kernel, the next two lines are needed
|
# To make an SMP kernel, the next two lines are needed
|
||||||
#options SMP # Symmetric MultiProcessor Kernel
|
#options SMP # Symmetric MultiProcessor Kernel
|
||||||
|
Loading…
Reference in New Issue
Block a user