summaryrefslogtreecommitdiffstats
path: root/Documentation/timers
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2019-12-18 08:44:27 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-09 10:19:02 +0100
commit1c662483c563edd63c302c372ec774686b39a925 (patch)
treef438fa1ed78e00ae1cb2e6c267d314e09a643b41 /Documentation/timers
parent0c815959304bee255034c8ba9f3668a1ae380f86 (diff)
downloadlinux-stable-1c662483c563edd63c302c372ec774686b39a925.tar.gz
linux-stable-1c662483c563edd63c302c372ec774686b39a925.tar.bz2
linux-stable-1c662483c563edd63c302c372ec774686b39a925.zip
tracing: Fix endianness bug in histogram trigger
commit fe6e096a5bbf73a142f09c72e7aa2835026eb1a3 upstream. 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/20191218074427.96184-4-svens@linux.ibm.com Cc: stable@vger.kernel.org Fixes: 4b147936fa509 ("tracing: Add support for 'synthetic' events") Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/timers')
0 files changed, 0 insertions, 0 deletions