ftrace: Consolidate some duplicate code for updating ftrace ops
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Fri, 26 Jul 2013 00:22:00 +0000 (20:22 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 30 Jul 2013 03:56:00 +0000 (23:56 -0400)
When ftrace ops modifies the functions that it will trace, the update
to the function mcount callers may need to be modified. Consolidate
the two places that do the checks to see if an update is required
with a wrapper function for those checks.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found