kernel module code coverage

Michael Tuexen tuexen at freebsd.org
Thu Aug 8 16:15:28 UTC 2019


> On 8. Aug 2019, at 15:52, Alan Somers <asomers at freebsd.org> wrote:
> 
> On Thu, Aug 8, 2019 at 7:42 AM Michael Tuexen <tuexen at freebsd.org> wrote:
>> 
>> 
>> 
>>> On 8. Aug 2019, at 14:24, Slava Shwartsman <slavash at FreeBSD.org> wrote:
>>> 
>>> Apparently, Bullseye are dropping support for FreeBSD.
>>> 
>>> We are looking for an alternative for kernel module run time analysis.
>>> Mostly interested in code coverage (for now).
>>> 
>>> Any suggestions that work for you?
>> Have you looked into /dev/kcov. This is used by SYZKALLER for getting
>> coverage information from the kernel.
>> 
>> Best regards
>> Michael
>>> 
>>> 
>>> Slava
> 
> That's part of Matt Macy's gcov project, right?.  However, while it
> works for the kernel itself, it doesn't work for modules.
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239194
> -Alan
I think it came from Andrew... So you might assign the bug to him or at least
get him in the loop.

Best regards
Michael



More information about the freebsd-current mailing list