tracing: Rework synthetic event command parsing
authorTom Zanussi <zanussi@kernel.org>
Mon, 1 Feb 2021 19:48:12 +0000 (13:48 -0600)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 9 Feb 2021 17:52:15 +0000 (12:52 -0500)
commitc9e759b1e8456a460f258fcfe9682003fcf03938
tree8f3f9265ba51280d29de15d1887fcd7d1b53bb46
parentd262271d04830e4b5009f4a5cc64934d86b49832
tracing: Rework synthetic event command parsing

Now that command parsing has been delegated to the create functions
and we're no longer constrained by argv_split(), we can modify the
synthetic event command parser to better match the higher-level
structure of the synthetic event commands, which is basically an event
name followed by a set of semicolon-separated fields.

Since we're also now passed the raw command, we can also save it
directly and can get rid of save_cmdstr().

Link: https://lkml.kernel.org/r/cb9e2be92d992ce59f2b4f132264a5d467f3933f.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