linux/arch/e2k/Kconfig.debug

52 lines
1.3 KiB
Plaintext

config TRACE_IRQFLAGS_SUPPORT
def_bool y
config E2K_DEBUG_KERNEL
bool "Enable e2k arch kernel debugging"
depends on DEBUG_KERNEL
default y
config NESTED_PAGE_FAULT_INJECTION
bool "Inject nested page faults when handling trap cellar"
depends on E2K_DEBUG_KERNEL && DEBUG_FS
default n
help
Makes do_page_fault() return success without doing anything with
some probability. This way recovery operation will fail, and the
code path in nested page fault handler will be tested.
config DEBUG_LCC_VOLATILE_ATOMIC
bool "Mark GNU asm with atomic operations as volatile"
depends on E2K_DEBUG_KERNEL
default n
config DEBUG_IRQ
bool "Check of IRQ enabled/disabled using both PSR & UPSR"
depends on E2K_DEBUG_KERNEL
default n
config DEBUG_PT_REGS
bool "Enable checker of pt_regs structure linking"
depends on E2K_DEBUG_KERNEL
default n
config DEBUG_KMEM_AREA
bool "Enable checker of kernel memory area getting and freeing"
depends on E2K_DEBUG_KERNEL
default n
config DEBUG_STACK_USAGE
bool "Stack utilization instrumentation"
depends on DEBUG_KERNEL
help
Enables the display of the minimum amount of free stack which each
task has ever had available in the sysrq-T and sysrq-P debug output.
This option will slow down process creation somewhat.
config ARCH_SUPPORTS_DEBUG_PAGEALLOC
def_bool y
source "arch/l/Kconfig.debug"