On Wed, May 07, 2014 at 10:59:43PM +0200, Vincent Bernat wrote: > ??? 7 mai 2014 22:56 +0200, Vincent Bernat <[email protected]> : > > > So the main interest of those probes are: > > > > * low overhead, they can be left in production to be here when you > > really need them > > And you enable/disable them while the program is running.
:-) Thanks very much for the detailed explanation Vincent. So from what I understand, dtrace is more for production uses while TRACE=1 is more for the developer. Neither fits the two purposes but if we agree that neither of them must not cross the frontier towards the other one, both can be useful and very efficient at little cost for the purpose they aim at serving (typically your "I was here but I won't dump my args"). So that makes a lot of sense indeed. I renamed the thread to help people find it in mail archives when they search for the feature. I think your explanation and patch will be a nice starting point for whoever wants to devote some time to this. Thanks! Willy

