Steven Rostedt 41b402a201 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 <jreiser@bitwagon.com>
Link: http://lkml.kernel.org/r/20110421023739.723658553@goodmis.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2011-05-16 14:48:55 -04:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-25 15:49:50 +01:00
2011-03-31 11:26:23 -03:00
2010-03-07 21:19:09 +01:00
2010-03-07 21:22:56 +01:00
2010-10-28 00:32:23 +02:00
2008-07-25 22:12:41 +02:00
2009-06-09 22:37:54 +02:00
2011-03-31 11:26:23 -03:00
2010-03-23 12:26:38 +01:00
2011-03-31 11:26:23 -03:00
2008-04-25 20:18:48 +02:00
2011-03-31 11:26:23 -03:00
2010-08-17 11:47:40 +02:00
2009-06-09 22:37:54 +02:00