]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Consolidate updating of ftrace_trace_function
authorSteven Rostedt <srostedt@redhat.com>
Thu, 28 Apr 2011 01:43:36 +0000 (21:43 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 30 Apr 2011 02:53:11 +0000 (22:53 -0400)
commit14e8b1879d8f65f71ddee7aeaef8274a2ab4daf0
treeab156f8c4bc8ebfcc7429533a34726226a11bbba
parentf081dde1d43af23a10027961861d4feb08e8e055
ftrace: Consolidate updating of ftrace_trace_function

There are three locations that perform almost identical functions in order
to update the ftrace_trace_function (the ftrace function variable that gets
called by mcount).

Consolidate these into a single function called update_ftrace_function().

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