diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-07 22:36:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-08 03:51:02 -0500 |
commit | 0183fb1c94b74862b073590fc52c56b7364b7bad (patch) | |
tree | 79b67584fe7f2de26b1d4c9db516eb9645b6af45 /kernel/trace/ftrace.c | |
parent | a6b0786f7f83bcc4d414a2977aaebe2941ebe1de (diff) |
ftrace: fix set_ftrace_filter
Impact: fix of output of set_ftrace_filter
Commit ftrace: do not show freed records in available_filter_functions
Removed a bit too much from the set_ftrace_filter code, where we now see
all functions in the set_ftrace_filter file even when we set a filter.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r-- | kernel/trace/ftrace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 896c71f0f4c4..4d2e751bfb11 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -765,6 +765,9 @@ t_next(struct seq_file *m, void *v, loff_t *pos) | |||
765 | ((iter->flags & FTRACE_ITER_FAILURES) && | 765 | ((iter->flags & FTRACE_ITER_FAILURES) && |
766 | !(rec->flags & FTRACE_FL_FAILED)) || | 766 | !(rec->flags & FTRACE_FL_FAILED)) || |
767 | 767 | ||
768 | ((iter->flags & FTRACE_ITER_FILTER) && | ||
769 | !(rec->flags & FTRACE_FL_FILTER)) || | ||
770 | |||
768 | ((iter->flags & FTRACE_ITER_NOTRACE) && | 771 | ((iter->flags & FTRACE_ITER_NOTRACE) && |
769 | !(rec->flags & FTRACE_FL_NOTRACE))) { | 772 | !(rec->flags & FTRACE_FL_NOTRACE))) { |
770 | rec = NULL; | 773 | rec = NULL; |