• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Walking the task list from a kext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Walking the task list from a kext
      • From: Michael Smith <email@hidden>
References: 
 >Re: Walking the task list from a kext (From: Michael Smith <email@hidden>)

  • Prev by Date: Re: Debugging Proprietary KEXTs
  • Next by Date: Re: mach in signal handler
  • Previous by thread: Re: Walking the task list from a kext
  • Next by thread: Re: Walking the task list from a kext
  • Index(es):
    • Date
    • Thread