I apologize for not being clear.
Bit of background: I am writing a WiFi device driver and a certain part of the code is malfunctioning. I do not know why/where, so I am tracing the code through using dtrace. I am currently at the function ieee80211_ioctl_get80211. This is part of net80211 (AFAIK, this does not compile as a stand-alone module). However, if you run
dtrace -l
, ieee80211_ioctl_get80211 is not listed.
This appears to be due to some sort of optimization, I am not certain.
So what did you do to try and make this work?
A few things. I added the options
CFLAGS+=-O0 -fno-inline-functions
to /etc/make.conf and /etc/src.conf. I also added these to makeoptions
DEBUG="-g -O0 -fno-inline-function"
in /usr/src/sys/amd64/conf/GENERIC, which just caused the kernel to panic at boot.
What does this even mean? Ran make clean? You do realize that this doesn't perform any build operations? Also: where did you run that command?
This was out of frustration, I figured maybe my NO_CLEAN=1 that I originally had in make.conf was causing problems when adjusting my CFLAGS.
You're only talking about a probe which you can't find, but why assume that it should be there in the first place?
I presumed that all kernel functions were there by default, no? Why would ieee80211_ioctl_set80211 be present as a probe but not ieee80211_ioctl_get80211? It seems to me that both should be present. Am I mistaken?
Thanks again!