From 2c76c28e0ad0990be78061a247a4428e6ffa5012 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Tue, 29 Jul 2014 20:37:22 +0000 Subject: [PATCH] MFC r264363: Update the SDT(9) example to reflect the removal of the sname parameter in r258622. --- share/man/man9/SDT.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man9/SDT.9 b/share/man/man9/SDT.9 index 9b8af2ab2aca..1f821cf8d904 100644 --- a/share/man/man9/SDT.9 +++ b/share/man/man9/SDT.9 @@ -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 the network stack receives an IP 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