1. A method of tracing a kernel function of a kernel comprising: providing, on a target machine, a kernel tracing dynamically loadable kernel module (DLKM), wherein the kernel tracing DLKM contains kernel code to provide a kernel activity of the kernel, wherein the kernel activity is to be tested prior to inserting the kernel code for the kernel activity into source code of the kernel; invoking, in response to a point reached during execution of the kernel, the kernel tracing DLKM on the target machine, wherein invoking the kernel tracing DLKM causes execution of the kernel code to be tested without first inserting the kernel code into the source code of the kernel; and collecting, by the invoked kernel tracing DLKM, trace variables.