summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_timeout.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-01-13 15:56:53 +0000
committerjhb <jhb@FreeBSD.org>2009-01-13 15:56:53 +0000
commita20bdb255ff99bf368c9fcd0342d62cdad47e3e5 (patch)
treea5535b4c5d9235025e483d495ca5363e5465ede5 /sys/kern/kern_timeout.c
parentb729364e007ce8e59350975352820204db499ab3 (diff)
downloadFreeBSD-src-a20bdb255ff99bf368c9fcd0342d62cdad47e3e5.zip
FreeBSD-src-a20bdb255ff99bf368c9fcd0342d62cdad47e3e5.tar.gz
Add a new KTR tracepoint in the KTR_CALLOUT class to note when a callout
routine finishes executing. MFC after: 1 week
Diffstat (limited to 'sys/kern/kern_timeout.c')
-rw-r--r--sys/kern/kern_timeout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index bd754b1..af887a0 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -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:
OpenPOWER on IntegriCloud