summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-04-20 20:47:34 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-05-16 14:48:02 -0400
commit37762cb9977626343b3cd1aab9146313c94748c2 (patch)
tree32e47221487d6f889494a6ba90c2ff476610922a /samples
parent2895cd2ab81dfb7bc22637bc110857db44a30b4a (diff)
downloadlinux-37762cb9977626343b3cd1aab9146313c94748c2.tar.bz2
ftrace/recordmcount: Remove duplicate code to find mcount symbol
The code in sift_rel_mcount() and nop_mcount() to get the mcount symbol number is identical. Replace the two locations with a call to a function that does the work. Cc: John Reiser <jreiser@bitwagon.com> Link: http://lkml.kernel.org/r/20110421023739.488093407@goodmis.org Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions