Re: kernel dump server
Re: kernel dump server
- Subject: Re: kernel dump server
- From: Sam Vaughan <email@hidden>
- Date: Thu, 2 Feb 2006 16:25:11 +1100
On 02/02/2006, at 4:13 PM, Derek Kumar wrote:
We've also added a "stack snapshot" facility, implemented as a
system call, which will gather a coherent stack trace for every
thread in the system (user and kernel stacks). Internally, this is
being used to sample the state of the system when the spinny cursor
appears for too long, and collate that data in an automated fashion
for later analysis. This is actually present (sans any
documentation whatsoever) in the current x86 kernel, but a more
general release and documented interface probably won't be
available until Leopard. I don't know if it will be very useful to
external developers, but I can see it being used to track down
inexplicable latencies and so on when performance tuning.
I think it would be quite useful to all third party kernel developers
who spawn multiple threads. If you could expose an API to it then it
would be a great first step towards a Mac equivalent of icrash and
lcrash.
<http://oss.sgi.com/projects/lkcd/>
This is why it's been so great to see Apple's enthusiasm with the
continual development of the CHUD tools. The better the debugging
tools the more stable the platform gets, which is especially
important as Apple's third party kernel development community grows.
Sam
_______________________________________________
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