Date: Wed, 12 Mar 2003 22:27:42 -0500 From: Yaoping Ruan <yruan@cs.princeton.edu> To: hackers@FreeBSD.ORG Subject: Kernel trace Message-ID: <3E6FFAAE.2B6108F8@cs.princeton.edu> References: <bulk.24288.20030308135115@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? - Yaoping Ruan 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?3E6FFAAE.2B6108F8>