linux/tools/lib
Steven Rostedt a62c2e1ed4 tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines
commit 32abc2ede5 upstream.

When a long value is read on 32 bit machines for 64 bit output, the
parsing needs to change "%lu" into "%llu", as the value is read
natively.

Unfortunately, if "%llu" is already there, the code will add another "l"
to it and fail to parse it properly.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20151116172516.4b79b109@gandalf.local.home
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2016-02-02 17:29:13 +00:00
..
api perf tools: Allow overriding sysfs and proc finding with env var 2014-06-03 21:34:29 +02:00
lockdep tools/liblockdep: Account for bitfield changes in lockdeps lock_acquire 2014-07-07 12:20:16 -04:00
symbol tools lib symbol: Start carving out symbol parsing routines from perf 2013-12-13 10:30:20 -03:00
traceevent tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines 2016-02-02 17:29:13 +00:00