diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-04-06 14:10:22 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-16 14:42:15 -0400 |
commit | 9f087e7612115b7a201d4f3392a95ac7408948ab (patch) | |
tree | a10d013f9087fdadae1a99c96a48acc801934e22 /scripts/recordmcount.pl | |
parent | e90b0c8bf211958a296d60369fecd51b35864407 (diff) | |
download | linux-stable-9f087e7612115b7a201d4f3392a95ac7408948ab.tar.gz linux-stable-9f087e7612115b7a201d4f3392a95ac7408948ab.tar.bz2 linux-stable-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.pl')
-rwxr-xr-x | scripts/recordmcount.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 4be0deea71ca..a871cd414055 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -134,6 +134,7 @@ my %text_sections = ( ".sched.text" => 1, ".spinlock.text" => 1, ".irqentry.text" => 1, + ".kprobes.text" => 1, ".text.unlikely" => 1, ); |