On Thu, Oct 18, 2012 at 12:32 PM, vasanth rao naik sabavat
<vasanth.raon...@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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to