diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-05-04 09:27:52 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-18 15:29:50 -0400 |
commit | b848914ce39589d89ee0078a6d1ef452b464729e (patch) | |
tree | 542bf09ae3c2d9118833132621585fb458e2a003 /kernel/trace/trace_sched_wakeup.c | |
parent | 07fd5515f3b5c20704707f63e7f4485b534508a8 (diff) | |
download | linux-b848914ce39589d89ee0078a6d1ef452b464729e.tar.gz linux-b848914ce39589d89ee0078a6d1ef452b464729e.tar.bz2 linux-b848914ce39589d89ee0078a6d1ef452b464729e.zip |
ftrace: Implement separate user function filtering
ftrace_ops that are registered to trace functions can now be
agnostic to each other in respect to what functions they trace.
Each ops has their own hash of the functions they want to trace
and a hash to what they do not want to trace. A empty hash for
the functions they want to trace denotes all functions should
be traced that are not in the notrace hash.
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_sched_wakeup.c')
-rw-r--r-- | kernel/trace/trace_sched_wakeup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c index 7319559ed59f..f029dd4fd2ca 100644 --- a/kernel/trace/trace_sched_wakeup.c +++ b/kernel/trace/trace_sched_wakeup.c @@ -129,6 +129,7 @@ wakeup_tracer_call(unsigned long ip, unsigned long parent_ip) static struct ftrace_ops trace_ops __read_mostly = { .func = wakeup_tracer_call, + .flags = FTRACE_OPS_FL_GLOBAL, }; #endif /* CONFIG_FUNCTION_TRACER */ |