Commit 1cf41dd7 authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt

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: default avatarSteven Rostedt <rostedt@goodmis.org>
parent b448c4e3
...@@ -147,8 +147,7 @@ extern int ftrace_text_reserved(void *start, void *end); ...@@ -147,8 +147,7 @@ extern int ftrace_text_reserved(void *start, void *end);
enum { enum {
FTRACE_FL_FREE = (1 << 0), FTRACE_FL_FREE = (1 << 0),
FTRACE_FL_FILTER = (1 << 1), FTRACE_FL_ENABLED = (1 << 1),
FTRACE_FL_ENABLED = (1 << 2),
}; };
struct dyn_ftrace { struct dyn_ftrace {
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment