diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-04-20 20:47:34 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-17 10:41:59 -0400 |
commit | f6d4f08194d77c86fe3af6e2e4b9184347014926 (patch) | |
tree | 7d8dd5ead0252fa0b4c691a59b9a65d2c8cfcf43 /tools/perf/scripts/python | |
parent | 406a733db0052fed66d17008430b6047ecea7b92 (diff) |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions