From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x2261GPhtU8WZttcQgqIyZR3wP5qPTGMm1AAjJlgmRhOKj6a/1aR5n7LUwPrF3L4iVZhWcAfY ARC-Seal: i=1; a=rsa-sha256; t=1517256756; cv=none; d=google.com; s=arc-20160816; b=gfoX8nVI1bVvx7S+gfyxFGmCfvSlpYI3aUscEvmd9lqp8cE/16pd09Bb471P2hPzOK oumuTfRKXQMhCdCBDqmYiIepBwQ6KEZiaiPTa96YRff23v26BMXMyhkGZmLsBFNnhf5f oAr9PIQSRnCyN16E2wwbtlQ9qXplxIVHm1kC3IhPfi3C4gZYY+222ylDoC0UBir5NvIE KAGN5+Lp0VLxJLsfKETkfcZb2St87i2ojYewXoO7TmwMYWgaBgLROTIPzgunHD3yN/Z9 niDz3T2cEsWOXmU3v+ADq60RhpY1RLaD4G6umajSOlckgd+6jH2D+kJOoxf2onMaNRwI lt2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=+11cv6uy9dK6m3l4Au8k1bveU6ajzwTBeDiK8GWLYIE=; b=OLcjPOrFc07mREoc2iOz+XBNjuoWuk/fOLo/9qSVYlEa4pbzWixaYeV31CA7A17LXO HMjLyXH/nY7G1tqSDFtq3/t9LwBkKXtN8bP4wgQAvro4NvuqG6ses32KDNp4RXwqVNbr ozagp782N1nerT1h88DZNbGv6wa/pE25TCd+NnArhkOoeF0+FBwE3yyGUWtP4+oZVzGd 3k59FUkj/Uz64kkNoiynL+0TyD796c0xGYV5zk+VcYcQXTokc0BJV0Ig7K2a77fTR1e9 0Ft9BZu7zcIy43NFhmXLwTtXLIGoaLKQRzo5/lV7pN5RcA8KBAj4jJT6D5Uv/33fePE0 Xowg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Peter Oberparleiter , Michal Marek Subject: [PATCH 3.18 01/52] gcov: disable for COMPILE_TEST Date: Mon, 29 Jan 2018 13:56:19 +0100 Message-Id: <20180129123628.244419707@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180129123628.168904217@linuxfoundation.org> References: <20180129123628.168904217@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-LABELS: =?utf-8?b?IlxcU2VudCI=?= X-GMAIL-THRID: =?utf-8?q?1590959020880762767?= X-GMAIL-MSGID: =?utf-8?q?1590959020880762767?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit cc622420798c4bcf093785d872525087a7798db9 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 Acked-by: Peter Oberparleiter Signed-off-by: Michal Marek Signed-off-by: Greg Kroah-Hartman --- kernel/gcov/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/kernel/gcov/Kconfig +++ b/kernel/gcov/Kconfig @@ -34,6 +34,7 @@ config GCOV_KERNEL config GCOV_PROFILE_ALL bool "Profile entire Kernel" + depends on !COMPILE_TEST depends on GCOV_KERNEL depends on SUPERH || S390 || X86 || PPC || MICROBLAZE || ARM || ARM64 default n