Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2004 22:50:25 +0800
From:      "Jun Su" <junsu@delphij.net>
To:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: Call for Testers: Kernel GCOV 
Message-ID:  <opr3tvibd9l8p7vk@mail.frontfree.net>
In-Reply-To: <opr3tqygmjl8p7vk@mail.frontfree.net>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr3tvibd9l8p7vk>