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
This commit is contained in:
parent
30ed58c1cf
commit
38563f7c92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281702
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user