tracing: Use seq_buf for building dynevent_cmd string
authorTom Zanussi <zanussi@kernel.org>
Fri, 31 Jan 2020 21:55:34 +0000 (15:55 -0600)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 1 Feb 2020 18:10:15 +0000 (13:10 -0500)
commit2b90927c77c973771cc658d639724d5b247a83eb
treecb8f7ed5df619a5b003ca5f5959c716145ac22d4
parente9260f6257efa6a6293507696e875b6494ee3744
tracing: Use seq_buf for building dynevent_cmd string

The dynevent_cmd commands that build up the command string don't need
to do that themselves - there's a seq_buf facility that does pretty
much the same thing those command are doing manually, so use it
instead.

Link: http://lkml.kernel.org/r/eb8a6e835c964d0ab8a38cbf5ffa60746b54a465.1580506712.git.zanussi@kernel.org
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/trace_events.h
kernel/trace/trace_dynevent.c
kernel/trace/trace_events_hist.c
kernel/trace/trace_kprobe.c