Page MenuHomeFreeBSD

WIP: dtrace_mib.4: Document the DTrace MIB provider
Needs ReviewPublic

Authored by 0mp on Nov 12 2025, 2:56 PM.
Tags
None
Referenced Files
F141983886: D53709.id.diff
Wed, Jan 14, 12:25 PM
F141982987: D53709.id166384.diff
Wed, Jan 14, 12:12 PM
Unknown Object (File)
Tue, Jan 13, 8:43 AM
Unknown Object (File)
Mon, Jan 12, 12:20 PM
Unknown Object (File)
Sat, Jan 10, 5:22 AM
Unknown Object (File)
Wed, Dec 31, 3:22 AM
Unknown Object (File)
Nov 30 2025, 11:07 PM
Unknown Object (File)
Nov 30 2025, 4:34 AM

Details

Reviewers
gnn
kp
Summary

Obtained from: 60d8dbbef075 netinet: add a probe point for IP, IP6, ICMP, ICMP6, UDP and TCP stats counters

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68616
Build 65499: arc lint + arc unit

Event Timeline

0mp requested review of this revision.Nov 12 2025, 2:56 PM

The content looks good to me.

I don't know if it's worth mentioning that there are a handful of probes that have a second argument. Things like icp6_outhist are actually arrays of different ICMP6 types, and we allow the type to be probed as well.

This revision is now accepted and ready to land.Nov 13 2025, 10:46 AM

Thanks @kp!

Here are some updates:

  • Cross-reference dtrace_mib(4)
  • Clarify what ah and esp are
  • Mention that some probes provide more than 1 argument. I think it's helpful to note that so that users can explore from here.
  • I need to double-check the part where I recommend against using typed args[]. I just don't remember anymore if that's true.
This revision now requires review to proceed.Nov 13 2025, 6:50 PM