ftrace: Add .kprobe.text section to whitelist for recordmcount.c
authorSteven Rostedt <srostedt@redhat.com>
Wed, 6 Apr 2011 18:10:22 +0000 (14:10 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 16 May 2011 18:42:15 +0000 (14:42 -0400)
commit9f087e7612115b7a201d4f3392a95ac7408948ab
treea10d013f9087fdadae1a99c96a48acc801934e22
parente90b0c8bf211958a296d60369fecd51b35864407
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>
scripts/recordmcount.c
scripts/recordmcount.pl