From owner-svn-src-all@FreeBSD.ORG Tue Jan 13 15:56:54 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EA061065764; Tue, 13 Jan 2009 15:56:54 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F01908FC0A; Tue, 13 Jan 2009 15:56:53 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0DFurwg007715; Tue, 13 Jan 2009 15:56:53 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0DFurj7007714; Tue, 13 Jan 2009 15:56:53 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200901131556.n0DFurj7007714@svn.freebsd.org> From: John Baldwin Date: Tue, 13 Jan 2009 15:56:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187150 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 15:56:54 -0000 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: