diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-07-31 17:21:01 +0900 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-01-02 16:17:24 -0500 |
commit | 50eb2672ce13d73e96f6cee84e78cfb52513ff48 (patch) | |
tree | 2c1c2ab3adb533566e2181a0c4423250e0b2e0fd /arch/xtensa/kernel/vmlinux.lds.S | |
parent | 306cfe2025adcba10fb883ad0c540f5541d1b086 (diff) |
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 'arch/xtensa/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions