Re: [RFC PATCH] Trace: use unsigned long long in trace print frames

2011-04-01 Thread liubo
On 04/01/2011 09:49 PM, Steven Rostedt wrote: > On Fri, 2011-04-01 at 14:42 +0800, liubo wrote: >> While adding tracepoint for btrfs, I got a problem: >> >> btrfs uses some macros with "ULL" type, but tracepoint's macros, >> __print_[flags,symbols](), only have "unsigned long", so on 32bit box >> t

Re: [RFC PATCH] Trace: use unsigned long long in trace print frames

2011-04-01 Thread Steven Rostedt
On Fri, 2011-04-01 at 14:42 +0800, liubo wrote: > While adding tracepoint for btrfs, I got a problem: > > btrfs uses some macros with "ULL" type, but tracepoint's macros, > __print_[flags,symbols](), only have "unsigned long", so on 32bit box > there will be 64->32 truncate WARNINGs when compiling

[RFC PATCH] Trace: use unsigned long long in trace print frames

2011-03-31 Thread liubo
While adding tracepoint for btrfs, I got a problem: btrfs uses some macros with "ULL" type, but tracepoint's macros, __print_[flags,symbols](), only have "unsigned long", so on 32bit box there will be 64->32 truncate WARNINGs when compiling. Here I'm inclined to make the replacement to clear tho