aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/recordmcount.pl
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-02-11 16:43:33 -0500
committerSteven Rostedt <rostedt@goodmis.org>2011-03-10 10:34:39 -0500
commit1274a9c2e91652e28efa45c3e5886ec82f08bfbe (patch)
tree6e5c6e76da175b4b5c6dbe7001460905472342f4 /scripts/recordmcount.pl
parenttracing: Adjust conditional expression latency formatting. (diff)
downloadlinux-dev-1274a9c2e91652e28efa45c3e5886ec82f08bfbe.tar.xz
linux-dev-1274a9c2e91652e28efa45c3e5886ec82f08bfbe.zip
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.pl')
-rwxr-xr-xscripts/recordmcount.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index 1d7963f4ee79..4be0deea71ca 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -130,6 +130,7 @@ if ($inputfile =~ m,kernel/trace/ftrace\.o$,) {
# Acceptable sections to record.
my %text_sections = (
".text" => 1,
+ ".ref.text" => 1,
".sched.text" => 1,
".spinlock.text" => 1,
".irqentry.text" => 1,