^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) config GPROF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) bool "Enable gprof support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) depends on DEBUG_INFO && FRAME_POINTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) This allows profiling of a User-Mode Linux kernel with the gprof
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) utility.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) If you're involved in UML kernel development and want to use gprof,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) say Y. If you're unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) config GCOV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) bool "Enable gcov support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) depends on DEBUG_INFO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) depends on !KCOV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) depends on !MODULES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) This option allows developers to retrieve coverage data from a UML
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) session.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) If you're involved in UML kernel development and want to use gcov,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) say Y. If you're unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) config EARLY_PRINTK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) bool "Early printk"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Write kernel log output directly to stdout.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) This is useful for kernel debugging when your machine crashes very
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) early before the console code is initialized.