summaryrefslogtreecommitdiffstats
path: root/Documentation/gcov.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/gcov.txt')
-rw-r--r--Documentation/gcov.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/gcov.txt b/Documentation/gcov.txt
index e7ca6478cd9..7b727783db7 100644
--- a/Documentation/gcov.txt
+++ b/Documentation/gcov.txt
@@ -50,6 +50,10 @@ Configure the kernel with:
CONFIG_DEBUG_FS=y
CONFIG_GCOV_KERNEL=y
+select the gcc's gcov format, default is autodetect based on gcc version:
+
+ CONFIG_GCOV_FORMAT_AUTODETECT=y
+
and to get coverage data for the entire kernel:
CONFIG_GCOV_PROFILE_ALL=y