WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH-0/2] Hypervisor profiling using GCOV (64bit Hyper

To: Tej <bewith.tej@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH-0/2] Hypervisor profiling using GCOV (64bit Hypervisor)
From: Gianluca Guida <gianluca.guida@xxxxxxxxxxxxx>
Date: Fri, 27 Feb 2009 19:02:22 +0000
Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 27 Feb 2009 11:14:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f1c9d250902260709s35714c06k990b07a3221afc66@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f1c9d250902260709s35714c06k990b07a3221afc66@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110)
Hi,

Tej wrote:
Sending Patches for the 64 bit Hypervisor, We have tested patches on
AMD-64 (Athlon(tm) 64 X2 Dual Core Processor 4600+) machine with
gcc-4.2 & gcc-3.4. Please refer the previous GCOV RFC in same mail for
more info on Hypervisor profiling.
We have added support to 32bit and 64bit Kernel.

In addition to patches for hypervisor profiling, we did a little work
on *lcov* to work with hypervisor.
README could be useful, for naive lcov user. locv-diff.patch show our
change in lcov scripts.

any comments, feedback and suggestion are more than welcome

While I still need to test the patch (building 3.3 right now) and to understand gcov internals, I think that a few comments can be done, mostly aestethicals.

- xen coding style: Using four-spaces tabs is generally the tradition. Also I do prefer to have brackets that start code blocks on a new line aligned to the previous line, but that's not followed everywhere in the code.

- Makefiles: while the num=$*.c is still a mystery to me, my question is: do you really need to make links with different names to files compiled multiple times? If so, it would be useful to remove them on 'make clean'. Also, it would be useful to make this feature enabled with a compile-time option.

More comments to follow as I test it.

Thanks,
Gianluca

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>