> 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
[email protected]

Reply via email to