]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite59ed44a6006ba3590db2fc44df6462a246ee0f3
tree6b0497be4d5e6258ad9b1ec99b2a9feb25b2dd22
parent10605732c42bfcb553a30d1ae20ef1aca63f16e6
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