Date: Sat, 18 Apr 2015 20:36:59 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281702 - head/sys/kern Message-ID: <201504182036.t3IKax6s040576@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504182036.t3IKax6s040576>