Re: Regarding Kernel Code Coverage
Justin Walker writes:
On Jul 7, 2004, at 23:30, Manjunath wrote:
On Thu, 2004-07-08 at 10:05, Justin Walker wrote:
On Jul 7, 2004, at 3:20, Manjunath wrote:
[snip]
On linux we have Kernel Code Coverage Analysis where in we can measure
how much of the kernel code is run during a test. GCC provides the code
coverage at user level program if program is compiled with certain
flags. On a similar basis can we get Code coverage for the kernel on
Mac.
I don't know that we have any tools that have been used for code
coverage. What tools do you use to get code coverage data for the
linux kernel?
There is a patch that allows kernel to be compiled with -fprofile-arcs and -ftest-coverage. gcov input data (.bb files) are dynamically exported in /proc file system.
Regards,
Justin
Nikita. _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Nikita Danilov