ftrace: Modify ftrace_set_filter/notrace to take ops
authorSteven Rostedt <srostedt@redhat.com>
Fri, 6 May 2011 02:54:01 +0000 (22:54 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 18 May 2011 23:22:52 +0000 (19:22 -0400)
commit936e074b286ae779f134312178dbab139ee7ea52
tree6b0497be4d5e6258ad9b1ec99b2a9feb25b2dd22
parentcdbe61bfe70440939e457fb4a8d0995eaaed17de
ftrace: Modify ftrace_set_filter/notrace to take ops

Since users of the function tracer can now pick and choose which
functions they want to trace agnostically from other users of the
function tracer, we need to pass the ops struct to the ftrace_set_filter()
functions.

The functions ftrace_set_global_filter() and ftrace_set_global_notrace()
is added to keep the old filter functions which are used to modify
the generic function tracers.

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