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.
Details
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I'll admit to being completely unfamiliar with SCTP, but I can't find any problems with this change. Thanks for adding the tests.
share/man/man4/dtrace_sctp.4 | ||
---|---|---|
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. |
Please run igor -Dgpxy on the manual changes. OK to ignore any nits it complains about that you didn't introduce yourself.
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.
Done and fixed the issues reported. Thanks for making me aware of this tool.
share/man/man4/dtrace_sctp.4 | ||
---|---|---|
206 ↗ | (On Diff #47080) | I committed a more specific version stating that the send, receive and state-change provider is compatible and the others are FreeBSD specific. |
I wanted to finish this earlier, but unfortunately it didn't work out. I'm happy to test dwatch extension and tweak the dtrace support if needed.