Date: Fri, 14 Mar 2003 11:55:14 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Yaoping Ruan <yruan@cs.princeton.edu> Cc: hackers@FreeBSD.ORG Subject: Re: Kernel trace Message-ID: <20030314012514.GB37955@wantadilla.lemis.com> In-Reply-To: <3E6FFAAE.2B6108F8@cs.princeton.edu> References: <bulk.24288.20030308135115@hub.freebsd.org> <3E6FFAAE.2B6108F8@cs.princeton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wednesday, 12 March 2003 at 22:27:42 -0500, Yaoping Ruan wrote: > Does any one know the implementation of "ktrace" in FreeBSD? I would > like to hack the source code and have a relatively easy way to copy > the kernel stack image when a certain of thing happens, such as page > fault. It should work like the breakpoints in gdb. But kernel panic > is too much trouble for just a single stack image, and kgdb is not > simple enough. Which source file(s) I should look at? Start with kern/kern_ktrace.c. Note that work is currently going on with the implementation. Greg -- See complete headers for address and phone numbers --nVMJ2NtxeReIH9PS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+cS96IubykFB6QiMRAoNvAJ40T8K5ICC7tpRcuYh3txXLXb9QLgCeNMUf AJbIsT86eKW7EbwMgQYebRk= =jii6 -----END PGP SIGNATURE----- --nVMJ2NtxeReIH9PS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030314012514.GB37955>