diff options
author | markj <markj@FreeBSD.org> | 2014-07-29 20:37:22 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2014-07-29 20:37:22 +0000 |
commit | 1f52ac9340be3979c9bf100fe65c551bcd870cc6 (patch) | |
tree | 5a14e05516bd6d3c7228074792bf0f4c2337b929 /share/man | |
parent | 8116ff75971b8c4b280da201f4633ac0e874bc59 (diff) | |
download | FreeBSD-src-1f52ac9340be3979c9bf100fe65c551bcd870cc6.zip FreeBSD-src-1f52ac9340be3979c9bf100fe65c551bcd870cc6.tar.gz |
MFC r264363:
Update the SDT(9) example to reflect the removal of the sname parameter
in r258622.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/SDT.9 | 6 |
1 files changed, 3 insertions, 3 deletions
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 |