diff options
author | rstone <rstone@FreeBSD.org> | 2012-05-15 01:30:25 +0000 |
---|---|---|
committer | rstone <rstone@FreeBSD.org> | 2012-05-15 01:30:25 +0000 |
commit | a059a0e086bd1de7928ae8b3f87dfb0a15f5ae0e (patch) | |
tree | dcd149c6f88df523a30bf4f80f0007085f75f7f5 /libexec | |
parent | 4a10f14855432b1a407764f8593d7d13f741fc3b (diff) | |
download | FreeBSD-src-a059a0e086bd1de7928ae8b3f87dfb0a15f5ae0e.zip FreeBSD-src-a059a0e086bd1de7928ae8b3f87dfb0a15f5ae0e.tar.gz |
Implement the DTrace sched provider. This implementation aims to be
compatible with the sched provider implemented by Solaris and its open-
source derivatives. Full documentation of the sched provider can be found
on Oracle's DTrace wiki pages.
Note that for compatibility with scripts originally written for Solaris,
serveral probes are defined that will never fire. These probes are defined
to fire when Solaris-specific features perform certain actions. As these
features are not present in FreeBSD, the probes can never fire.
Also, I have added a two probes that are not defined in Solaris, lend-pri
and load-change. These probes have been added to make it possible to
collect schedgraph data with DTrace.
Finally, a few probes are defined in Solaris to take a cpuinfo_t *
argument. As it was not immediately clear to me how to translate that to
FreeBSD, currently those probes are passed NULL in place of a cpuinfo_t *.
Sponsored by: Sandvine Incorporated
MFC after: 2 weeks
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions