From: Steven Rostedt Date: Thu, 21 Apr 2011 01:13:06 +0000 (-0400) Subject: ftrace/recordmcount: Add helper function get_sym_str_and_relp() X-Git-Tag: v3.1-rc1~299^2~39^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0286d2d12d78ea8aaf0722473dd20cb609a99709;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/20110421023739.723658553@goodmis.org Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed