commit | 1c80c43290ee576afe8d39ecc905fa3958a5858c | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Thu Jul 25 20:22:00 2013 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Mon Jul 29 23:56:00 2013 -0400 |
tree | 11fd3427c3fe63d2f6bafdcc0150bff970093c41 | |
parent | bf682c3159c4d298d1126a56793ed3f5e80395f7 [diff] |
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>