3 config TRACE_IRQFLAGS_SUPPORT
7 bool "Verbose fault messages"
11 When a program crashes due to an exception, or the kernel detects
12 an internal error, the kernel can print a not so brief message
13 explaining what the problem was. This debugging information is
14 useful to developers and kernel hackers when tracking down problems,
15 but mostly meaningless to other people. This is always helpful for
16 debugging but serves no purpose on a production system.
17 Most people should say N here.
21 bool 'Enable Kernel range register Protection'
23 Adds code to enable/disable range registers to protect static
24 kernel code/data from userspace. Currently the ranges covered
25 do no protect kernel loadable modules or dynamically allocated
29 bool "Suppress Kernel BUG Messages"
31 Do not output any debug BUG messages within the kernel.
34 bool "Use the driver that you selected as console also for early printk (to debug kernel bootup)."
37 If you want to use the serdes driver (console=ttyUS0) for
38 early printk, you must also supply an additional kernel boot
41 serdes=ioportaddr,irq,clockrate,baud
43 For an IP7160RGW eval board, you could use this:
45 serdes=0x2004000,61,250000000,57600
47 which will let you see early printk output at 57600 baud.
50 bool "Enable stopping at the LDSR for all traps"
53 Cause the LDSR to stop all threads whenever a trap is about to be serviced
56 bool "Enable stopping on failed BUG_ON()"
59 Cause all BUG_ON failures to stop all threads
61 config DEBUG_IRQMEASURE
62 bool "Enable IRQ handler measurements"
65 When enabled each IRQ's min/avg/max times will be printed. If the handler
66 re-enables interrupt, the times will show the full time including to service
67 nested interrupts. See /proc/irq_measurements.
69 config DEBUG_PCIMEASURE
70 bool "Enable PCI transaction measurements"
73 When enabled the system will measure the min/avg/max timer for each PCI transactions.
74 See /proc/pci_measurements.
76 config ACCESS_OK_CHECKS_ENABLED
77 bool "Enable user space access checks"
80 Enabling this check causes the kernel to verify that addresses passed
81 to the kernel by the user space code are within the processes
82 address space. On a no-mmu system, this is done by examining the
83 processes memory data structures (adversly affecting performance) but
84 ensuring that a process does not ask the kernel to violate another
85 processes address space. Sadly, the kernel uses access_ok() for
86 address that are in the kernel which results in a large volume of
90 prompt "Unaligned Access Support"
91 default UNALIGNED_ACCESS_ENABLED
93 Kernel / Userspace unaligned access handling.
95 config UNALIGNED_ACCESS_ENABLED
96 bool "Kernel and Userspace"
99 config UNALIGNED_ACCESS_USERSPACE_ONLY
100 bool "Userspace Only"
103 config UNALIGNED_ACCESS_DISABLED
109 config DEBUG_STACKOVERFLOW
110 bool "Check for stack overflows"
112 depends on DEBUG_KERNEL
114 This option will cause messages to be printed if free kernel stack space
115 drops below a certain limit (THREAD_SIZE /8).
117 config DEBUG_STACK_USAGE
118 bool "Stack utilization instrumentation"
120 depends on DEBUG_KERNEL
122 Enables the display of the minimum amount of free kernel stack which each
123 task has ever had available in the sysrq-T and sysrq-P debug output.
125 This option will slow down process creation somewhat.
127 source "lib/Kconfig.debug"