From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x224r2ip1OT369qbkaiukNDkj0tQkj9Xyy6Jgr4xj6ljo4LDSblUzhE1oLefYtceLStiPFkcn ARC-Seal: i=1; a=rsa-sha256; t=1516610456; cv=none; d=google.com; s=arc-20160816; b=p0QI3vmZeZktKOi0R7nDI27N7oIoeOkgQUycGoHHhXRPxZgw40WCPSp1L514mMNxdH 1rUVWtXr3688+L1Yq4mm8h/nwSldcu6Xh+IbNSzDLnsoxa3jWtvgtivvwuwCtBHS3Z2j su/ntMfoRL+E+wOwIdRDkQTx3C16SXHHxGALvU1PfyaKzin98FM2AQ4Drysbab5rXOXZ tokYcsn40f2khbmNGjyzYvRb39JtdjXVXDmvwPxl1GIl/FOxkitZl6I9s42X4gI8PmId eKnbZ8IYX5GiXxeP1RAfhr3ioxnOmyISuz57tWI8hLI+FQ6Nyf7SsfYGEB5tPTBsqJON 3OtA== 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=nEYml5oihiM9BwZdR4Hyn82IjVRITcR2lnu9MzUsYRQ=; b=ikbVpLFTIlFhOblUCuvocAPSjwr4j8InVotZ9EDv0fXly2EHwFgTqPinTLg0youvr4 zWafYhRRBrW9N/YlpEhUUDgtp2gODjbJ02ncd2GYrpXUf28zv1QZNLxWYv+CorUiSrWJ XsPeietUogHlJRl44KW3oPuUPhtXCpnkMwabTMwooDXtImUvhdqD1VYlvgioltRN7AdE z19CCsGww5q6oHltCnUGsnvpuc1NyYG3HbKU1yJYHMi0/OlAH/67dNhrRAhXgX/8030k kmAtFr1ezZ1UFzInYf6TjHJmYgSqAWWI9q9Hhmp4KmNw+he5xeJK9hUi3NNHKk1yUW2u KwPg== 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 4.4 01/53] gcov: disable for COMPILE_TEST Date: Mon, 22 Jan 2018 09:39:53 +0100 Message-Id: <20180122083910.370760739@linuxfoundation.org> X-Mailer: git-send-email 2.16.0 In-Reply-To: <20180122083910.299610926@linuxfoundation.org> References: <20180122083910.299610926@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?1590281325247092552?= X-GMAIL-MSGID: =?utf-8?q?1590281325247092552?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 4.4-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 @@ -37,6 +37,7 @@ config ARCH_HAS_GCOV_PROFILE_ALL config GCOV_PROFILE_ALL bool "Profile entire Kernel" + depends on !COMPILE_TEST depends on GCOV_KERNEL depends on ARCH_HAS_GCOV_PROFILE_ALL default n