Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2523144ybi; Sun, 28 Jul 2019 10:52:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5EeTJnFRJbLKoCk8yejq4PjjJXPUqFc2LW7V4SH6OWh+b3hepmw3bC2c/CdrfhUlGCBMi X-Received: by 2002:a63:d84e:: with SMTP id k14mr100971763pgj.234.1564336319730; Sun, 28 Jul 2019 10:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564336319; cv=none; d=google.com; s=arc-20160816; b=J+j1k1OXQro+ajhyYH1Iz2HsfeQ9zRp8JqdcA9YdevqP+48/Xzd1wjpFsAUx9TvIhJ CSsf8v5kPPCk15g1XTkdBjE2pMVTI90gjf42Dcds612iAwHeCIGBpMTAo8z3pb6yOoEh Tjg0Vs4PYdk/nM4dR5yRZLODfQ+qrlvoC/a+siMbNkzDlWOjvFYW+sRe+5UxaJwzaTf/ MbZjSWrFEppspwCwUgq3fo26lzgnD6sOE0TEwBPuqLhvjqgNBkC+v46LCRd05UbfMm8E +O1rSsRscdAUilSJo4q+hpI0DrE18BLsLiQbaNAAZYpgDEG7+jFjr2RPQXIfVOpbrmkt AJpg== 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; bh=H4WpljNwkTKJwFxkjM1qyDQ79C4mqfe7pZiPbhYR18g=; b=HggE5qNpOuKl0Y9Ktt7gA9QiVxfWIr3z4JORxXmse4942Rjt4uwUFNEPmKO7vaUvJh 96cptSWIm4ANuJi7TH0Asy23JmEqX628fSp1XioZYGSPWQGjTKgMX10L+bCnZycbkv9q fvDLRXEDOMirrc+JmFDa8wWTYY+ts2df7hwCjn1jOXKAayjY1KdrDcCdPbCK6nlSr/ZP ZzlnnqhpnrxjNXxS8/K6ApW5oRjw6eaRjLwoThaEsjuDR7invEgYGUBCNmdedtVsA7rA g8VqTOHSoA/QdHrYNy+mdYY9GsyRaqfZjvt345mtS67VuxK6jMcao3cV9poeaFz1kjNv h5Wg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y15si24076185pjp.90.2019.07.28.10.51.43; Sun, 28 Jul 2019 10:51:59 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726229AbfG1RtC (ORCPT + 99 others); Sun, 28 Jul 2019 13:49:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48352 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726080AbfG1RtC (ORCPT ); Sun, 28 Jul 2019 13:49:02 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 13B6085363; Sun, 28 Jul 2019 17:49:02 +0000 (UTC) Received: from treble (ovpn-120-102.rdu2.redhat.com [10.10.120.102]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 61E2E60600; Sun, 28 Jul 2019 17:49:01 +0000 (UTC) Date: Sun, 28 Jul 2019 12:48:59 -0500 From: Josh Poimboeuf To: Matt Helsley Cc: LKML , Ingo Molnar , Peter Zijlstra , Steven Rostedt Subject: Re: [PATCH v3 10/13] objtool: Make recordmcount into an objtool subcmd Message-ID: <20190728174859.v767keld5x3zylq7@treble> References: <13ef7e93410f99579fa9b8a44bdd313e8300b706.1563992889.git.mhelsley@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <13ef7e93410f99579fa9b8a44bdd313e8300b706.1563992889.git.mhelsley@vmware.com> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sun, 28 Jul 2019 17:49:02 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 24, 2019 at 02:05:04PM -0700, Matt Helsley wrote: > diff --git a/scripts/Makefile.build b/scripts/Makefile.build > index 08b70ee9614a..43707491317c 100644 > --- a/scripts/Makefile.build > +++ b/scripts/Makefile.build > @@ -170,22 +170,21 @@ endif > > ifdef CONFIG_FTRACE_MCOUNT_RECORD > ifndef CC_USING_RECORD_MCOUNT > -# compiler will not generate __mcount_loc use recordmcount or recordmcount.pl > -ifdef BUILD_C_RECORDMCOUNT > +# compiler will not generate __mcount_loc use objtool mcount record or recordmcount.pl This comment could use some English-ification, something like: # The compiler doesn't support generation of the __mcount_loc section. # Generate it manually with "objtool mcount record" or recordmcount.pl. > @@ -236,9 +235,10 @@ endif # SKIP_STACK_VALIDATION > endif # CONFIG_STACK_VALIDATION > > # Rebuild all objects when objtool changes, or is enabled/disabled. > -objtool_dep = $(objtool_obj) \ > +objtool_dep += $(objtool_obj) \ > $(wildcard include/config/orc/unwinder.h \ > - include/config/stack/validation.h) > + include/config/stack/validation.h \ > + include/config/ftrace/mcount/record.h) I think the '+=' isn't needed as this is the only place objtool_dep gets set? -- Josh