Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 22:45:12 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264363 - head/share/man/man9
Message-ID:  <201404112245.s3BMjCgK088922@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Fri Apr 11 22:45:12 2014
New Revision: 264363
URL: http://svnweb.freebsd.org/changeset/base/264363

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

Modified:
  head/share/man/man9/SDT.9

Modified: head/share/man/man9/SDT.9
==============================================================================
--- head/share/man/man9/SDT.9	Fri Apr 11 22:34:00 2014	(r264362)
+++ head/share/man/man9/SDT.9	Fri Apr 11 22:45:12 2014	(r264363)
@@ -200,7 +200,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
@@ -212,7 +212,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
@@ -268,7 +268,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?201404112245.s3BMjCgK088922>