Commit 1274a9c2e91652e28efa45c3e5886ec82f08bfbe
Committed by
Steven Rostedt
1 parent
10da37a645
Exists in
master
and in
20 other branches
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>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
scripts/recordmcount.c
... | ... | @@ -206,7 +206,8 @@ |
206 | 206 | static int |
207 | 207 | is_mcounted_section_name(char const *const txtname) |
208 | 208 | { |
209 | - return 0 == strcmp(".text", txtname) || | |
209 | + return 0 == strcmp(".text", txtname) || | |
210 | + 0 == strcmp(".ref.text", txtname) || | |
210 | 211 | 0 == strcmp(".sched.text", txtname) || |
211 | 212 | 0 == strcmp(".spinlock.text", txtname) || |
212 | 213 | 0 == strcmp(".irqentry.text", txtname) || |