Examining kernel thread state at run-time
Examining kernel thread state at run-time
- Subject: Examining kernel thread state at run-time
- From: Allen Briggs <email@hidden>
- Date: Wed, 7 Feb 2007 14:41:38 -0500
Hi,
I'm working on a port of a driver to OS X 10.4. This driver has
several threads in it and several different locked regions. I
would like to examine the state of the threads at run-time from
an application--just to see which thread might be blocked on which
IOLock (or something else). Is it possible to do this without
resorting to kgdb?
In BSD, I'm used to using ps to show the "wait channel" for a
process/thread. But 'ps' in OS X just shows '-' for everyone.
I've also looked at 'top' and Activity Monitor to no avail.
Any suggestions?
Thanks,
-allen
--
Allen Briggs | http://www.ninthwonder.com/~briggs/ | email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden