From owner-freebsd-dtrace@freebsd.org Tue Jun 12 10:29:13 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 82ED6101EFB4 for ; Tue, 12 Jun 2018 10:29:13 +0000 (UTC) (envelope-from domagoj.stolfa@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE91C7B87D; Tue, 12 Jun 2018 10:29:12 +0000 (UTC) (envelope-from domagoj.stolfa@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id r125-v6so22206226wmg.2; Tue, 12 Jun 2018 03:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=E1kuQwUFMxva5jPVSOYMEU/A3ldLHyQl1LPS3b1P77I=; b=LB3ny++uf77c7c7VJeLSCpACSfcfceNxgrLrfufCLfWpbGo2pzYISHcpFHa9uZmccw hNDEQ/Jl/RfY+N0eY/LRB54c/WO1jRyG/BtN//kTMQFjYCYGwf/6dwdC1/k9rKhqdp/y gQtsybyTZELOOKjHrnPIQJ0dqjQS5HjvG1Q77xRm9dS+KvjkkSY9TLUYI7l55BetLiub wI0l+l5oTxULLfzYL26FdfoARXu+ujEVuPoCN85q4Wj53+BCcWcYTJ0IZj62MbG16p24 Flmt3/ZF3uFuEL+SK0idNvcY9XJHs19ph1yYIiBORkie/mn6vjzLeeRWKCixtLfnPOVa PpcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=E1kuQwUFMxva5jPVSOYMEU/A3ldLHyQl1LPS3b1P77I=; b=h++/56i2zcn7iDEzHEN+71EQuq98NB1M/F/q9j5TPSAuVGDmaejny5Q1Nt4lx1s4N2 iCaJyukWr1r3xNrpDbGafDNwgF/jQF0jkBrsc+gqacK+XEzWQemikFI44885OsXNV1FL ANN6eVb3x0c/7XpsI4+q22DbRFJqWHl/DExELJlu94gaizmS6JujXRC7vMqED+nVgDXT DxU00Ht48be6x4ZsZaO8R2g5KFaAaORIfoURwubRyBTtsyBZnbWI9/4Rsbqq1XjgMK1w faCVyfB2RyabHb3dvwrQhTynaFT3ZDCwfuTI1j/JSDFSUbkURimpfari5q5069gzIUSK BOGQ== X-Gm-Message-State: APt69E0b7tkchpcppT+mdYwKBMzfzBItu6tavs+Z2pvew79xR20wZO/M CNkNH9daNCvpdI9KBZBw0ef4t5Vv X-Google-Smtp-Source: ADUXVKJ/oRyAhMejeqe/uJMCkijykS34Sf1uhcIA4eFR21qmIduUVabujXnXfMzTbGb6Y6m+GS45aA== X-Received: by 2002:a1c:e618:: with SMTP id d24-v6mr1631387wmh.154.1528799351062; Tue, 12 Jun 2018 03:29:11 -0700 (PDT) Received: from dhcp-10-248-10-68.eduroam.wireless.private.cam.ac.uk (global-5-130.nat-2.net.cam.ac.uk. [131.111.5.130]) by smtp.gmail.com with ESMTPSA id v14-v6sm738902wro.33.2018.06.12.03.29.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 03:29:10 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: Versions From: Domagoj Stolfa In-Reply-To: <3CB3A140-601B-414F-99C7-7934A9E03281@freebsd.org> Date: Tue, 12 Jun 2018 11:29:08 +0100 Cc: freebsd-dtrace@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <3CB3A140-601B-414F-99C7-7934A9E03281@freebsd.org> To: Michael Tuexen X-Mailer: Apple Mail (2.3445.8.2) 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:29:13 -0000 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/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. =E2=80=94=20 Domagoj > 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"