[PATCH 0/3] tracing: fix macro expansion and refactor some of dynamic_array support

2014-02-28 Thread Filipe Brandenburger
Hi Steven Rostedt, Li Zefan, This fixes an issue with macro expansion introduced in commit 7d536cb3f (tracing/events: record the size of dynamic arrays). I split it in 3 patches, the first fixes a bug, the second improves the code to evaluate the expression only once and the third refactors an

[PATCH 0/3] tracing: fix macro expansion and refactor some of dynamic_array support

2014-02-28 Thread Filipe Brandenburger
Hi Steven Rostedt, Li Zefan, This fixes an issue with macro expansion introduced in commit 7d536cb3f (tracing/events: record the size of dynamic arrays). I split it in 3 patches, the first fixes a bug, the second improves the code to evaluate the expression only once and the third refactors an