Versions
Michael Tuexen
tuexen at freebsd.org
Tue Jun 12 10:41:37 UTC 2018
> On 12. Jun 2018, at 12:29, Domagoj Stolfa <domagoj.stolfa at gmail.com> wrote:
>
> Hi Michael:
>
> Thanks for making the SCTP probes! The 1.6.3 bit probably comes from the version of the API that D exposes, as seen here: https://github.com/freebsd/freebsd/blob/master/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c#L137. Adding new things should probably be done in the latest version i.e. 1.13 -- but I may be wrong (this is mainly by skimming the dt_pragma.c code to see what "binding" does.
Makes sense, thanks for the explanation and the link!
Best regards
Michael
>
> —
> Domagoj
>
>> On 12 Jun 2018, at 10:44, Michael Tuexen <tuexen at freebsd.org> wrote:
>>
>> Dear all,
>>
>> I'm implementing dtrace probe for SCTP and have a simple question for you.
>>
>> In dtrace files, for example udp.d there are lines like
>>
>> #pragma D binding "1.6.3" translator
>>
>> The question is: Where does 1.6.3 come from?
>>
>> Probably it comes from
>> http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libdtrace/common/udp.d.in
>>
>> I'll derive the SCTP related stuff from the oracle documentation available at
>> https://docs.oracle.com/cd/E37838_01/html/E61035/glhgu.html#OSDTGgqcjh
>>
>> sctp.d is not available in Illumos. Which version number should I use?
>>
>> Best regards
>> Michael
>>
>> _______________________________________________
>> freebsd-dtrace at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
>> To unsubscribe, send any mail to "freebsd-dtrace-unsubscribe at freebsd.org"
>
More information about the freebsd-dtrace
mailing list