no KLD symbols in dtrace?
Chuck Tuffli
ctuffli at gmail.com
Fri Apr 22 14:27:32 UTC 2011
On Thu, Apr 21, 2011 at 7:16 PM, Alexander Kabaev <kabaev at gmail.com> wrote:
...
> There is an omission on our .mk files which prevents CTF info to be
> generated for kld modules, regardless of WITH_CTF flag. I had
> discovered this at work just recently and have been using the
> following patch for the time being:
>
> http://people.freebsd.org/~kan/kmod-dtrace.diff
>
> If you can confirm it works for you too, I'll get it committed.
I patched /usr/src/sys/conf/kmod.mk and rebuilt my kld. It looks like
ctfmerge is called at the end of the build, but dtrace still shows
just the address. Maybe I missed a step?
---chuck
More information about the freebsd-hackers
mailing list