tracing: Use tracing error_log with trace event filters
authorTom Zanussi <tom.zanussi@linux.intel.com>
Sun, 31 Mar 2019 23:48:18 +0000 (18:48 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 2 Apr 2019 22:24:07 +0000 (18:24 -0400)
commit34f76afaac7a437a2ce381225135563928b359dd
tree244ad483b9616ef4d1d967d9b095a4ca45f8a8a5
parentd566c5e9d1bad6773fe9cce3d4514cca2cc32e4e
tracing: Use tracing error_log with trace event filters

Use tracing_log_err() from the new tracing error_log mechanism to send
filter parse errors to tracing/error_log.

With this change, users will be able to see filter errors by looking
at tracing/error_log.

The same errors will also be available in the filter file, as
expected.

Link: http://lkml.kernel.org/r/1d942c419941539a11d78a6810fc5740a99b2974.1554072478.git.tom.zanussi@linux.intel.com
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c