Date: Thu, 18 Oct 2012 16:24:34 -0400 From: vasanth rao naik sabavat <vasanth.raonaik@gmail.com> To: Ryan Stone <rysto32@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: dtrace failed to resolve struct thread Message-ID: <CAAuizBgejVu-pSb3T--iZ0S-ZpZW1kLZHw-p72PoS8RfWiioqw@mail.gmail.com> In-Reply-To: <CAFMmRNywPFta2_rPyqiNYQT9dyxwU0xN--=f-eaJQPPs7A0NvA@mail.gmail.com> References: <CAAuizBgYZYri0MzjfhYm=qpg7zS%2B8NsoXGhYRb4eaBSSxxXQQA@mail.gmail.com> <CAFMmRNywPFta2_rPyqiNYQT9dyxwU0xN--=f-eaJQPPs7A0NvA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Ryan, I checked out latest source code and compiled the kernel which has the option you have mentioned. I can now run dtrace -s schedgraph.d without any issues. Thanks, Vasanth On Thu, Oct 18, 2012 at 1:49 PM, Ryan Stone <rysto32@gmail.com> wrote: > On Thu, Oct 18, 2012 at 12:32 PM, vasanth rao naik sabavat > <vasanth.raonaik@gmail.com> wrote: > > Hi, > > > > I have an issue with latest FreeBSD when enabling dtrace > > > > dtrace -s schedgraph.d > > ./hotkernel > > both return the following error. > > > > : "/usr/lib/dtrace/psinfo.d", line 88: failed to resolve type > kernel`struct > > thread * for identifier curthread: Unknown type name > > > > 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Oct 17 12:04:00 PDT 2012 > > > > I see that there was a problem report on FreeBSD which got closed as > fixed. > > What is the fix for this issue? > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=130998 > > Did you buildkernel with WITH_CTF=1? You can check this by running > ctfdump on /boot/kernel/kernel and seeing if that produces output. It > will print the following error if you forgot to build with WITH_CTF=1: > > /boot/kernel/kernel does not contain .SUNW_ctf data > -- Thanks, Vasanth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAuizBgejVu-pSb3T--iZ0S-ZpZW1kLZHw-p72PoS8RfWiioqw>