svn commit: r281702 - head/sys/kern
Mark Johnston
markj at FreeBSD.org
Sat Apr 18 20:36:59 UTC 2015
Author: markj
Date: Sat Apr 18 20:36:58 2015
New Revision: 281702
URL: https://svnweb.freebsd.org/changeset/base/281702
Log:
Remove unimplemented sched provider probes.
They were added for compatibility with the sched provider in Solaris and
illumos, but our sched provider is already incompatible since it uses native
types, so there isn't much point in keeping them around.
Differential Revision: https://reviews.freebsd.org/D2167
Reviewed by: rpaulo
Modified:
head/sys/kern/kern_synch.c
Modified: head/sys/kern/kern_synch.c
==============================================================================
--- head/sys/kern/kern_synch.c Sat Apr 18 20:31:59 2015 (r281701)
+++ head/sys/kern/kern_synch.c Sat Apr 18 20:36:58 2015 (r281702)
@@ -108,17 +108,6 @@ static void loadav(void *arg);
SDT_PROVIDER_DECLARE(sched);
SDT_PROBE_DEFINE(sched, , , preempt);
-/*
- * These probes reference Solaris features that are not implemented in FreeBSD.
- * Create the probes anyway for compatibility with existing D scripts; they'll
- * just never fire.
- */
-SDT_PROBE_DEFINE(sched, , , cpucaps__sleep);
-SDT_PROBE_DEFINE(sched, , , cpucaps__wakeup);
-SDT_PROBE_DEFINE(sched, , , schedctl__nopreempt);
-SDT_PROBE_DEFINE(sched, , , schedctl__preempt);
-SDT_PROBE_DEFINE(sched, , , schedctl__yield);
-
static void
sleepinit(void *unused)
{
More information about the svn-src-head
mailing list