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 SuReceived on Mon Feb 23 2004 - 05:56:23 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:44 UTC