tracing: Add synthetic event error logging
authorTom Zanussi <zanussi@kernel.org>
Tue, 13 Oct 2020 14:17:55 +0000 (09:17 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 15 Oct 2020 16:01:13 +0000 (12:01 -0400)
commitd4d704637d935ef5e588b0610b647376dd9f37d4
tree83d6e7474654f3245d84cb65bfc2a55f31a6413e
parent9bbb33291f8e44819aaed32d367f702303ff663e
tracing: Add synthetic event error logging

Add support for synthetic event error logging, which entails adding a
logging function for it, a way to save the synthetic event command,
and a set of specific synthetic event parse error strings and
handling.

Link: https://lkml.kernel.org/r/ed099c66df13b40cfc633aaeb17f66c37a923066.1602598160.git.zanussi@kernel.org
[ <rostedt@goodmis.org>: wrote save_cmdstr() seq_buf implementation. ]
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_synth.c