19 messages in org.opensolaris.dtrace-discuss[dtrace-discuss] Missing -G flag in O...
FromSent OnAttachments
Robert LorOct 26, 2007 8:27 am 
Adam LeventhalOct 26, 2007 8:44 am 
Steve PetersOct 26, 2007 10:08 am 
Adam LeventhalOct 26, 2007 10:37 am 
Jarod JensonOct 26, 2007 11:57 am 
Robert LorOct 26, 2007 1:37 pm 
Adam LeventhalOct 26, 2007 2:25 pm 
Robert LorOct 26, 2007 2:51 pm 
Adam LeventhalOct 26, 2007 3:27 pm 
Adam LeventhalOct 27, 2007 9:39 am 
James McIlreeOct 29, 2007 1:42 pm 
Adam LeventhalOct 29, 2007 4:48 pm 
James McIlreeOct 29, 2007 5:44 pm 
Adam LeventhalOct 30, 2007 6:16 pm 
Steve PetersOct 31, 2007 9:17 am 
Adam LeventhalOct 31, 2007 9:21 am 
Robert LorNov 2, 2007 1:36 pm 
James McIlreeNov 5, 2007 11:50 am 
Robert LorNov 5, 2007 2:36 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[dtrace-discuss] Missing -G flag in OSX Dtrace portActions...
From:Adam Leventhal (ah@eng.sun.com)
Date:Oct 26, 2007 10:37:52 am
List:org.opensolaris.dtrace-discuss

On Fri, Oct 26, 2007 at 10:08:58AM -0700, Steve Peters wrote:

The Mac OS X "dtrace -h" emits all the information required for successfully linking a USDT probe by the rest of the toolchain. On Mac OS X "dtrace -G" is superfluous. For historical reasons "-G" was disabled early on in the bring up. We'll take a bug to re-introduce "- G" as a no-op with a warning message.

See the section "BUILDING CODE CONTAINING USDT PROBES" in the Leopard dtrace(1) man page.

Static probes work very nicely on Mac OS X (thank you!) A number of our frameworks ship with "Is Enabled" static probes in Leopard.

Steve,

That's terrific (and my apologies for doubting your DTrace implementation even for a second)! Was this done by making modifications to your linker or gcc perhaps?

And congratulations to you and your colleagues on the port of DTrace to Mac OS X. We hope to hear from you all much more now that it's in the wild.

Adam