Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 20:38:09 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r269256 - stable/9/share/man/man9
Message-ID:  <201407292038.s6TKc9dC040726@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Tue Jul 29 20:38:08 2014
New Revision: 269256
URL: http://svnweb.freebsd.org/changeset/base/269256

Log:
  MFC r264363:
  Update the SDT(9) examples to reflect the removal of the sname parameter
  in r258622.

Modified:
  stable/9/share/man/man9/SDT.9
Directory Properties:
  stable/9/share/man/man9/   (props changed)

Modified: stable/9/share/man/man9/SDT.9
==============================================================================
--- stable/9/share/man/man9/SDT.9	Tue Jul 29 20:37:22 2014	(r269255)
+++ stable/9/share/man/man9/SDT.9	Tue Jul 29 20:38:08 2014	(r269256)
@@ -203,7 +203,7 @@ of type Destination Unreachable:
 .Bd -literal -offset indent
 SDT_PROVIDER_DECLARE(icmp);
 
-SDT_PROBE_DEFINE1(icmp, , unreach, pkt_receive, pkt-receive,
+SDT_PROBE_DEFINE1(icmp, , unreach, pkt__receive,
     "struct icmp *");
 
 .Ed
@@ -215,7 +215,7 @@ Consider a DTrace probe which fires when
 packet.
 Such a probe would be defined by multiple tracepoints:
 .Bd -literal -offset indent
-SDT_PROBE_DEFINE3(ip, , , receive, receive, "struct ifnet *",
+SDT_PROBE_DEFINE3(ip, , , receive, "struct ifnet *",
     "struct ip *", "struct ip6_hdr *");
 
 int
@@ -271,7 +271,7 @@ all in the
 library path.
 Then the FreeBSD probe above can be defined with:
 .Bd -literal -offset indent
-SDT_PROBE_DEFINE1_XLATE(ip, , , receive, receive, "struct icmp *",
+SDT_PROBE_DEFINE1_XLATE(ip, , , receive, "struct icmp *",
     "struct icmp_hdr_dt *");
 .Ed
 .Sh SEE ALSO



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407292038.s6TKc9dC040726>