[for-next][PATCH 02/17] tracing/probes: Fix basic print type functions

2014-01-02 Thread Steven Rostedt
From: Namhyung Kim 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

[for-next][PATCH 02/17] tracing/probes: Fix basic print type functions

2014-01-02 Thread Steven Rostedt
From: Namhyung Kim namhyung@lge.com 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

[PATCH 02/17] tracing/probes: Fix basic print type functions

2013-12-15 Thread Namhyung Kim
From: Namhyung Kim 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

[PATCH 02/17] tracing/probes: Fix basic print type functions

2013-12-15 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com 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

[PATCH 02/17] tracing/probes: Fix basic print type functions

2013-12-08 Thread Namhyung Kim
From: Namhyung Kim 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

[PATCH 02/17] tracing/probes: Fix basic print type functions

2013-12-08 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com 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

Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Namhyung Kim
Hi Masami, On Thu, 28 Nov 2013 13:16:09 +0900, Masami Hiramatsu wrote: > (2013/11/27 23:39), Namhyung Kim wrote: >> Hi Masami, >> >> 2013-11-27 (수), 20:57 +0900, Masami Hiramatsu: >>> (2013/11/27 15:19), Namhyung Kim wrote: -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int)

Re: Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 23:39), Namhyung Kim wrote: > Hi Masami, > > 2013-11-27 (수), 20:57 +0900, Masami Hiramatsu: >> (2013/11/27 15:19), Namhyung Kim wrote: >>> >>> -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int) >>> -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, "%x", unsigned int) >>>

Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Namhyung Kim
Hi Masami, 2013-11-27 (수), 20:57 +0900, Masami Hiramatsu: > (2013/11/27 15:19), Namhyung Kim wrote: > > > > -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int) > > -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, "%x", unsigned int) > > -DEFINE_BASIC_PRINT_TYPE_FUNC(u32, "%lx", unsigned long) > >

Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 15:19), Namhyung Kim wrote: > > -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int) > -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, "%x", unsigned int) > -DEFINE_BASIC_PRINT_TYPE_FUNC(u32, "%lx", unsigned long) > -DEFINE_BASIC_PRINT_TYPE_FUNC(u64, "%llx", unsigned long long) >

Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 15:19), Namhyung Kim wrote: -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, %x, unsigned int) -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, %x, unsigned int) -DEFINE_BASIC_PRINT_TYPE_FUNC(u32, %lx, unsigned long) -DEFINE_BASIC_PRINT_TYPE_FUNC(u64, %llx, unsigned long long)

Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Namhyung Kim
Hi Masami, 2013-11-27 (수), 20:57 +0900, Masami Hiramatsu: (2013/11/27 15:19), Namhyung Kim wrote: -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, %x, unsigned int) -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, %x, unsigned int) -DEFINE_BASIC_PRINT_TYPE_FUNC(u32, %lx, unsigned long)

Re: Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 23:39), Namhyung Kim wrote: Hi Masami, 2013-11-27 (수), 20:57 +0900, Masami Hiramatsu: (2013/11/27 15:19), Namhyung Kim wrote: -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, %x, unsigned int) -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, %x, unsigned int) -DEFINE_BASIC_PRINT_TYPE_FUNC(u32, %lx,

Re: [PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-27 Thread Namhyung Kim
Hi Masami, On Thu, 28 Nov 2013 13:16:09 +0900, Masami Hiramatsu wrote: (2013/11/27 23:39), Namhyung Kim wrote: Hi Masami, 2013-11-27 (수), 20:57 +0900, Masami Hiramatsu: (2013/11/27 15:19), Namhyung Kim wrote: -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, %x, unsigned int)

[PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim 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

[PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com 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