aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSven Schnelle <[email protected]>2019-12-18 08:44:27 +0100
committerSteven Rostedt (VMware) <[email protected]>2019-12-21 16:08:59 -0500
commitfe6e096a5bbf73a142f09c72e7aa2835026eb1a3 (patch)
tree517ee633a516434cfc8a99cda6d9cf9e60c3322a /tools/perf/util/trace-event-scripting.c
parent01f36a554e3ef32f9fc4b81a4437cf08fd0e4742 (diff)
tracing: Fix endianness bug in histogram trigger
At least on PA-RISC and s390 synthetic histogram triggers are failing selftests because trace_event_raw_event_synth() always writes a 64 bit values, but the reader expects a field->size sized value. On little endian machines this doesn't hurt, but on big endian this makes the reader always read zero values. Link: http://lore.kernel.org/linux-trace-devel/[email protected] Cc: [email protected] Fixes: 4b147936fa509 ("tracing: Add support for 'synthetic' events") Acked-by: Tom Zanussi <[email protected]> Signed-off-by: Sven Schnelle <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions