Re: [for-next][PATCH] tracing: Add __field_struct macro for TRACE_EVENT()

2014-06-21 Thread Borislav Petkov
On Sat, Jun 21, 2014 at 07:50:25AM -0400, Steven Rostedt wrote: > > Updates to the RAS tracepoints found that the __field() macro has a bug > in it where you can not use it with structures. It only works with > primitives. This is because of an added check to determine if the field > is signed or

[for-next][PATCH] tracing: Add __field_struct macro for TRACE_EVENT()

2014-06-21 Thread Steven Rostedt
Updates to the RAS tracepoints found that the __field() macro has a bug in it where you can not use it with structures. It only works with primitives. This is because of an added check to determine if the field is signed or not. A new macro is created called __field_struct() that can be used to

[for-next][PATCH] tracing: Add __field_struct macro for TRACE_EVENT()

2014-06-21 Thread Steven Rostedt
Updates to the RAS tracepoints found that the __field() macro has a bug in it where you can not use it with structures. It only works with primitives. This is because of an added check to determine if the field is signed or not. A new macro is created called __field_struct() that can be used to

Re: [for-next][PATCH] tracing: Add __field_struct macro for TRACE_EVENT()

2014-06-21 Thread Borislav Petkov
On Sat, Jun 21, 2014 at 07:50:25AM -0400, Steven Rostedt wrote: Updates to the RAS tracepoints found that the __field() macro has a bug in it where you can not use it with structures. It only works with primitives. This is because of an added check to determine if the field is signed or not.