tracing: Do not show filter file for ftrace internal events
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 9 May 2018 13:48:41 +0000 (09:48 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 29 May 2018 12:28:46 +0000 (08:28 -0400)
commit5d948c86bb332cd143f4b2dc21d949baf38e29aa
treed99d43af95c69174ca509ece28718e0d2cd03ed3
parentaf3dcb53bd77ce83c50e5579db148461aca179e1
tracing: Do not show filter file for ftrace internal events

The filter file in the ftrace internal events, like in
/sys/kernel/tracing/events/ftrace/function/filter is not attached to any
functionality. Do not create them as they are meaningless.

In the future, if an ftrace internal event gets filter functionality, then
it will need to create it directly.

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