Re: trace_mark ugliness

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mathieu Desnoyers
Date: Tuesday, May 27, 2008 - 6:36 am

* Peter Zijlstra (peterz@infradead.org) wrote:

Hi Peter,

Thanks for looking into this. There seems that there are a few problems
with the solution you propose. The first problem being that there is a
va_start in a function taking fixed arguments (the generated
trace_##name function).

The second problem I see is that the callback registered to be called by
multi[i].func(multi[i].probe_private, &l); will have no type checking at
all, so the type checking problem is still present.

Mathieu



-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
trace_mark ugliness, Steven Rostedt, (Thu May 22, 7:24 am)
Re: trace_mark ugliness, Mathieu Desnoyers, (Thu May 22, 10:16 am)
Re: trace_mark ugliness, Steven Rostedt, (Thu May 22, 10:52 am)
Re: trace_mark ugliness, Peter Zijlstra, (Sun May 25, 4:20 am)
Re: trace_mark ugliness, Mathieu Desnoyers, (Tue May 27, 6:36 am)
Re: trace_mark ugliness, Peter Zijlstra, (Wed May 28, 8:19 am)