aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-04-29 20:59:51 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-05-18 15:29:44 -0400
commit1cf41dd79993389b012e4542ab502ce36ae7343f (patch)
treee1d0b58b2256d5936cff0c9d29ca8f68a80cedd8 /include/linux/ftrace.h
parentftrace: Replace FTRACE_FL_NOTRACE flag with a hash of ignored functions (diff)
downloadlinux-dev-1cf41dd79993389b012e4542ab502ce36ae7343f.tar.xz
linux-dev-1cf41dd79993389b012e4542ab502ce36ae7343f.zip
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>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index fe0a90a09243..52fc5d4e6edd 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -147,8 +147,7 @@ extern int ftrace_text_reserved(void *start, void *end);
enum {
FTRACE_FL_FREE = (1 << 0),
- FTRACE_FL_FILTER = (1 << 1),
- FTRACE_FL_ENABLED = (1 << 2),
+ FTRACE_FL_ENABLED = (1 << 1),
};
struct dyn_ftrace {