Call for Testers: Kernel GCOV

Jun Su junsu at delphij.net
Mon Feb 23 06:56:23 PST 2004


Sorry to reply myself. One more piece of tech detail information.

The patch is for the following purpose:
1. Enable kernel gcov in all platform instead of i386. I made the patch,
however I have not env to test.
2. Remove tcov SYSINIT. Use the method for SYSCTL to register the file  
into bb.
Please check the method in kern_linker.c. Register bb when kernel module is
loaded, and unregister bb when it is unloaded.
3. Enable gcov for kernel modules. Add -DCOVERAGE compile option for kmod
compiling. And use the kernel ldscrit to link kmod instead of the original
default ldscript.

Thanks,

Jun Su


More information about the freebsd-current mailing list