site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 02/02/2006, at 4:13 PM, Derek Kumar wrote: <http://oss.sgi.com/projects/lkcd/> Sam _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. 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. This email sent to site_archiver@lists.apple.com