Re: Regarding Kernel Code Coverage
Re: Regarding Kernel Code Coverage
- Subject: Re: Regarding Kernel Code Coverage
- From: Nikita Danilov <email@hidden>
- Date: Wed, 7 Jul 2004 17:45:33 +0400
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 | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.