svn commit: r187150 - head/sys/kern

John Baldwin jhb at FreeBSD.org
Tue Jan 13 07:56:54 PST 2009


Author: jhb
Date: Tue Jan 13 15:56:53 2009
New Revision: 187150
URL: http://svn.freebsd.org/changeset/base/187150

Log:
  Add a new KTR tracepoint in the KTR_CALLOUT class to note when a callout
  routine finishes executing.
  
  MFC after:	1 week

Modified:
  head/sys/kern/kern_timeout.c

Modified: head/sys/kern/kern_timeout.c
==============================================================================
--- head/sys/kern/kern_timeout.c	Tue Jan 13 15:41:58 2009	(r187149)
+++ head/sys/kern/kern_timeout.c	Tue Jan 13 15:56:53 2009	(r187150)
@@ -414,6 +414,7 @@ softclock(void *arg)
 					lastfunc = c_func;
 				}
 #endif
+				CTR1(KTR_CALLOUT, "callout %p finished", c);
 				if ((c_flags & CALLOUT_RETURNUNLOCKED) == 0)
 					class->lc_unlock(c_lock);
 			skip:


More information about the svn-src-all mailing list