tracing/eprobe: Show syntax error logs in error_log file
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 1 Aug 2022 02:32:15 +0000 (11:32 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 2 Aug 2022 19:22:55 +0000 (15:22 -0400)
commit2f63e5d2e391837c70741311b5b70d2fbd15d138
tree6ce3c7fa2c70550023c9797025cf36b072e202cc
parent95522f0b18a059afa5aca036aa454c98beb553b5
tracing/eprobe: Show syntax error logs in error_log file

Show the syntax errors for event probes in error_log file as same as
other dynamic events, so that user can understand what is the problem.

Link: https://lkml.kernel.org/r/165932113556.2850673.3483079297896607612.stgit@devnote2
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_eprobe.c
kernel/trace/trace_probe.h