Hi,

Is there a specific reason the DTRACEHIOC_REMOVE ioctl is deprecated?
I found I needed to use it in my Perl USDT provider code[*], which
creates providers dynamically at runtime. I wonder if I'm missing a
better way of doing the same thing.

The situation I'm handling with the remove operation is killing and
recreating a perl interpreter in the same process, which
Apache/mod_perl does on startup. Without the remove call, the probes
created by the first interpreter are still around, but are unknown to
the second interpreter - a subsequent ADDDOF for the same provider
doesn't appear to update existing probes.


Thanks,
Chris.

* - 
http://search.cpan.org/~chrisa/Devel-DTrace-Provider-0.02/lib/Devel/DTrace/Provider.pm
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to