lkml.org 
[lkml]   [2009]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/3] tracing/filters: Add __field_ext() to TRACE_EVENT


On Fri, 7 Aug 2009, Li Zefan wrote:

> >> #define is_signed_type(type) (((type)(-1)) < 0)
> >>
> >> @@ -165,7 +172,7 @@ do { \
> >> #define __common_field(type, item, is_signed) \
> >> ret = trace_define_field(event_call, #type, "common_" #item, \
> >> offsetof(typeof(field.ent), item), \
> >> - sizeof(field.ent.item), is_signed); \
> >> + sizeof(field.ent.item), is_signed, -1);\
> >
> > I think this wants to be FILTER_OTHER?
> >
>
> oops.. I thought I had changed all -1 to FILTER_OTHER..
>
> I guess you're going to fix this manually?

Yeah, I can make that change.

Thanks!

-- Steve



\
 
 \ /
  Last update: 2009-08-07 04:53    [W:0.038 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site