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:02:36 -0400 [thread overview]
Message-ID: <20160926110236.67f71572@grimm.local.home> (raw)
In-Reply-To: <1474881195-65910-1-git-send-email-dvyukov@google.com>
On Mon, 26 Sep 2016 11:13:15 +0200
Dmitry Vyukov <dvyukov@google.com> wrote:
> Commit "arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections"
> added .softirqentry.text section, but it was not added to recordmcount.
> So functions in the section are untracable.
> Add the section to scripts/recordmcount.c.
>
> Fixes: be7635e7287e ("arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections")
> Cc: stable@vger.kernel.org # v4.6+
> Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
I'm currently traveling and wont have time to process this any time
soon. But it looks good to me.
Acked-by: Steve Rostedt <rostedt@goodmis.org>
If someone else wants to pull this into their tree I'm fine with that.
It doesn't look like I would have to run this through my test suite.
I'm fine with the stable tag too.
-- Steve
> ---
> 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;
> }
next prev parent reply other threads:[~2016-09-26 15:02 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 [this message]
2016-09-26 15:06 ` Steven Rostedt
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=20160926110236.67f71572@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