Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1491336

Re: [PATCH] scripts/recordmcount.c: account for .softirqentry.text

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH] scripts/recordmcount.c: account for .softirqentry.text
Date 2016-09-26 17:10 +0200
Message-ID <slFHA-5oB-27@gated-at.bofh.it> (permalink)
References <slAeR-20r-3@gated-at.bofh.it> <slFHz-5oB-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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,
 );

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] scripts/recordmcount.c: account for .softirqentry.text Dmitry Vyukov <dvyukov@google.com> - 2016-09-26 11:20 +0200
  Re: [PATCH] scripts/recordmcount.c: account for .softirqentry.text Steven Rostedt <rostedt@goodmis.org> - 2016-09-26 17:10 +0200
    Re: [PATCH] scripts/recordmcount.c: account for .softirqentry.text Steven Rostedt <rostedt@goodmis.org> - 2016-09-26 17:10 +0200
      Re: [PATCH] scripts/recordmcount.c: account for .softirqentry.text Dmitry Vyukov <dvyukov@google.com> - 2016-09-26 17:20 +0200

csiph-web