|
@@ -869,7 +869,8 @@ t_next(struct seq_file *m, void *v, loff_t *pos)
|
|
* The ftrace subsystem is for showing formats only.
|
|
* The ftrace subsystem is for showing formats only.
|
|
* They can not be enabled or disabled via the event files.
|
|
* 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;
|
|
return file;
|
|
}
|
|
}
|
|
|
|
|