sizeof(*var) instead of sizeof(type)
Call kmem_free() with the size of the thing we are freeing. Fixes panicwhen unloading the ktrace module on MIPS.
Work in progress dtrace for MIPS. MIPS support mostly copied fromFreeBSD, with NetBSD-specific changes largely based on aarch64 dtracesupport. Working well enough for system call tracing.