]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d45c380a5c30a7bc660d23a3c473091f11573f6
treecb8f7ed5df619a5b003ca5f5959c716145ac22d4
parent1278bb9324b338c8518b0e486558957bac96baef
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