]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Replace FTRACE_FL_NOTRACE flag with a hash of ignored functions
authorSteven Rostedt <srostedt@redhat.com>
Fri, 29 Apr 2011 19:12:32 +0000 (15:12 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 18 May 2011 19:29:44 +0000 (15:29 -0400)
commitbcc7ddb480f23f2fb14cdb4f46d9ab6336e84154
tree504e5a3640328458e652e41cfd2ed74e4652e5b3
parent8652d9c940c02b5862a443dffa2282b14ca499eb
ftrace: Replace FTRACE_FL_NOTRACE flag with a hash of ignored functions

To prepare for the accounting system that will allow multiple users of
the function tracer, having the FTRACE_FL_NOTRACE as a flag in the
dyn_trace record does not make sense.

All ftrace_ops will soon have a hash of functions they should trace
and not trace. By making a global hash of functions not to trace makes
this easier for the transition.

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