Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1309104

Re: [PATCH v2] kernel: add kcov code coverage

From Dmitry Vyukov <dvyukov@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] kernel: add kcov code coverage
Date 2016-01-14 10:20 +0100
Message-ID <qQMeu-4Y2-13@gated-at.bofh.it> (permalink)
References <qQt2a-8ek-7@gated-at.bofh.it> <qQM4O-4UH-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jan 14, 2016 at 10:03 AM, Kirill A. Shutemov
<kirill@shutemov.name> wrote:
> Hi,
>
> I've tried to build current -next with the patch. It has few reject, but
> nothing major.
>
> Booting the kernel in qemu with CONFIG_KCOV=y has failed. It hangs on
> "smpboot: Total of 3 processors activated (9178.27 BogoMIPS)"
>
> The interesting part is that I have only 2 cpu in this setup!
>
> Huh?
>
> CONFIG_KCOV=n works fine.


Hi Kirill,

Thanks for testing.

I will try to reproduce this if you provide:
 - location of the -next tree
 - gcc revision
 - .config
 - qemu command line

Alternatively, you can try to bulk disable instrumentation of
everything related to boot process (by adding KCOV_INSTRUMENT := n to
the Makefile). Most likely it is due to instrumentation. If it helps,
try to bisect the the guilty files.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-13 13:50 +0100
  Re: [PATCH v2] kernel: add kcov code coverage kbuild test robot <lkp@intel.com> - 2016-01-13 23:40 +0100
  Re: [PATCH v2] kernel: add kcov code coverage "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-14 10:10 +0100
    Re: [PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-14 10:20 +0100
      Re: [PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-14 13:30 +0100
        Re: [PATCH v2] kernel: add kcov code coverage "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-14 13:40 +0100
        Re: [PATCH v2] kernel: add kcov code coverage "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-14 14:00 +0100
          Re: [PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-14 15:30 +0100
  Re: [PATCH v2] kernel: add kcov code coverage Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2016-01-14 12:00 +0100
    Re: [PATCH v2] kernel: add kcov code coverage Dmitry Vyukov <dvyukov@google.com> - 2016-01-14 15:40 +0100

csiph-web