]> 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)
commitd53fed41e1b3abbaff205d2b096b97c62f383eb4
tree11fd3427c3fe63d2f6bafdcc0150bff970093c41
parenta69147a884b6cb57d1be22f849156b98812c7e63
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