aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2011-04-20 21:13:06 -0400
committerSteven Rostedt <[email protected]>2011-05-16 14:48:55 -0400
commit41b402a201a12efdff4acc990e023a89a409cd41 (patch)
treeedc7904cc777dc55d045759da04c2442b06f06f4 /tools/perf/scripts/python/sched-migration.py
parent37762cb9977626343b3cd1aab9146313c94748c2 (diff)
ftrace/recordmcount: Add helper function get_sym_str_and_relp()
The code to get the symbol, string, and relp pointers in the two functions sift_rel_mcount() and nop_mcount() are identical and also non-trivial. Moving this duplicate code into a single helper function makes the code easier to read and more maintainable. Cc: John Reiser <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions