tracing: Make synth_event trace functions endian-correct
authorTom Zanussi <zanussi@kernel.org>
Fri, 14 Feb 2020 22:56:39 +0000 (16:56 -0600)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 20 Feb 2020 21:24:17 +0000 (16:24 -0500)
commit1d9d4c90194a8c3b2f7da9f4bf3f8ba2ed810656
tree955805044321260980193147a65f1b17e3b172be
parent279eef0531928a6669230879a6eed081513ad5a3
tracing: Make synth_event trace functions endian-correct

synth_event_trace(), synth_event_trace_array() and
__synth_event_add_val() write directly into the trace buffer and need
to take endianness into account, like trace_event_raw_event_synth()
does.

Link: http://lkml.kernel.org/r/2011354355e405af9c9d28abba430d1f5ff7771a.1581720155.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