diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-04-06 20:10:22 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-16 20:42:15 +0200 |
commit | 9f087e7612115b7a201d4f3392a95ac7408948ab (patch) | |
tree | a10d013f9087fdadae1a99c96a48acc801934e22 /scripts/recordmcount.c | |
parent | ftrace/trivial: Clean up record mcount to use Linux switch style (diff) | |
download | linux-9f087e7612115b7a201d4f3392a95ac7408948ab.tar.xz linux-9f087e7612115b7a201d4f3392a95ac7408948ab.zip |
ftrace: Add .kprobe.text section to whitelist for recordmcount.c
The .kprobe.text section is safe to modify mcount to nop and tracing.
Add it to the whitelist in recordmcount.c and recordmcount.pl.
Cc: John Reiser <jreiser@bitwagon.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Link: http://lkml.kernel.org/r/20110421023737.743350547@goodmis.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/recordmcount.c')
-rw-r--r-- | scripts/recordmcount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c index 4ebd8399cb33..37c59654c133 100644 --- a/scripts/recordmcount.c +++ b/scripts/recordmcount.c @@ -211,6 +211,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(".kprobes.text", txtname) == 0 || strcmp(".text.unlikely", txtname) == 0; } |