Date: Mon, 15 Feb 2010 16:51:40 +0530 From: Shrikanth Kamath <shrikanth07@gmail.com> To: freebsd-hackers@freebsd.org Subject: Ktrace'ing kernel threads Message-ID: <291941b81002150321w7b0479beo1c6fec39ef6a7922@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Can ktrace trace another kernel thread which has roughly the semantics as below, right now it does not hit any of the designated interesting points that ktrace is built for, but what if I could define those, will ktrace still allow tracing another kernel thread? thread(client_info) { ... ... build_msg(client_info); /* this will malloc a mbuf and fill the data in it */ ... sosend(client_info); } I want to time the entry/return of build_msg, and the time sosend, dump client_info (some specific fields).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?291941b81002150321w7b0479beo1c6fec39ef6a7922>