Date: Fri, 22 Apr 2011 18:44:31 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Chuck Tuffli <ctuffli@gmail.com> Cc: freebsd-hackers@FreeBSD.org Subject: Re: no KLD symbols in dtrace? Message-ID: <4DB1A25F.8040700@FreeBSD.org> In-Reply-To: <20110422112444.0e423a80@kan.dnsalias.net> References: <BANLkTi=iDhVTsdZLrFy6JohSRBexAhWyJA@mail.gmail.com> <20110421221611.7f52ca98@kan.dnsalias.net> <BANLkTikrdkR%2BuwcBGMkCAsfEXwc%2BYtoF7w@mail.gmail.com> <20110422112444.0e423a80@kan.dnsalias.net>
next in thread | previous in thread | raw e-mail | index | archive | help
on 22/04/2011 18:24 Alexander Kabaev said the following: > Do ctfdump -tf on your kld and verify that what it outputs actually > makes sense. Do kldload and see if fbt provider knows about your module > and functions. There is nothing else special that I can think off. > > Maybe make sure that you compile your sources with -g in the first > place? DWARF debug info is what CTF generation utils use to figure out > types and function prototypes. Also, dtrace process needs to access the module file for address-to-name translation. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB1A25F.8040700>