From: Wei Liu <wei.liu2@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Doug Goldstein <cardoe@cardoe.com>, Tim Deegan <tim@xen.org>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH 4/4] xen: add a gcov Kconfig option
Date: Tue, 30 Aug 2016 14:06:31 +0100 [thread overview]
Message-ID: <20160830130631.GI8502@citrix.com> (raw)
In-Reply-To: <57C59EA4020000780010A2BD@prv-mh.provo.novell.com>
On Tue, Aug 30, 2016 at 06:56:36AM -0600, Jan Beulich wrote:
> >>> On 30.08.16 at 14:01, <wei.liu2@citrix.com> wrote:
> > Signed-off-by: Wei Liu <wei.liu2@citrix.com>
>
> Acked-by: Jan Beulich <jbeulich@suse.com>
>
> with one adjustment (see below).
>
> > Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> > Cc: Stefano Stabellini <sstabellini@kernel.org>
> > Cc: Tim Deegan <tim@xen.org>
> > Cc: Doug Goldstein <cardoe@cardoe.com>
> >
> > Would like to have it default to DEBUG, but we also need to check
> > compiler to be gcc. I couldn't figure out how to check compiler to be
> > gcc in Kconfig.
>
> Actually I don't think defaulting to DEBUG would have been a good
> idea. Why would you want everyone to carry that extra baggage
> regardless of whether they actually mean to make use of it? And
> anyway, conversion to Kconfig should retain current behavior, which
> clearly was ...
>
> > --- a/Config.mk
> > +++ b/Config.mk
> > @@ -20,9 +20,6 @@ or = $(if $(strip $(1)),$(1),$(if $(strip
> > $(2)),$(2),$(if $(strip $(3)),$(
> > debug ?= y
> > debug_symbols ?= $(debug)
> >
> > -# Test coverage support
> > -coverage ?= n
>
> ... off by default.
>
OK. Makes sense to me.
> > --- a/xen/Kconfig.debug
> > +++ b/xen/Kconfig.debug
> > @@ -13,6 +13,11 @@ config DEBUG
> >
> > if DEBUG || EXPERT = "y"
> >
> > +config GCOV
> > + bool "Gcov Support"
> > + ---help---
> > + Enable gcov (a test coverage program in GCC) support.
> > +
> > config CRASH_DEBUG
> > bool "Crash Debugging Support"
> > depends on X86
>
> I now see that someone prior to you already managed to break the
> alphabetical ordering (DEVICE_TREE_DEBUG got added to the end),
> but please don't introduce further issues like this. The only exception
> here are entries which have dependencies on others in this same
> section (like PERF_ARRAYS depends on PERF_COUNTERS).
>
OK. I will move this option to correct location.
Wei.
> Jan
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-08-30 13:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 12:01 [PATCH 0/4] Fix gcov build Wei Liu
2016-08-30 12:01 ` [PATCH 1/4] arm: acpi/boot.c is only used during initialisation Wei Liu
2016-08-31 13:25 ` Julien Grall
2016-08-31 13:45 ` Wei Liu
2016-08-31 13:54 ` Julien Grall
2016-08-30 12:01 ` [PATCH 2/4] arm64: use "b" to branch to start_xen Wei Liu
2016-08-30 13:28 ` Konrad Rzeszutek Wilk
2016-08-31 13:40 ` Julien Grall
2016-08-30 12:01 ` [PATCH 3/4] xen: fix gcov compilation Wei Liu
2016-08-30 12:57 ` Ian Jackson
2016-08-30 12:59 ` Jan Beulich
2016-08-30 13:30 ` Wei Liu
2016-08-30 12:01 ` [PATCH 4/4] xen: add a gcov Kconfig option Wei Liu
2016-08-30 12:56 ` Jan Beulich
2016-08-30 13:06 ` Wei Liu [this message]
2016-08-30 16:49 ` Doug Goldstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160830130631.GI8502@citrix.com \
--to=wei.liu2@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=cardoe@cardoe.com \
--cc=ian.jackson@eu.citrix.com \
--cc=sstabellini@kernel.org \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).