ftrace: Consolidate the function match routines for normal and mods
authorSteven Rostedt <srostedt@redhat.com>
Fri, 29 Apr 2011 00:32:08 +0000 (20:32 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 30 Apr 2011 02:53:14 +0000 (22:53 -0400)
commitb9df92d2a94eef8811061aecb1396290df440e2e
tree313ad90dd3cd726af8da4d7768c912f96b3daa9a
parent491d0dcfb9707e1f83eff93ca503eb7573162ef2
ftrace: Consolidate the function match routines for normal and mods

The code used for matching functions is almost identical between normal
selecting of functions and using the :mod: feature of set_ftrace_notrace.

Consolidate the two users into one function.

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