Looking at dtrace.c (in the function dtrace_speculation_commit) it looks as if 
the speculated action printfs are actually formatted at probe time.  It seems 
apparent to me that if the compiler tagged each action printf with a format id, 
then saved only the printf args during probe time and subsequently applied the 
printf formatting at commit; that there would be a significantly reduced probe 
effect in the non-error case (i.e. the case in which the speculation buffer is 
ultimately discarded).

Thoughts and/or comments?

Thanks,

Rennie,


Rennie Allen,
Systems Engineer, GoAhead Software Inc.
Mobile: (951)704-2447
Email: [email protected]
Web: http://www.goahead.com
Linked-in: http://www.linkedin.com/in/rennieallen
 
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to