]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9c6bc7377c16adc754a8001db9c8294529e8015
treed93bafddf525efe45410389e5b4b9753d1b9365d
parent71d97ea49f9a012790ea649055baa11d830d6c60
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