This repository was archived by the owner on Oct 5, 2018. It is now read-only.
Commit 6e50dda
tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines
commit 32abc2e 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 969624b commit 6e50dda
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4968 | 4968 | | |
4969 | 4969 | | |
4970 | 4970 | | |
4971 | | - | |
4972 | 4971 | | |
4973 | | - | |
4974 | | - | |
| 4972 | + | |
4975 | 4973 | | |
4976 | 4974 | | |
4977 | 4975 | | |
| 4976 | + | |
4978 | 4977 | | |
4979 | 4978 | | |
4980 | 4979 | | |
| |||
0 commit comments