Re: DTrace probe problem
Re: DTrace probe problem
- Subject: Re: DTrace probe problem
- From: Ken Thomases <email@hidden>
- Date: Tue, 3 Jun 2008 20:11:28 -0500
On Jun 1, 2008, at 9:31 PM, Bill Bumgarner wrote:
On Jun 1, 2008, at 7:19 PM, radj wrote:
I can try that. Sounds like a good idea. Make the "waiting for the
signal" the first thing the driver will do. but how do you send a
signal from within DTrace to a specific process?
I have no idea if dtrace can send a signal.
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.
Cheers,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden