From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 26 Sep 2016 11:06:26 -0400 From: Steven Rostedt To: Dmitry Vyukov Cc: mingo@redhat.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, ryabinin.a.a@gmail.com, surovegin@google.com, stable@vger.kernel.org Subject: Re: [PATCH] scripts/recordmcount.c: account for .softirqentry.text Message-ID: <20160926110626.3bdedbd7@grimm.local.home> In-Reply-To: <20160926110236.67f71572@grimm.local.home> References: <1474881195-65910-1-git-send-email-dvyukov@google.com> <20160926110236.67f71572@grimm.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On Mon, 26 Sep 2016 11:02:36 -0400 Steven Rostedt wrote: > > --- > > scripts/recordmcount.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c > > index 42396a7..a68f031 100644 > > --- a/scripts/recordmcount.c > > +++ b/scripts/recordmcount.c > > @@ -363,6 +363,7 @@ is_mcounted_section_name(char const *const txtname) > > strcmp(".sched.text", txtname) == 0 || > > strcmp(".spinlock.text", txtname) == 0 || > > strcmp(".irqentry.text", txtname) == 0 || > > + strcmp(".softirqentry.text", txtname) == 0 || > > strcmp(".kprobes.text", txtname) == 0 || > > strcmp(".text.unlikely", txtname) == 0; > > } > Oh, some archs still use recordmcount.pl. I'm guessing that needs to be updated too: Signed-off-by: Steven Rostedt --- diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 96e2486..2d48011 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -134,6 +134,7 @@ my %text_sections = ( ".sched.text" => 1, ".spinlock.text" => 1, ".irqentry.text" => 1, + ".softirqentry.text" => 1, ".kprobes.text" => 1, ".text.unlikely" => 1, );