On Jun 3, 2008, at 9:48 PM, radj wrote:


It can. There's an action, raise(int signal), that may be used in a DTrace clause. This action is considered "destructive", so you have to pass the -w option to the "dtrace" command.

This is good! But since D script are made out of probes, is it possible to use raise() when dtrace command has finished compiling and not when a probe fires?

I'm not sure I understand what you're asking. Are you looking for the dtrace:::BEGIN probe? If you put an action on that, it's executed when DTrace starts tracing.

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to