Dtrace probes not listed - likely optimized out

Farhan Khan khanzf at gmail.com
Fri Jul 27 14:42:34 UTC 2018


Hi all,

I am trying to view the dtrace probe for "ieee80211_ioctl_get80211"
located in /usr/src/sys/net80211/ieee80211_ioctl.c. This is perhaps
inlined during optimization, so I put the following in both make.conf
and src.conf

CFLAGS+=-O0 -fno-inline-functions

I also tried makeoptions DEBUG="-g -O0 -fno-inline-functions" in the
GENERIC configuration file, but this caused the kernel to fail to
boot.

"dtrace -l" still fails to list the probe for ieee80211_ioctl_get80211

I'm stuck. Any ideas?
--
Farhan Khan
PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE


More information about the freebsd-dtrace mailing list