Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
| 3 | source "lib/Kconfig.debug" |
| 4 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | config GPROF |
| 6 | bool "Enable gprof support" |
Karol Swietlicki | 054211a | 2008-02-04 22:30:42 -0800 | [diff] [blame] | 7 | depends on DEBUG_INFO && FRAME_POINTER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 9 | This allows profiling of a User-Mode Linux kernel with the gprof |
| 10 | utility. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
Karol Swietlicki | 0ba9d3f | 2008-02-04 22:30:38 -0800 | [diff] [blame] | 12 | See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 13 | details. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 15 | If you're involved in UML kernel development and want to use gprof, |
| 16 | say Y. If you're unsure, say N. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
| 18 | config GCOV |
| 19 | bool "Enable gcov support" |
Jeff Dike | 42fda66 | 2007-10-16 01:26:50 -0700 | [diff] [blame] | 20 | depends on DEBUG_INFO |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 22 | This option allows developers to retrieve coverage data from a UML |
| 23 | session. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
Karol Swietlicki | 0ba9d3f | 2008-02-04 22:30:38 -0800 | [diff] [blame] | 25 | See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 26 | details. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 28 | If you're involved in UML kernel development and want to use gcov, |
| 29 | say Y. If you're unsure, say N. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | |
Jeff Dike | e18eecb | 2007-07-15 23:38:48 -0700 | [diff] [blame] | 31 | config DEBUG_STACK_USAGE |
| 32 | bool "Stack utilization instrumentation" |
| 33 | default N |
| 34 | help |
| 35 | Track the maximum kernel stack usage - this will look at each |
| 36 | kernel stack at process exit and log it if it's the deepest |
| 37 | stack seen so far. |
| 38 | |
| 39 | This option will slow down process creation and destruction somewhat. |
Richard Weinberger | d634f19 | 2011-05-24 17:13:01 -0700 | [diff] [blame^] | 40 | |
| 41 | config EARLY_PRINTK |
| 42 | bool "Early printk" |
| 43 | default y |
| 44 | ---help--- |
| 45 | Write kernel log output directly to stdout. |
| 46 | |
| 47 | This is useful for kernel debugging when your machine crashes very |
| 48 | early before the console code is initialized. |
| 49 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | endmenu |