linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Vyukov <dvyukov@google.com>
To: rostedt@goodmis.org, mingo@redhat.com, akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, ryabinin.a.a@gmail.com,
	surovegin@google.com, Dmitry Vyukov <dvyukov@google.com>,
	stable@vger.kernel.org, #@google.com, v4.6+@google.com
Subject: [PATCH] scripts/recordmcount.c: account for .softirqentry.text
Date: Mon, 26 Sep 2016 11:13:15 +0200	[thread overview]
Message-ID: <1474881195-65910-1-git-send-email-dvyukov@google.com> (raw)

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>
---
 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;
 }
-- 
2.8.0.rc3.226.g39d4020

             reply	other threads:[~2016-09-26  9:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-26  9:13 Dmitry Vyukov [this message]
2016-09-26 15:02 ` [PATCH] scripts/recordmcount.c: account for .softirqentry.text Steven Rostedt
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=1474881195-65910-1-git-send-email-dvyukov@google.com \
    --to=dvyukov@google.com \
    --cc=#@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=rostedt@goodmis.org \
    --cc=ryabinin.a.a@gmail.com \
    --cc=stable@vger.kernel.org \
    --cc=surovegin@google.com \
    --cc=v4.6+@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;
as well as URLs for NNTP newsgroup(s).