site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com JohnsMBP:~/Darwin/xnu-792 johnd$ grep -r kdbg_control * ... bsd/kern/kdebug.c:kdbg_control(int *name, u_int namelen, user_addr_t where, size_t *sizep) ... Thanks! -- Rick No worries. {P^/ _______________________________________________ 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... On Fri, 6 Oct 2006, Rick Mann wrote: I'm trying to learn how sysctl() with KERN_KDEBUG works, by reading the source for kern_sysctl(). It ends up calling kdbg_control(), but for the life of me I can't find that. Looks like it's in kdebug.c. I didn't search the latest xnu release but I'm pretty sure it'd be the same in the latest one. Is this stuff documented anywhere (other than the source)? I very much doubt it. There seems to be plenty of other stuff that needs documenting with higher priority than this. Where is the source? Where did you get the source for kern_sysctl? Anyway it's here: <http://www.opensource.apple.com/darwinsource/> Although the kernel (xnu) only seems to be present under PPC, hmmm.. This email sent to site_archiver@lists.apple.com
participants (1)
-
John Dalgliesh