Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 18:54:35 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r187561 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern
Message-ID:  <200901211854.n0LIsZ7b087257@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901211854.n0LIsZ7b087257>