Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6357151ybi; Wed, 29 May 2019 06:44:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyufkWmrm4mzw2QJUmsZDJFLQuFIof9bhAdBicQiimP2rkKs6RJBZP618brYEGoweyVPlI3 X-Received: by 2002:aa7:8219:: with SMTP id k25mr58429474pfi.38.1559137482142; Wed, 29 May 2019 06:44:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559137482; cv=none; d=google.com; s=arc-20160816; b=iGVC+8jZysIF96ThVMJMguO1yhuRa/iNkhkvuciEQWwjPftAoE9OxbXkj/htBWKfkA z9gF5J38EhlbV3gSvcBSvtegJj+PEcBU7Ner3L1ZDsyKwPDN3Y3Zvebdye89hdSTafv5 NovFypHL6U92IGtz3dtjMfSVS8o65dofp82Jp6wNJcMHHaB5QZZw1/3l1V5F7Uf4M772 OKjYOcqD+8Ngge21LoO5YwDXHo1BRxYM6jhu8Se+L1suxBIkDz6TJK0w2IeXOEhu/GYf 0GE/zEh43M4EUj9gtYbAWWLhDAO2XGpCbW+Gp0omvzQbEBfcp1xrsBwkDa8Ph15CLkZp RT2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=10Sgr4KoOvxj5IRiocrEj1QA9w+FzRZ30VNM6K3+zD4=; b=ZMSN3aN+duKXIQRK1gf4vIRulNa8cuO7cLOx+Oi/jtNu0IdOFMlWbq7RgUYqOnKfet tzoFcXkAxnXtnepXnn3AzkasIOfKtwJ9Lo2puzaaL4kTnYo0TCBVIsDKAyrlVgBeXFpF YWJkXX8pCrz3F74xCI5Po9YQcBBLjwVxNcN/WdDZwYe8QgfSGP+vQtaU9f+BKHM1w4UX d3VIx2u8DrY2paHk04VJNrsLooIjYmDIgNs/U//xjQX6N3H38mhsg8UnSQYFQBLVsRGp sVlkM5OVjOiBHUBAuVNIGG6uWg9AJcP2CgLoETPZ31dhKqV8xbzbojmNwzPZiWMHe1kD U3MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=UitTYw7U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si25445459pgb.427.2019.05.29.06.44.24; Wed, 29 May 2019 06:44:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=UitTYw7U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727325AbfE2NmO (ORCPT + 99 others); Wed, 29 May 2019 09:42:14 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:39738 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726612AbfE2NmN (ORCPT ); Wed, 29 May 2019 09:42:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=10Sgr4KoOvxj5IRiocrEj1QA9w+FzRZ30VNM6K3+zD4=; b=UitTYw7U2uWW2cHi64yEuejtX 4R+jVh2r4FK0YjiPB62XRVxFNFpvCiYGj1ZxrsXXvv08ZneciW6FAaR+eKuqWGciqqulGYiBi8vxB wXKZZCIkcvMvnvAZnGUjq/TLLA1ANy0nL8/h1cDatE2wi1w7FktHa11xfCDDNLyxC85/wxjbyU5md LzcsHV/fba8ydkl7mXrFsLT6j4mRNYYXDbNKoS9nAtRCTYzdQ/eltfaG7CigapT4R5vsdNQM3MTYW fSZAEXuODNB4gRoPcYnIRRRCeQQ9bC8GwtdGYTIxSCS6T3KHf60/CAOGxzJ+Y56O+YXj8GKLaCmKs yuxzlVYCA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVyq2-0002Ct-Iu; Wed, 29 May 2019 13:41:54 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id BB12A201D5AB1; Wed, 29 May 2019 15:41:52 +0200 (CEST) Date: Wed, 29 May 2019 15:41:52 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: Matt Helsley , LKML , Ingo Molnar , Steven Rostedt Subject: Re: [RFC][PATCH 00/13] Cleanup recordmcount and begin objtool conversion Message-ID: <20190529134152.GX2623@hirez.programming.kicks-ass.net> References: <20190528144328.6wygc2ofk5oaggaf@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190528144328.6wygc2ofk5oaggaf@treble> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 28, 2019 at 09:43:28AM -0500, Josh Poimboeuf wrote: > Would it be feasible to eventually combine subcommands so that objtool > could do both ORC and mcount generation in a single invocation? I > wonder what what the interface would look like. objtool orc+mcount ? That is, have '+' be a separator for cmd thingies. That would of course require all other arguments to be shared between all commands, which is currently already so, but I've not checked the mcount patches. Alternatively, we ditch the command thing entirely and live off of pure flags: 'o', "orc", "Generate ORC data" 'c', "mcount', "Generate mcount() location data"