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] RE: [PATCH] Xenoprof passive domain support fixes

To: "DaSilva, Rosilmildo" <rosilmildo.dasilva@xxxxxxx>, "Ray Bryant" <raybry@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] RE: [PATCH] Xenoprof passive domain support fixes
From: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Date: Fri, 14 Jul 2006 09:15:01 -0700
Cc: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Delivery-date: Fri, 14 Jul 2006 09:16:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <493F4B73971F3C4DA0FDBB28AFB68A4202874FED@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcanTfX6ZUkmY2a3SJyZVIu2EntInwABIHqAAAMKzfA=
Thread-topic: [Xen-devel] RE: [PATCH] Xenoprof passive domain support fixes
Rosimildo,

You are correct. This explains the problem that Ray is seeing.
We need to fix the kernel code to use the right address range from the
image file specified with --passive-images option. And in case the image
file is not specified we need to rely on the CPU mode (user/kernel/xen)
to assign the sample to the right bin. 
I will proabbly not have time to work on this before the Ottawa Linux
Simposium next week which I will be attending. 
If nobody provides a fix until them I will work something out when I
come back.
Xiaowei, any change you could provide a fix for this?

Thanks

Renato

PS- Brasileiro, sim. Bom encontrar outro brasileiro por aqui ...

>> -----Original Message-----
>> From: DaSilva, Rosilmildo [mailto:rosilmildo.dasilva@xxxxxxx] 
>> Sent: Friday, July 14, 2006 7:37 AM
>> To: Ray Bryant; xen-devel@xxxxxxxxxxxxxxxxxxx
>> Cc: Santos, Jose Renato G; Yang, Xiaowei
>> Subject: RE: [Xen-devel] RE: [PATCH] Xenoprof passive domain 
>> support fixes
>> 
>> Ray,
>> A 64bit guest would never have any entry on pvmlinux?, since 
>> the code on opd_kernel.c, line 112 ( of oprofile ), 
>> hardcodes the addresses in the range of 0xC0100000 - 
>> 0xC060000. The 64bits guest has a complete different range.
>> 
>> Renato, seu nome parece um nome Brasileiro.
>> Rosimildo. 
>> 
>> -----Original Message-----
>> From: Ray Bryant [mailto:raybry@xxxxxxxxxxxxxxxxx]
>> Sent: Friday, July 14, 2006 9:01 AM
>> To: xen-devel@xxxxxxxxxxxxxxxxxxx
>> Cc: Santos, Jose Renato G; Yang, Xiaowei; DaSilva, Rosilmildo
>> Subject: Re: [Xen-devel] RE: [PATCH] Xenoprof passive domain 
>> support fixes
>> 
>> Renato,
>> 
>> BTW, the HVM guest I am running (and hence the passive 
>> image) is a 64-bit 
>> guest.   We've run experiments with 32 bit guests and we do 
>> get pvmlinux
>> 
>> samples.    There may be other differences between these experiments,
>> but 
>> this is the only one we've been able to identify thus far.   
>> 
>> So perhaps there is something broken about kernel samples in 
>> a passive domain and 64 bit?
>> 
>> --
>> Ray Bryant
>> AMD Performance Labs                   Austin, Tx
>> 512-602-0038 (o)                 512-507-7807 (c)
>> 
>> 
>> 

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