On Mon, Feb 05, 2007 at 09:01:47AM -0500, John W. Linville wrote:
quoted
to identify firmware problems on field.
I'm not too fond of the ENTER/LEAVE stuff either. But, I do sympathize
that they _can_ be useful in certain circumstances/workflows/whatever.
Is there an official "party line" on this documented somewhere
(i.e. CodingStyle or elsewhere)? A quick search doesn't reveal one
to me.
We don't want this generally. It's trivial to imlement this kind of
thing using gcc mcount instrumentation, but no one managed to submit
a generic implementation of this yet. acme is hacking on some cool
tools to make similar things possible. acme, any chance you might
have a cool idea about something based on ostra that we could merge
to allow people to do this without messing up the source code [1].
[1] yes, the l33t crowd would call this aspect oriented programming,
I'd cool this cool and useful tool :)