linux-brain/kernel/gcov
Arnd Bergmann e6c591e7a4 gcov: disable for COMPILE_TEST
commit cc62242079 upstream.

Enabling gcov is counterproductive to compile testing: it significantly
increases the kernel image size, compile time, and it produces lots
of false positive "may be used uninitialized" warnings as the result
of missed optimizations.

This is in line with how UBSAN_SANITIZE_ALL and PROFILE_ALL_BRANCHES
work, both of which have similar problems.

With an ARM allmodconfig kernel, I see the build time drop from
283 minutes CPU time to 225 minutes, and the vmlinux size drops
from 43MB to 26MB.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-23 19:50:10 +01:00
..
base.c gcov: support GCC 7.1 2017-09-02 07:06:51 +02:00
fs.c kernel/gcov/fs.c: remove unnecessary null test before debugfs_remove 2014-08-08 15:57:24 -07:00
gcc_3_4.c gcov: move gcov structs definitions to a gcc version specific file 2013-11-13 12:09:34 +09:00
gcc_4_7.c gcov: support GCC 7.1 2017-09-02 07:06:51 +02:00
gcov.h gcov: move gcov structs definitions to a gcc version specific file 2013-11-13 12:09:34 +09:00
Kconfig gcov: disable for COMPILE_TEST 2018-01-23 19:50:10 +01:00
Makefile kbuild,gcov: simplify kernel/gcov/Makefile more 2015-01-09 17:25:44 +01:00