RE: Walking the task list from a kext
RE: Walking the task list from a kext
- Subject: RE: Walking the task list from a kext
- From: "Yount, Chuck" <email@hidden>
- Date: Sun, 4 Feb 2007 20:38:14 -0700
- Thread-topic: Walking the task list from a kext
For hardware debugging purposes, I need the list of all
processes and their address maps at a very specific point in time (when a
specific ioctl is called). I'm concerned that if I wait until I get back to user
mode, some processes may terminate before I get the whole list handled,
especially if I have to write some script that calls vmmap. BTW, this is just
debugging code; it will not be released with any shipping
product.
Thanks,
Chuck
As others have pointed out, the 'vmmap' tool will allow you to examine the
various entries in a process' address map, and depending on what you actually
need you can sort/filter them appropriately.
However, the fact that you were asking for this information *inside* the
kernel still rings very prominent alarm bells, which is why I was asking *why*
you were looking for this information.
= Mike
|
_______________________________________________
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