18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciconfig GPROF 48c2ecf20Sopenharmony_ci bool "Enable gprof support" 58c2ecf20Sopenharmony_ci depends on DEBUG_INFO && FRAME_POINTER 68c2ecf20Sopenharmony_ci help 78c2ecf20Sopenharmony_ci This allows profiling of a User-Mode Linux kernel with the gprof 88c2ecf20Sopenharmony_ci utility. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more 118c2ecf20Sopenharmony_ci details. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci If you're involved in UML kernel development and want to use gprof, 148c2ecf20Sopenharmony_ci say Y. If you're unsure, say N. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciconfig GCOV 178c2ecf20Sopenharmony_ci bool "Enable gcov support" 188c2ecf20Sopenharmony_ci depends on DEBUG_INFO 198c2ecf20Sopenharmony_ci depends on !KCOV 208c2ecf20Sopenharmony_ci depends on !MODULES 218c2ecf20Sopenharmony_ci help 228c2ecf20Sopenharmony_ci This option allows developers to retrieve coverage data from a UML 238c2ecf20Sopenharmony_ci session. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more 268c2ecf20Sopenharmony_ci details. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci If you're involved in UML kernel development and want to use gcov, 298c2ecf20Sopenharmony_ci say Y. If you're unsure, say N. 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciconfig EARLY_PRINTK 328c2ecf20Sopenharmony_ci bool "Early printk" 338c2ecf20Sopenharmony_ci default y 348c2ecf20Sopenharmony_ci help 358c2ecf20Sopenharmony_ci Write kernel log output directly to stdout. 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci This is useful for kernel debugging when your machine crashes very 388c2ecf20Sopenharmony_ci early before the console code is initialized. 39