summaryrefslogtreecommitdiff
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-12-19 15:21:16 -0500
committerSteven Rostedt <rostedt@goodmis.org>2011-12-21 07:25:24 -0500
commit69a3083c4a7df0322d97bb2b43a33cb12af8131a (patch)
tree96b0c48178e812819a2f8d8ccf4600997be41fbb /include/linux/ftrace.h
parentfc13cb0ce45296f331263a6034aa1814203e1ac3 (diff)
ftrace: Decouple hash items from showing filtered functions
The set_ftrace_filter shows "hashed" functions, which are functions that are added with operations to them (like traceon and traceoff). As other subsystems may be able to show what functions they are using for function tracing, the hash items should no longer be shown just because the FILTER flag is set. As they have nothing to do with other subsystems filters. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index aa7559f0a224..d1ff0de18970 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -206,8 +206,9 @@ enum {
FTRACE_ITER_FILTER = (1 << 0),
FTRACE_ITER_NOTRACE = (1 << 1),
FTRACE_ITER_PRINTALL = (1 << 2),
- FTRACE_ITER_HASH = (1 << 3),
- FTRACE_ITER_ENABLED = (1 << 4),
+ FTRACE_ITER_DO_HASH = (1 << 3),
+ FTRACE_ITER_HASH = (1 << 4),
+ FTRACE_ITER_ENABLED = (1 << 5),
};
void arch_ftrace_update_code(int command);