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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to