Code:
~> uname -a
FreeBSD compaq.yuetime 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #5: Wed Nov 3 16:27:06 CDT 2010
[email]root@compaq.yuetim[/email]e:/usr/obj/usr/src/sys/HOUKAGO amd64
I added the required options to the kernel config file:
Code:
options KDTRACE_FRAME
options KDTRACE_HOOKS
options DDB_CTF
Code:
dtrace: invalid probe specifier syscall: "/usr/lib/dtrace/psinfo.d", line 88: failed to resolve type kernel`struct thread * for identifier curthread: Unknown type name
Note that all of the probes I wanted to use exist in the output of dtrace -l. I saw someone else who got the same error, but I found no solution. Any suggestions are welcome, thank you.