svn commit: r187561 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

John Baldwin jhb at FreeBSD.org
Wed Jan 21 10:54:36 PST 2009


Author: jhb
Date: Wed Jan 21 18:54:35 2009
New Revision: 187561
URL: http://svn.freebsd.org/changeset/base/187561

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

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/kern/kern_timeout.c

Modified: stable/7/sys/kern/kern_timeout.c
==============================================================================
--- stable/7/sys/kern/kern_timeout.c	Wed Jan 21 18:53:46 2009	(r187560)
+++ stable/7/sys/kern/kern_timeout.c	Wed Jan 21 18:54:35 2009	(r187561)
@@ -290,6 +290,7 @@ softclock(void *dummy)
 					lastfunc = c_func;
 				}
 #endif
+				CTR1(KTR_CALLOUT, "callout %p finished", c);
 				if ((c_flags & CALLOUT_RETURNUNLOCKED) == 0)
 					mtx_unlock(c_mtx);
 			skip:


More information about the svn-src-stable-7 mailing list