| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" | 
|  | 2 |  | 
| Robert Reif | e8dd161 | 2007-09-27 13:15:31 -0700 | [diff] [blame] | 3 | config TRACE_IRQFLAGS_SUPPORT | 
|  | 4 | bool | 
|  | 5 | default y | 
|  | 6 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | source "lib/Kconfig.debug" | 
|  | 8 |  | 
|  | 9 | config DEBUG_STACK_USAGE | 
|  | 10 | bool "Enable stack utilization instrumentation" | 
|  | 11 | depends on DEBUG_KERNEL | 
|  | 12 | help | 
|  | 13 | Enables the display of the minimum amount of free stack which each | 
|  | 14 | task has ever had available in the sysrq-T and sysrq-P debug output. | 
|  | 15 |  | 
|  | 16 | This option will slow down process creation somewhat. | 
|  | 17 |  | 
| Sam Ravnborg | 5bb28a5 | 2008-11-15 13:39:18 -0800 | [diff] [blame] | 18 | config DEBUG_DCFLUSH | 
|  | 19 | bool "D-cache flush debugging" | 
|  | 20 | depends on SPARC64 && DEBUG_KERNEL | 
|  | 21 |  | 
| Sam Ravnborg | 5bb28a5 | 2008-11-15 13:39:18 -0800 | [diff] [blame] | 22 | config MCOUNT | 
|  | 23 | bool | 
|  | 24 | depends on SPARC64 | 
| David S. Miller | ddacd0b | 2010-04-12 22:36:03 -0700 | [diff] [blame] | 25 | depends on FUNCTION_TRACER | 
| Sam Ravnborg | 5bb28a5 | 2008-11-15 13:39:18 -0800 | [diff] [blame] | 26 | default y | 
|  | 27 |  | 
|  | 28 | config FRAME_POINTER | 
|  | 29 | bool | 
|  | 30 | depends on MCOUNT | 
|  | 31 | default y | 
|  | 32 |  | 
| David S. Miller | fb34035 | 2009-12-10 23:05:23 -0800 | [diff] [blame] | 33 | config DEBUG_STRICT_USER_COPY_CHECKS | 
|  | 34 | bool "Strict copy size checks" | 
|  | 35 | depends on DEBUG_KERNEL && !TRACE_BRANCH_PROFILING | 
|  | 36 | ---help--- | 
|  | 37 | Enabling this option turns a certain set of sanity checks for user | 
|  | 38 | copy operations into compile time failures. | 
|  | 39 |  | 
|  | 40 | The copy_from_user() etc checks are there to help test if there | 
|  | 41 | are sufficient security checks on the length argument of | 
|  | 42 | the copy operation, by having gcc prove that the argument is | 
|  | 43 | within bounds. | 
|  | 44 |  | 
|  | 45 | If unsure, or if you run an older (pre 4.4) gcc, say N. | 
|  | 46 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | endmenu |