ftrace: Use hash instead for FTRACE_FL_FILTER
authorSteven Rostedt <srostedt@redhat.com>
Sat, 30 Apr 2011 00:59:51 +0000 (20:59 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 18 May 2011 19:29:44 +0000 (15:29 -0400)
commit1cf41dd79993389b012e4542ab502ce36ae7343f
treee1d0b58b2256d5936cff0c9d29ca8f68a80cedd8
parentb448c4e3ae6d20108dba1d7833f2c0d3dbad87ce
ftrace: Use hash instead for FTRACE_FL_FILTER

When multiple users are allowed to have their own set of functions
to trace, having the FTRACE_FL_FILTER flag will not be enough to
handle the accounting of those users. Each user will need their own
set of functions.

Replace the FTRACE_FL_FILTER with a filter_hash instead. This is
temporary until the rest of the function filtering accounting
gets in.

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