Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1491169
| From | Dmitry Vyukov <dvyukov@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] scripts/recordmcount.c: account for .softirqentry.text |
| Date | 2016-09-26 11:20 +0200 |
| Message-ID | <slAeR-20r-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll 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