diff options
author | Wolfgang Mauerer <[email protected]> | 2012-03-22 11:18:21 +0100 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2012-07-04 13:40:30 +0900 |
commit | c5b35b731965d16fa8c966e288489857097e0b25 (patch) | |
tree | 95c3fc1fff8c2e47755914a85cb2f1ac8bd61d03 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | aaf05c725bed1c7a8c940d9215662c78bea05dfd (diff) |
tools lib traceevent: Fix trace_printk for long integers
On 32 bit systems, a conversion of the trace_printk format string
"%lu" -> "%llu" is intended (similar for %lx etc.) when a trace was
taken on a machine with 64 bit long integers. However, the current
code computes the bogus transformation "%lu" -> "%u". Fix this.
Besides that, the transformation is only required on systems that don't
use 64 bits for long integers natively.
Signed-off-by: Wolfgang Mauerer <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions