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).
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to