Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1386591
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Arnd Bergmann <arnd@arndb.de> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/5] gcov: disable for COMPILE_TEST |
| Date | Mon, 25 Apr 2016 17:40:02 +0200 |
| Message-ID | <rrQMa-8el-7@gated-at.bofh.it> (permalink) |
| References | <rrQM9-8el-3@gated-at.bofh.it> |
| X-Mailer | git-send-email 2.7.0 |
| X-Provags-ID | V03:K0:PAXV0DbLyxSxYErHhXcBWd4LfsBOkIMoMsT5hdTyFn5U+4+UXQA 4wm+qH7xrQ9XJxGSq5Zvw5NZGb6GmU3NHzN+Zvqdc0r/jZCvKiJ2nh9fdER1vS+Mdl4gONu JTA7UlULItlqcDSrrbxCF1AElVE0rg/SvEF2smXK0Z17dqqgGiDg6VtGijFaQnsFmFDNmuJ 6T2rhjNMtRiLyvtldA30A== |
| X-Ui-Out-Filterresults | notjunk:1;V01:K0:UZaW+ZNUMAY=:lcrGPSlH9AlPPz+idcWUt8 5voHs3G2/BpYgDRX3GSmEsuyDtE1tKAB9iF4MQP9GELSsYiv0aseS0JixFuNzEFg2uaUwXEpz i4SZTCjZimrRmqSI7kBVzg5CN/9NnTp7TfBq3RPCUd87xcBaDuCb5Tk+FsYvZsw6M91yglY31 YYVOCKY6YZCrIMutW5/KJrZKgoLImihJp9RA8MmHwNOqqIWLnWEflbBNhG2YF0bRRV9FuQqXJ ltKbXCFXMP/kN1EXunuaiDmCeO5WnNzcBy9LFpZHTkhxl86cVa4kJc5UvhwOQQKuu0BFOR7i6 7hC+KEZor7BpJ9Y2o+SgH3S0uCqNYE5sr3KwGYrCNxtue+RfB7DyZyfKhm9UCGtZWumxKJUzj M0AssvM581UR4yXL+1EaAC4SVUpeUseDEdVa6sCOLSmYErzv7s2/Dx19YYeI/vMgZloXETooQ FlVPOvIsy8pIQflpAFWfe85LwEDTVP3B04F6QVSFRgkwwerILtiOcqNnbs0SrhMR+1ElUUYgW 5OV1bgHCCJ5RhGurXByhDWRtlIsA2Gese4WzHYSSflv+7GCmzc+FsISv4p+b1rjpJas5mFwt7 JATmHsOkosbbtO/Fwi0DS9RjM/I1aRUjQvSmGpwMOMFzekNOyZZGKX0y5yaugH7Fs4AxzbhWm Z/CXAYGCSj0FQGf05CfDV61d+rWaea+FLbuiKnzKK3FVXyaskvcSBt/FVwyOJwQPKHhw= |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 32 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kbuild@vger.kernel.org, Peter Oberparleiter <oberpar@linux.vnet.ibm.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de> |
| X-Original-Date | Mon, 25 Apr 2016 17:35:29 +0200 |
| X-Original-Message-ID | <1461598531-2190169-4-git-send-email-arnd@arndb.de> |
| X-Original-References | <1461598531-2190169-1-git-send-email-arnd@arndb.de> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1386591 |
Show key headers only | View raw
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> --- kernel/gcov/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/gcov/Kconfig b/kernel/gcov/Kconfig index c92e44855ddd..1276aabaab55 100644 --- 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 -- 2.7.0
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 3/5] gcov: disable for COMPILE_TEST Arnd Bergmann <arnd@arndb.de> - 2016-04-25 17:40 +0200
csiph-web