The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Dmitry Vyukov <dvyukov@google.com>
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
Date: Mon, 26 Sep 2016 11:06:26 -0400	[thread overview]
Message-ID: <20160926110626.3bdedbd7@grimm.local.home> (raw)
In-Reply-To: <20160926110236.67f71572@grimm.local.home>

On Mon, 26 Sep 2016 11:02:36 -0400
Steven Rostedt <rostedt@goodmis.org> 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 <rostedt@goodmis.org>
---
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,
 );

  reply	other threads:[~2016-09-26 15:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-26  9:13 [PATCH] scripts/recordmcount.c: account for .softirqentry.text Dmitry Vyukov
2016-09-26 15:02 ` Steven Rostedt
2016-09-26 15:06   ` Steven Rostedt [this message]
2016-09-26 15:11     ` Dmitry Vyukov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160926110626.3bdedbd7@grimm.local.home \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=dvyukov@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=ryabinin.a.a@gmail.com \
    --cc=stable@vger.kernel.org \
    --cc=surovegin@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox