tracing: Have trigger filter parsing errors show up in error_log
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 13 Dec 2022 14:56:02 +0000 (09:56 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 13 Dec 2022 20:46:05 +0000 (15:46 -0500)
commita785736d7e587abbfd59df44e9a815d8d109c28c
tree613d3be6677cf47c43057cb5189ccc2b31f78553
parent3e12758392bee50135301b0189c064ab80980aca
tracing: Have trigger filter parsing errors show up in error_log

It is annoying that the filter parsing of triggers do not show up in the
error_log. Trying to figure out what is incorrect in the input is
difficult when it fails for a typo.

Have the errors of filter parsing show up in error_log as well.

Link: https://lore.kernel.org/linux-trace-kernel/20221213095602.083fa9fd@gandalf.local.home
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_events_trigger.c