Files
core-build/build/profiles/freenas/kernel/DEBUG
William Grzybowski 6ad62eebe6 Unify names
2019-10-24 12:00:22 -03:00

17 lines
830 B
Plaintext

# Debug options to be added to a TRUENAS 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
options ACPI_DEBUG # include ACPI-debug code