On Wed, 14 Nov 2007, Rayson Ho wrote:
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??
Should be. Before Chris and I were already able to resolve two or three
similar errors of type
"probe description ... does not match any probes"
by adding noinline to the source code as explained in
http://bugs.opensolaris.org/view_bug.do?bug_id=6480235
that would mean pid provider as such *does work* ;-)
Btw. this is what nm gets me for the binary wrts the functions needed
by the DTrace monitor
000e50da t _cl_message_list_append_receive
000e50a4 t _cl_message_list_append_send
000e50f5 t _cl_message_list_remove_receive
000e50bf t _cl_message_list_remove_send
0000558e t _dispatch_jobs
00063510 T _report_list_send
00004651 t _select_assign_debit
0011c4c2 T _sge_lock
0011c7d0 T _sge_locker_id
0010ace1 T _sge_log
0004f098 T _sge_mirror_process_events <---------------------------------
0011c6b6 T _sge_unlock
Regards,
Andreas
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]
<°)))><
http://gridengine.info/
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551
Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
_______________________________________________
dtrace-discuss mailing list
[email protected]