summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-04-25 17:35:29 +0200
committerMichal Marek <mmarek@suse.com>2016-05-10 17:12:49 +0200
commitcc622420798c4bcf093785d872525087a7798db9 (patch)
treeb4ca9693236b3548caf056d81e00300cdcf0d0a0 /Makefile
parent815eb71e7149ecce40db9dd0ad09c4dd9d33c60f (diff)
gcov: disable for COMPILE_TEST
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions