From owner-freebsd-dtrace@freebsd.org Tue Jun 12 10:41:37 2018 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 679B3102058C for ; Tue, 12 Jun 2018 10:41:37 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01DE77C158 for ; Tue, 12 Jun 2018 10:41:36 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2003:cd:6f27:fb00:5cb2:60e5:67af:a669] (p200300CD6F27FB005CB260E567AFA669.dip0.t-ipconnect.de [IPv6:2003:cd:6f27:fb00:5cb2:60e5:67af:a669]) (Authenticated sender: macmic) by drew.franken.de (Postfix) with ESMTPSA id B6F79721E281A; Tue, 12 Jun 2018 12:41:27 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: Versions From: Michael Tuexen In-Reply-To: Date: Tue, 12 Jun 2018 12:41:26 +0200 Cc: freebsd-dtrace@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <605AF564-2B18-42AB-9951-719B71B7DD17@freebsd.org> References: <3CB3A140-601B-414F-99C7-7934A9E03281@freebsd.org> To: Domagoj Stolfa X-Mailer: Apple Mail (2.3445.8.2) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 10:41:37 -0000 > On 12. Jun 2018, at 12:29, Domagoj Stolfa = wrote: >=20 > Hi Michael: >=20 > 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/li= b/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 >=20 > =E2=80=94=20 > Domagoj >=20 >> On 12 Jun 2018, at 10:44, Michael Tuexen wrote: >>=20 >> Dear all, >>=20 >> I'm implementing dtrace probe for SCTP and have a simple question for = you. >>=20 >> In dtrace files, for example udp.d there are lines like >>=20 >> #pragma D binding "1.6.3" translator >>=20 >> The question is: Where does 1.6.3 come from? >>=20 >> Probably it comes from >> = http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libdtrace/comm= on/udp.d.in >>=20 >> 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 >>=20 >> sctp.d is not available in Illumos. Which version number should I = use? >>=20 >> Best regards >> Michael >>=20 >> _______________________________________________ >> freebsd-dtrace@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace >> To unsubscribe, send any mail to = "freebsd-dtrace-unsubscribe@freebsd.org" >=20