summaryrefslogtreecommitdiff
path: root/scripts/recordmcount.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-02-11 21:43:33 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2011-03-10 15:34:39 (GMT)
commit1274a9c2e91652e28efa45c3e5886ec82f08bfbe (patch)
tree6e5c6e76da175b4b5c6dbe7001460905472342f4 /scripts/recordmcount.c
parent10da37a645b5e915d8572cc2b1f5eb11ada3ea4f (diff)
downloadlinux-fsl-qoriq-1274a9c2e91652e28efa45c3e5886ec82f08bfbe.tar.xz
ftrace: Add .ref.text as one of the safe areas to trace
The section .ref.text will not go away unexpectedly and is safe to trace. Add it to the safe list of sections to allow tracing. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/recordmcount.c')
-rw-r--r--scripts/recordmcount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c
index 038b3d1..f9f6f52 100644
--- a/scripts/recordmcount.c
+++ b/scripts/recordmcount.c
@@ -206,7 +206,8 @@ static uint32_t (*w2)(uint16_t);
static int
is_mcounted_section_name(char const *const txtname)
{
- return 0 == strcmp(".text", txtname) ||
+ return 0 == strcmp(".text", txtname) ||
+ 0 == strcmp(".ref.text", txtname) ||
0 == strcmp(".sched.text", txtname) ||
0 == strcmp(".spinlock.text", txtname) ||
0 == strcmp(".irqentry.text", txtname) ||