LINT: add KDTRACE_MIB_SDT to catch inconsistencies with struct tcpstat

Why only arm64?  We want LINT coverage for kernels with DTrace and
without.  Global NOTES doesn't have KDTRACE_HOOKS, but most machine
dependent NOTES have it.  Except the x86 NOTES, which intentionally
doesn't have KDTRACE_HOOKS, so that there is coverage for a kernel without
DTrace.  So lets use arm64, our second Tier 1 platform, to have a LINT
with maximum DTrace features enabled.

See also: daad0b6501, 2f91534563
This commit is contained in:
Gleb Smirnoff 2025-06-17 09:47:06 -07:00
parent b59753f1d5
commit b3d0562dd8

View file

@ -16,6 +16,7 @@
# kernel modules.
#
options KDTRACE_HOOKS
options KDTRACE_MIB_SDT
#
# Most of the following is copied from ARM64 GENERIC.