Linux Audio

Check our new training course

Linux debugging, profiling, tracing and performance analysis training

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