tracing: Consolidate some synth_event_trace code
authorTom Zanussi <zanussi@kernel.org>
Fri, 31 Jan 2020 21:55:31 +0000 (15:55 -0600)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 31 Jan 2020 23:35:17 +0000 (18:35 -0500)
commit249d7b2ef674cdae28c377cfe6f56696548305d5
treed93bafddf525efe45410389e5b4b9753d1b9365d
parentd380dcde9a07ca5de4805dee11f58a98ec0ad6ff
tracing: Consolidate some synth_event_trace code

The synth_event trace code contains some almost identical functions
and some small functions that are called only once - consolidate the
common code into single functions and fold in the small functions to
simplify the code overall.

Link: http://lkml.kernel.org/r/d1c8d8ad124a653b7543afe801d38c199ca5c20e.1580506712.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_hist.c