hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/kernel/gcov/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menu "GCOV-based kernel profiling"
23
34 config GCOV_KERNEL
....@@ -5,7 +6,7 @@
56 depends on DEBUG_FS
67 select CONSTRUCTORS if !UML
78 default n
8
- ---help---
9
+ help
910 This option enables gcov-based code profiling (e.g. for code coverage
1011 measurements).
1112
....@@ -41,7 +42,7 @@
4142 depends on GCOV_KERNEL
4243 depends on ARCH_HAS_GCOV_PROFILE_ALL
4344 default n
44
- ---help---
45
+ help
4546 This options activates profiling for the entire kernel.
4647
4748 If unsure, say N.
....@@ -49,29 +50,5 @@
4950 Note that a kernel compiled with profiling flags will be significantly
5051 larger and run slower. Also be sure to exclude files from profiling
5152 which are not linked to the kernel image to prevent linker errors.
52
-
53
-choice
54
- prompt "Specify GCOV format"
55
- depends on GCOV_KERNEL
56
- depends on CC_IS_GCC
57
- ---help---
58
- The gcov format is usually determined by the GCC version, and the
59
- default is chosen according to your GCC version. However, there are
60
- exceptions where format changes are integrated in lower-version GCCs.
61
- In such a case, change this option to adjust the format used in the
62
- kernel accordingly.
63
-
64
-config GCOV_FORMAT_3_4
65
- bool "GCC 3.4 format"
66
- depends on GCC_VERSION < 40700
67
- ---help---
68
- Select this option to use the format defined by GCC 3.4.
69
-
70
-config GCOV_FORMAT_4_7
71
- bool "GCC 4.7 format"
72
- ---help---
73
- Select this option to use the format defined by GCC 4.7.
74
-
75
-endchoice
7653
7754 endmenu