At BSDCam2018 dteske@ noted that FreeBSD is missing dtrace support for SCTP. This patch adds it based on the Solaris specification in sctp provider for the upcoming Solaris 11.4.
I'll admit to being completely unfamiliar with SCTP, but I can't find any problems with this change. Thanks for adding the tests.
|206 ↗||(On Diff #47080)|
I would be more explicit and note that it implements the same probes as Solaris, but that some probes are FreeBSD-specific. Thus, scripts written for FreeBSD's probes aren't compatible unless the usage is restricted to send, receive and state-change.
I would just like to comment for the record that I wish there was more time before the 12.0 release so that I could have created dwatch profiles to simplify tapping into these new hooks. I don't have enough time to develop that before 12.0 is completely frozen.