tracing/synthetic: Print out u64 values properly
authorTero Kristo <tero.kristo@linux.intel.com>
Mon, 11 Sep 2023 14:17:04 +0000 (17:17 +0300)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 11 Sep 2023 22:23:10 +0000 (18:23 -0400)
commit62663b849662c1a5126b6274d91671b90566ef13
treeedc13b892a62b55225bfaa0b48e31df896bd95a8
parentfc52a64416b010c8324e2cb50070faae868521c1
tracing/synthetic: Print out u64 values properly

The synth traces incorrectly print pointer to the synthetic event values
instead of the actual value when using u64 type. Fix by addressing the
contents of the union properly.

Link: https://lore.kernel.org/linux-trace-kernel/20230911141704.3585965-1-tero.kristo@linux.intel.com
Fixes: ddeea494a16f ("tracing/synthetic: Use union instead of casts")
Cc: stable@vger.kernel.org
Signed-off-by: Tero Kristo <tero.kristo@linux.intel.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_events_synth.c