Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2018 10:42:12 -0400
From:      Farhan Khan <khanzf@gmail.com>
To:        freebsd-dtrace@freebsd.org
Subject:   Dtrace probes not listed - likely optimized out
Message-ID:  <CAFd4kYBGhk%2Bq8CTXs_1oj=-p%2BfTFFrUD7ApUDSp6wHJ6M%2Bn2SQ@mail.gmail.com>

index | next in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFd4kYBGhk%2Bq8CTXs_1oj=-p%2BfTFFrUD7ApUDSp6wHJ6M%2Bn2SQ>