]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Implement separate user function filtering
authorSteven Rostedt <srostedt@redhat.com>
Wed, 4 May 2011 13:27:52 +0000 (09:27 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 18 May 2011 19:29:50 +0000 (15:29 -0400)
commite895e7111932fd20bda10d7cdaddaa0bcf3b3d7a
tree542bf09ae3c2d9118833132621585fb458e2a003
parenta3983c5833c943f8027fc477f4cf45cf4922347e
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>
include/linux/ftrace.h
kernel/trace/ftrace.c
kernel/trace/trace_functions.c
kernel/trace/trace_irqsoff.c
kernel/trace/trace_sched_wakeup.c
kernel/trace/trace_stack.c