Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp210769ybz; Wed, 15 Apr 2020 07:21:42 -0700 (PDT) X-Google-Smtp-Source: APiQypLoz34ewetiapBIrAlXRCtPcvrMgbaN91bC+o/sR5BQq2Z/CKx3Wsv+mYXtkm1OQl/aJ3rp X-Received: by 2002:aa7:da0b:: with SMTP id r11mr25744528eds.63.1586960502696; Wed, 15 Apr 2020 07:21:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586960502; cv=none; d=google.com; s=arc-20160816; b=qG5e43Fs0cM81BOb1BsAUIoU7ZnmMKmTiyPNgfj3VTtUQWRxuDi/qire0nHfLFox4a FLBFaYJ+1VViuASjayZaNHf4Un4sC9CQqR9+PLEHjIi9O29PKEbgT5lAupagdZBrBXSZ /CxPBEwAhWWez58zB1WZSFzx0vidxa3zLXHBScQucC35xFtCSp/0xIbNqcCnMaQvC8AJ UWleREswVbX0AXkygPBM/bNe10NNkmbtbpw/bIHlbkN93e75cpgOeVgSe/u1pdg2fXSo HSTJ1uTryAuFkS/pFnkYhNNtku3lQ1M9A4wLeY47c8K9pn9Qe9qpekHXqcA/154HgxXF uTxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=RGZB7ae/M0io69TXtZXpt/WVolg10zvCmI4RiKooIhY=; b=poikvpdkhA0yz+8AwtAB1Z/UcpugxhK6nJ0cAyDb1+ERELBZrB2ttf3qCrOoE1LKA7 G8/R6tc6RZnavpgW1Z0RLJc68pLv6xeaLeBLiKcz4BXlwy7QDZ9sCEFL172kfPeCtca3 P7V1Domfn0iPmopzRgWaqpTCInQp06iYB4pP89RHDktpu1rscY1awEIZnKBiGqhoDFJy Q6xiE0NuaQFqhHiSEbDbfTkJA1qzr0EwNhXvLccjFeSvyjeVwE0ScSYbVFHp4y27/7CL 0t9FE2of2faK3/dn12IzJtCtCidTkmj5vbIt2Fs1FbIEK8Muw2O3yshnkb7hxKwsDBnE V6JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=f1arLuVk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si4364690edr.528.2020.04.15.07.21.15; Wed, 15 Apr 2020 07:21:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=f1arLuVk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391927AbgDNWZt (ORCPT + 99 others); Tue, 14 Apr 2020 18:25:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2391879AbgDNWZo (ORCPT ); Tue, 14 Apr 2020 18:25:44 -0400 Received: from merlin.infradead.org (unknown [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B866C061A0C for ; Tue, 14 Apr 2020 15:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=RGZB7ae/M0io69TXtZXpt/WVolg10zvCmI4RiKooIhY=; b=f1arLuVkBWrOzrndQG4SYz2zdt FxURcJ1jbpOYqhr+OGRKYG3NNk/UM91ZkH+aY0HTSEUBP+sfL3afkLyu/Rcp2tdbP0CWWzdtnN86R ejX+ieyK4FQD6VB2EklKVnN+5bYPUci+n66z6ngnRwi6YIAtYUleDs/Tjfrj86/V1i4wSVFICQZHO Fixfv0eSBKQ4XTO0vHVOiJc3RwMf4U6hPeSxRCdFWuk7Osx6qBsIcbbnMxOHD58zUUgkZ+lbKtUQh xHVqKstD+n7tqjJR3AgN9HBghgrppm7g5vH/az2IzMqN4maTV7ahUdMt+XidI0BcInmkAyKEvhc0q ffC0Mq/Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jOTzX-0008BR-OJ; Tue, 14 Apr 2020 22:25:15 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 069BA305F3F; Wed, 15 Apr 2020 00:25:12 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id B042D2BB08C26; Wed, 15 Apr 2020 00:25:12 +0200 (CEST) Date: Wed, 15 Apr 2020 00:25:12 +0200 From: Peter Zijlstra To: Steven Rostedt Cc: Matt Helsley , Julien Thierry , linux-kernel@vger.kernel.org, Josh Poimboeuf , Ingo Molnar , Miroslav Benes Subject: Re: [RFC][PATCH 00/36] objtool: Make recordmcount a subcommand Message-ID: <20200414222512.GX20730@hirez.programming.kicks-ass.net> References: <3a3f70df-07b0-91d9-33e1-e997e72b0c5c@redhat.com> <20200414093506.7b91bbbb@gandalf.local.home> <064f41bd-0dfe-e875-df7c-214184c29fa7@redhat.com> <20200414115458.093e221b@gandalf.local.home> <20200414200910.GB118458@rlwimi.vmware.com> <20200414204729.GJ2483@worktop.programming.kicks-ass.net> <20200414170520.4d347caa@gandalf.local.home> <20200414211754.GK2483@worktop.programming.kicks-ass.net> <20200414174702.1d540e24@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200414174702.1d540e24@gandalf.local.home> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 14, 2020 at 05:47:02PM -0400, Steven Rostedt wrote: > On Tue, 14 Apr 2020 23:17:54 +0200 > Peter Zijlstra wrote: > > > > Do we want that? Matters how long that takes. > > > > We do want that, however it is conditional on CONFIG_DEBUG_ENTRY and > > does some rather specific validation. On a defconfig based kernel it > > takes ~2.5 seconds, significantly more an an allyesconfig. > > Is that timed on your laptop, or on the monster machine you normally do your > builds on? > > 2.5 seconds for you may be 2.5 minutes for others! ;-) Final link pass, and objtool, is single threaded, the ~2.5s were on an old-ish 2.8GHz part, ie, most laptops are faster today. The machine has a few more cores than laptops have, so total build time is still managable, unlike laptops. Also, it being a server part, it suffers less thermal issues.