mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
16 lines
783 B
Plaintext
16 lines
783 B
Plaintext
# Debug options to be added to a FREENAS kernel config
|
|
|
|
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
|
|
options DEBUG_VFS_LOCKS # enable VFS lock debugging
|