Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | config GPROF |
| 4 | bool "Enable gprof support" |
Karol Swietlicki | 054211a | 2008-02-04 22:30:42 -0800 | [diff] [blame] | 5 | depends on DEBUG_INFO && FRAME_POINTER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | help |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 7 | This allows profiling of a User-Mode Linux kernel with the gprof |
| 8 | utility. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Karol Swietlicki | 0ba9d3f | 2008-02-04 22:30:38 -0800 | [diff] [blame] | 10 | See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 11 | details. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
Jeff Dike | 4c9e138 | 2007-10-16 01:26:54 -0700 | [diff] [blame] | 13 | If you're involved in UML kernel development and want to use gprof, |
| 14 | say Y. If you're unsure, say N. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | config GCOV |
| 17 | bool "Enable gcov support" |
Jeff Dike | 42fda66 | 2007-10-16 01:26:50 -0700 | [diff] [blame] | 18 | depends on DEBUG_INFO |
Richard Weinberger | 550ed0e | 2018-10-30 12:58:12 +0100 | [diff] [blame] | 19 | depends on !KCOV |
Johannes Berg | ad3d1991 | 2021-03-15 23:47:31 +0100 | [diff] [blame] | 20 | depends on !MODULES |
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 | |
Richard Weinberger | d634f19 | 2011-05-24 17:13:01 -0700 | [diff] [blame] | 31 | config EARLY_PRINTK |
| 32 | bool "Early printk" |
| 33 | default y |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 34 | help |
Richard Weinberger | d634f19 | 2011-05-24 17:13:01 -0700 | [diff] [blame] | 35 | Write kernel log output directly to stdout. |
| 36 | |
| 37 | This is useful for kernel debugging when your machine crashes very |
| 38 | early before the console code is initialized. |