Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: DTrace probe problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DTrace probe problem



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


References: 
 >Re: DTrace probe problem (From: radj <email@hidden>)
 >Re: DTrace probe problem (From: Bill Bumgarner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.