On Nov 2, 2007, at 1:36 PM, Robert Lor wrote:

> James,
>
> From: James McIlree <[EMAIL PROTECTED]>
>>
>>      OS X doesn't support the older DTRACE_PROBE style macros, only
>> the newer (and much safer!) typechecked generated header files.
>>
>
> The DTRACE_PROBE macros are still being exposed in sdt.h. I tried  
> using them without running "dtrace -G", and the app built  
> successfully except none of the probes were available. Is there any  
> chance that this approach can be made to work, if not now, in the  
> future?
>
> -Robert


Robert,

        The sdt.h DTRACE_PROBE macros are vestigial, they'll go away any  
minute now.

        I can't think of a way to make them work without the generated -h  
files off the top of
my head, but it is software, and all things are possible :-).

        That said, the earliest possible date we could fix this is a ways  
off, and the
DTRACE_PROBE macros were obsoleted for good reason. I think it would be
possible to do a fairly simple mechanical translation of DTRACE_PROBE  
style
to the new generated header style, and that might get you going quicker.

        James M


_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to