On Fri, 2010-05-07 at 11:30 -0400, Mathieu Desnoyers wrote:
quoted text > * Steven Rostedt (
rostedt@goodmis.org ) wrote:
quoted text > > I'm fine with forcing all callbacks to include a data parameter if you
> > are. This would also make the changes simpler.
>
> Yes, I am all for it.
Great! I'm making the changes now.
quoted text >
> As for the extra type checking, it is basically just trying to force you to
> generate matching caller-callee prototypes in your CPP macros. The goal is
> really to check that the data parameter type match in both the caller and
> callee. I see that as a mean to make sure nobody is going to try to take
> shortcuts by playing with the callback types in the "undefined behavior" zone of
> the C standard in future TRACE_EVENT() modifications.
OK, I'll wait for your patch. As my favorite saying goes...
"When people ask me what language my mother tongue is, I simply reply 'C'."
-- Steve
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [PATCH 2/9 - v2][RFC] tracing: Let tracepoints have da ... , Steven Rostedt , (Fri May 7, 8:45 am)