aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-11-07 22:36:02 -0500
committerSteven Rostedt <rostedt@goodmis.org>2008-11-19 00:17:45 -0500
commitf10ed36ec1118c6f9523cd7e53cb0aadb53efe9f (patch)
treed3f801ab1c8ab58642b04a0f5a51b25741261667 /kernel/trace/ftrace.c
parent1e74f3000b86969de421ca0da08f42e7d21cbd99 (diff)
ftrace: fix set_ftrace_filter
Impact: fix of output of set_ftrace_filter The 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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 4a39d24568c8..dcac7418f688 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -738,6 +738,9 @@ t_next(struct seq_file *m, void *v, loff_t *pos)
738 ((iter->flags & FTRACE_ITER_FAILURES) && 738 ((iter->flags & FTRACE_ITER_FAILURES) &&
739 !(rec->flags & FTRACE_FL_FAILED)) || 739 !(rec->flags & FTRACE_FL_FAILED)) ||
740 740
741 ((iter->flags & FTRACE_ITER_FILTER) &&
742 !(rec->flags & FTRACE_FL_FILTER)) ||
743
741 ((iter->flags & FTRACE_ITER_NOTRACE) && 744 ((iter->flags & FTRACE_ITER_NOTRACE) &&
742 !(rec->flags & FTRACE_FL_NOTRACE))) { 745 !(rec->flags & FTRACE_FL_NOTRACE))) {
743 rec = NULL; 746 rec = NULL;