[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-dtrace-discuss
Subject:    Re: [dtrace-discuss] Problem tracing Fortran function with pid
From:       Manfred_Mücke <manfred.muecke () univie ! ac ! at>
Date:       2009-08-10 1:29:22
Message-ID: 1678992078.21249892992350.JavaMail.Twebapp () sf-app1
[Download RAW message or body]

> One workaround might be to instrument
> pidNNNN::dcntrl:75f0
> but that will change with recompilation.  (And you'd
> need to get any other rets)

I tried that, but got the same error from dtrace as when using a return probe. Just \
that when using pid offset probes, dtrace refuses to instrument both function entry \
and return!

> dtrace -Z -n 'pid$target::dcntrl_:0 {@f[probefunc,probename]=count()}' -n \
> 'pid$target::dcntrl_:75f0 {@f[probefunc,probename]=count()}' -c myprog

 libdtrace DEBUG: creating probe pid18000:myprog:dcntrl_:0
 libdtrace DEBUG: error at 0x8b0 (assuming jump table)

 libdtrace DEBUG: creating probe pid18000:myprog:dcntrl_:75f0
 libdtrace DEBUG: error at 0x8b0 (assuming jump table)

Looks like this function is not too fond of being dtraced.

\Manfred
-- 
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic