== Patches dtrace-all.diff - cummulative patch dtrace-ctf.diff - CTF utilities fixes dtrace-sys.diff - Kernel part of DTrace/mips dtrace-toolchain.diff - gcc/binutils fixes dtrace-userland.diff - userland part of DTrace/MIPS == Kernel configuration: options KDTRACE_HOOKS # all architectures - enable general DTrace hooks options DDB_CTF # all architectures - kernel ELF linker loads CTF data makeoptions DEBUG="-g" makeoptions WITH_CTF=1 makeoptions MODULES_OVERRIDE="opensolaris dtrace cyclic dtrace/dtnfsclient dtrace/dtnfscl dtrace/lockstat dtrace/profile" == Test script path to kernel module returned by kldstat(2) is just "kernel" so dtrace requires kernel binary to be in the same directory in order to extract CTF data. Script output should look something like this: dtrace: script '/dev/stdin' matched 523 probes CPU ID FUNCTION:NAME 0 125 ioctl:entry -> pid = 76, stack depthes = (3, 7) systrace.ko`systrace_probe+0xf8 kernel`trap+0xcc0 kernel`MipsUserGenException+0xf4 0x160338098 0x1600ab460 0x1600c9770 0x1600a6dd4 0x120004b60 0x120001990 0x16001cc84 == DTrace test suite ==== TEST RESULTS ==== mode: /usr/sbin/dtrace passed: 853 failed: 74 total: 927