Commit f019394
tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines
[ Upstream commit 32abc2e ]
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 <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>1 parent 6649b11 commit f019394
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4841 | 4841 | | |
4842 | 4842 | | |
4843 | 4843 | | |
4844 | | - | |
4845 | 4844 | | |
4846 | | - | |
4847 | | - | |
| 4845 | + | |
4848 | 4846 | | |
4849 | 4847 | | |
4850 | 4848 | | |
| 4849 | + | |
4851 | 4850 | | |
4852 | 4851 | | |
4853 | 4852 | | |
| |||
0 commit comments