Not sure if this is related or not: Mach-O (the object file format
used on OSX) prepends an underline to the symbol name:

zareh:c rayson$ nm a.out
...
         U _exit
00001fea T _func
00001ff2 T _main

May be we need to add an "_"?? Is the PID provider in OSX smart enough
to figure out that it needs an underline?? I think the Apple engineers
can help us...

Rayson



On Nov 14, 2007 11:40 AM,  <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Chris (cc) and I try to get the SGE master monitor work with Apple Leopard
> dtrace. Unfortunately we are stuck with the error msg below.
>
> Anyone having an idea what could be the cause? What I can rule out as
> cause is function inlining for the reasons explained below.
>
> Background information on SGE master monitor implementation is under
>
>     http://wiki.gridengine.info/wiki/index.php/Dtrace
>
> Regards,
> Andreas
>
> On Wed, 14 Nov 2007, Chris Dagdigian wrote:
>
> > Hi Andreas,
> >
> > Looks like we have to appeal to others - I'm getting the same error about
> > sge_mirror_process_events ...
> >
> >> sh-3.2# ./monitor.sh
> >> dtrace: failed to compile script ./monitor.d: line 179: probe description
> >> pid53778::sge_mirror_process_events:return does not match any probes
> >> sh-3.2#
> >>
> > On Nov 14, 2007, at 6:06 AM, [EMAIL PROTECTED] wrote:
> >
> >> Hi Chris,
> >>
> >> this time function inlining can not be the cause since
> >> sge_mirror_process_events() gets called exclusively from other source
> >> modules. I added nevertheless the no_inline
> >> compiler directive to source code for sge_mirror_process_events() and
> >> recompiled the entire stuff anew. Please give it another try.
> >>
> >> If it doesn't work then we must ask for counsel from Apple and Sun
> >> engineers in [email protected] mailing list.
> >>
> >> Best regards,
> >> Andreas
> _______________________________________________
> dtrace-discuss mailing list
> [email protected]
>
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to