From 1f52ac9340be3979c9bf100fe65c551bcd870cc6 Mon Sep 17 00:00:00 2001 From: markj Date: Tue, 29 Jul 2014 20:37:22 +0000 Subject: 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(-) (limited to 'share/man/man9/SDT.9') diff --git a/share/man/man9/SDT.9 b/share/man/man9/SDT.9 index 9b8af2a..1f821cf 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 -- cgit v1.1