From: Frediano Ziglio Subject: Re: [PATCH] gcov: Support gcc 4.7 Date: Mon, 17 Jun 2013 13:25:42 +0100 Message-ID: <1371471942.9654.19.camel@hamster.uk.xensource.com> References: <1371457748.9654.3.camel@hamster.uk.xensource.com> <1371465779.23802.31.camel@zakaz.uk.xensource.com> <1371466006.9654.15.camel@hamster.uk.xensource.com> <1371466192.23802.37.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1371466192.23802.37.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: George Dunlap , Christoph Egger , Matthew Daley , Miguel Clara , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2013-06-17 at 11:49 +0100, Ian Campbell wrote: > On Mon, 2013-06-17 at 11:46 +0100, Frediano Ziglio wrote: > > Perhaps a simple easy solution would be to allow privileged domains to > > read/write arbitrary memory from Xen (write to reset counters). > > "Arbitrary memory" would be a very hard sell. > > If all these counters could be constrained to pages which contains these > counters and nothing else then that might be a possibility to consider. > > Ian. > It would be very good if gcc could provide some options to move all counter in a given separate section and another for all coverage data (structures and strings). Actually there are no such options. I tried to change generated .s file but with no success (I don't know how to generate a common section in a new section, .comm/.lcomm generate always in .bss section). I'll write to gcc ML. Frediano