]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0b5d3c5506e4847737e6bf6a29eb9f920a898bd
tree313ad90dd3cd726af8da4d7768c912f96b3daa9a
parent14e8b1879d8f65f71ddee7aeaef8274a2ab4daf0
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