ftrace: Use the ftrace_addr helper functions to find the ftrace_addr
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 8 May 2014 11:01:21 +0000 (07:01 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 14 May 2014 15:37:29 +0000 (11:37 -0400)
commit7c0868e03b7a7c50fa10957d8dddaebb09c72044
tree3b5fc12dd767f6ebbbec8058f59bea5ff585ab0d
parent7413af1fb70e7efa6dbc7f27663e7a5126b3aa33
ftrace: Use the ftrace_addr helper functions to find the ftrace_addr

With the moving of the functions that determine what the mcount call site
should be replaced with into the generic code, there is a few places
in the generic code that can use them instead of hard coding it as it
does.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c