diff options
author | 2013-07-31 17:21:01 +0900 | |
---|---|---|
committer | 2014-01-02 16:17:24 -0500 | |
commit | 50eb2672ce13d73e96f6cee84e78cfb52513ff48 (patch) | |
tree | 2c1c2ab3adb533566e2181a0c4423250e0b2e0fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tracing/uprobes: Fix documentation of uprobe registration syntax (diff) | |
download | linux-dev-50eb2672ce13d73e96f6cee84e78cfb52513ff48.tar.xz linux-dev-50eb2672ce13d73e96f6cee84e78cfb52513ff48.zip |
tracing/probes: Fix basic print type functions
The print format of s32 type was "ld" and it's casted to "long". So
it turned out to print 4294967295 for "-1" on 64-bit systems. Not
sure whether it worked well on 32-bit systems.
Anyway, it doesn't need to have cast argument at all since it already
casted using type pointer - just get rid of it. Thanks to Oleg for
pointing that out.
And print 0x prefix for unsigned type as it shows hex numbers.
Suggested-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions