Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2019 13:07:54 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Matthew Macy <mat.macy@gmail.com>
Cc:        Michael Tuexen <tuexen@freebsd.org>, "slavash@freebsd.org" <slavash@freebsd.org>, current <current@freebsd.org>
Subject:   Re: kernel module code coverage
Message-ID:  <CAOtMX2iVHHTn_Fnj9wVjatmv3EQeOb9oVSLRHNZUhX9Tr3Dh-Q@mail.gmail.com>
In-Reply-To: <CAPrugNpm%2Bsm9XhrY-65B8dcqORdMw_s7R8yw6xFWSooYTk7GNw@mail.gmail.com>
References:  <b233b3e5-e2ac-8dce-5552-43bac9f8a5cc@FreeBSD.org> <C839BCA7-1FA9-4E0F-B03F-59B8E5FA6FFF@freebsd.org> <CAOtMX2iv%2B_Q6kbOqUmcjpafoym0Yx9OU9p3LKt_mpYf7eEzrNw@mail.gmail.com> <CAPrugNpm%2Bsm9XhrY-65B8dcqORdMw_s7R8yw6xFWSooYTk7GNw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Read the bug report.  I can't even load modules when I build with GCOV.

On Thu, Aug 8, 2019 at 1:04 PM Matthew Macy <mat.macy@gmail.com> wrote:
>
> The whole point of adding gcov support was for integrating with the
> ZoL CI framework which does coverage. So it very much does work with
> modules. Not sure where that comes from.
> -M
>
> On Thu, Aug 8, 2019 at 6:52 AM Alan Somers <asomers@freebsd.org> wrote:
> >
> > On Thu, Aug 8, 2019 at 7:42 AM Michael Tuexen <tuexen@freebsd.org> wrote:
> > >
> > >
> > >
> > > > On 8. Aug 2019, at 14:24, Slava Shwartsman <slavash@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
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



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