]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Do not create "enable" or "filter" files for ftrace event subsystem
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 5 Feb 2021 23:04:39 +0000 (18:04 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 5 Feb 2021 23:04:39 +0000 (18:04 -0500)
commit5b46336513919dc90cf5c8c32c30d8bda01098b6
treecfbb3b68e841e1e4c78bc983c45f37a396ba1aa8
parent340dd2fd2d12aab8f72edd9c0f0bc1d5e092123f
tracing: Do not create "enable" or "filter" files for ftrace event subsystem

The ftrace event subsystem is only created for showing the format files of
events created by the ftrace tracers, and are not trace events. The ftrace
subsystem currently has both the "enable" and "filter" files that in other
subsystems are used to enable/disable all events within the subsystem or set
a filter for all the subsystem events.

As ftrace subsystem events do not use enable or filter operations, these
files are useless in the ftrace subsystem. Remove them.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events.c