Date: Fri, 22 Apr 2011 07:27:30 -0700 From: Chuck Tuffli <ctuffli@gmail.com> To: Alexander Kabaev <kabaev@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: no KLD symbols in dtrace? Message-ID: <BANLkTikrdkR%2BuwcBGMkCAsfEXwc%2BYtoF7w@mail.gmail.com> In-Reply-To: <20110421221611.7f52ca98@kan.dnsalias.net> References: <BANLkTi=iDhVTsdZLrFy6JohSRBexAhWyJA@mail.gmail.com> <20110421221611.7f52ca98@kan.dnsalias.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 21, 2011 at 7:16 PM, Alexander Kabaev <kabaev@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikrdkR%2BuwcBGMkCAsfEXwc%2BYtoF7w>