]> git.karo-electronics.de Git - linux-beck.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)
commit491d0dcfb9707e1f83eff93ca503eb7573162ef2
treeab156f8c4bc8ebfcc7429533a34726226a11bbba
parent996e87be7f537fb34638875dd37083166c733425
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