

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
19 messages in org.opensolaris.dtrace-discuss[dtrace-discuss] Missing -G flag in O...| From | Sent On | Attachments |
|---|---|---|
| Robert Lor | Oct 26, 2007 8:27 am | |
| Adam Leventhal | Oct 26, 2007 8:44 am | |
| Steve Peters | Oct 26, 2007 10:08 am | |
| Adam Leventhal | Oct 26, 2007 10:37 am | |
| Jarod Jenson | Oct 26, 2007 11:57 am | |
| Robert Lor | Oct 26, 2007 1:37 pm | |
| Adam Leventhal | Oct 26, 2007 2:25 pm | |
| Robert Lor | Oct 26, 2007 2:51 pm | |
| Adam Leventhal | Oct 26, 2007 3:27 pm | |
| Adam Leventhal | Oct 27, 2007 9:39 am | |
| James McIlree | Oct 29, 2007 1:42 pm | |
| Adam Leventhal | Oct 29, 2007 4:48 pm | |
| James McIlree | Oct 29, 2007 5:44 pm | |
| Adam Leventhal | Oct 30, 2007 6:16 pm | |
| Steve Peters | Oct 31, 2007 9:17 am | |
| Adam Leventhal | Oct 31, 2007 9:21 am | |
| Robert Lor | Nov 2, 2007 1:36 pm | |
| James McIlree | Nov 5, 2007 11:50 am | |
| Robert Lor | Nov 5, 2007 2:36 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread 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 port | Actions |
|---|---|---|
| From: | Steve Peters (sc...@mac.com) | |
| Date: | Oct 26, 2007 10:08:35 am | |
| List: | org.opensolaris.dtrace-discuss | |
On Oct 26, 2007, at 8:44 AM, Adam Leventhal wrote:
It's especially odd that they've chosen to support the -h option, but not the -G option -- I'm not to what purpose one could put the generated header file. Perhaps the Apple folks could comment?
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.
SCP
Adam
On Fri, Oct 26, 2007 at 10:27:25AM -0500, Robert Lor wrote:
Anyone know why -G flag is not supported in the Dtrace port in Leopard? This makes the dtrace cmd in Leopard incompatible with that on Solaris, and it's already causing problem with PostgreSQL.
-Robert
Date: Fri, 26 Oct 2007 07:30:10 +0000 (GMT) From: Lee Packham <lpackham at gmail.com> Subject: [BUGS] BUG #3699: Fails to compile DTrace Support To: pgsql-bugs at postgresql.org X-Mailing-List: pgsql-bugs
The following bug has been logged online:
Bug reference: 3699 Logged by: Lee Packham Email address: lpackham at gmail.com PostgreSQL version: 8.2.5 Operating system: OSX Leopard Description: Fails to compile DTrace Support Details:
I have built a patch to enable a working DTrace on OSX with Postgres 8.2.5. Basically the problem is that the dtrace command on OSX doesn't have the -G parameter - so you have to use the newer -h method to produce a header file.
I have put the patch on my blog.
http://leenux.org.uk/dtrace-patches/dtrace-with-postgres-on-osx
Hope this is of use to you guys.
Cheers,
Lee Packham
---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives?
_______________________________________________ dtrace-discuss mailing list dtrace-discuss at opensolaris.org
-- Adam Leventhal, FishWorks http://blogs.sun.com/ahl
_______________________________________________ dtrace-discuss mailing list dtrace-discuss at opensolaris.org
Steve Peters scp at mac.com







