]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb365632fdc709c6f14280ed015a3e44427bce60e
tree11fd3427c3fe63d2f6bafdcc0150bff970093c41
parent03bd45213865202ae5c5fe3ca91a42a1976feeac
ftrace: Consolidate some duplicate code for updating ftrace ops

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>
kernel/trace/ftrace.c