]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace/recordmcount: Modify only executable sections
authorSteven Rostedt <srostedt@redhat.com>
Wed, 13 Apr 2011 17:31:08 +0000 (13:31 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 16 May 2011 18:42:56 +0000 (14:42 -0400)
commitb8b4c79416e2786051bd5f58ac6d035ae2b2e74e
tree1253dfc237bfe6e295fedf4fc2c568e35b436430
parentf6cadbbb7e65fe1a24a4c59f34b7adb0095b90e4
ftrace/recordmcount: Modify only executable sections

PROGBITS is not enough to determine if the section should be modified
or not. Only process sections that are marked as executable.

Cc: John Reiser <jreiser@bitwagon.com>
Link: http://lkml.kernel.org/r/20110421023737.991485123@goodmis.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.h