Date: Sat, 24 Jan 2009 10:22:49 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_timeout.c Message-ID: <200901241022.n0OAMtS8045178@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-01-24 10:22:49 UTC FreeBSD src repository Modified files: sys/kern kern_timeout.c Log: SVN rev 187664 on 2009-01-24 10:22:49Z by rwatson Add explicit static DTrace tracing to the callout mechanism, capturing pointers to the callout handler just before and just after the callout it invoked. I attempted to do this in a manner congruent to tracing in Solaris's callout mechanism, but couldn't quite use the same names due to convention and syntax differences. Example DTrace script to generate a distribution graph of callout execution times: callout_execute:::callout_start { self->cstart = timestamp; } callout_execute:::callout_end { @length = quantize(timestamp - self->cstart); } Reviewed by: jb MFC after: 3 days Revision Changes Path 1.118 +15 -0 src/sys/kern/kern_timeout.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901241022.n0OAMtS8045178>