Merge branch 'stable-4.5' of git://git.infradead.org/users/pcmoore/selinux into for...
[deliverable/linux.git] / kernel / trace / trace_events.c
index f333e57c4614a2a6aaac04061003f73cd3a6d844..ab09829d3b97ac83eb34c5afd25bf487abfdbe68 100644 (file)
@@ -869,7 +869,8 @@ t_next(struct seq_file *m, void *v, loff_t *pos)
                 * The ftrace subsystem is for showing formats only.
                 * They can not be enabled or disabled via the event files.
                 */
-               if (call->class && call->class->reg)
+               if (call->class && call->class->reg &&
+                   !(call->flags & TRACE_EVENT_FL_IGNORE_ENABLE))
                        return file;
        }
 
This page took 0.025768 seconds and 5 git commands to generate.