]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Update synth command errors
authorTom Zanussi <zanussi@kernel.org>
Mon, 1 Feb 2021 19:48:13 +0000 (13:48 -0600)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 9 Feb 2021 17:52:15 +0000 (12:52 -0500)
commit25114a9cc7e3541f4752d7fa77e964ce908fc3ed
treecca95699847582849017ffcfe5f475efd5562f11
parent2522d337a6b6d4a40a43dcbcb129c9bcbb6cdea8
tracing: Update synth command errors

Since array types are handled differently, errors referencing them
also need to be handled differently.  Add and use a new
INVALID_ARRAY_SPEC error.  Also add INVALID_CMD and INVALID_DYN_CMD to
catch and display the correct form for badly-formed commands, which
can also be used in place of CMD_INCOMPLETE, which is removed, and
remove CMD_TOO_LONG, since it's no longer used.

Link: https://lkml.kernel.org/r/b9dd434dc6458dcff11adc6ed616fe93a8794770.1612208610.git.zanussi@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