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/
Home Products Support Community News


Re: [Xen-devel] Questions about OProfile

To: Anil Madhavapeddy <anil@xxxxxxxxxx>
Subject: Re: [Xen-devel] Questions about OProfile
From: "W. Michael Petullo" <mike@xxxxxxxx>
Date: Wed, 6 Apr 2011 11:31:31 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 06 Apr 2011 09:32:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9D285665-6460-4403-8873-88593CFA5A2D@xxxxxxxxxx>
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: <20110405170310.GA2801@xxxxxxxxx> <CEE47386-BE4D-4683-8C60-0153124C683F@xxxxxxxxxx> <20110405214539.GA1970@xxxxxxxxx> <9D285665-6460-4403-8873-88593CFA5A2D@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
>>>> First, what is the status of Xenoprof? The latest patch is against 0.9.5,
>>>> but OProfile 0.9.6 is about 16 months old. Is Xenoprof actively
>>>> maintained?

>>> There is a crufty pv_ops patch that I forward ported to 2.6.32 in this tree:
>>> https://github.com/avsm/linux-2.6.32-xen-oprofile

>> So, is it true that I need to 1) use this patch or 2) use a non-PV
>> Ops Dom0? I thought 2.6.32 was already non-PV Ops.
> I don't understand the question. The above tree is a pv_ops kernel,
> with additional patches applied so it can be a full Xen dom0 (including
> netback, etc).  I'm only sporadically updating it as I need to, so you
> probably just want the oprofile patch [1] if you want to apply it to
> some other kernel.

> https://github.com/avsm/linux-2.6.32-xen-oprofile/commit/4df4780e638d14249b7aa4005511218a9183c324

Thanks, Anil. I was able to get your patch to work. If anyone is
interested in what I did, please see:


An a related note, would there be any interest in cleaning up this patch
and moving it to 2.6.38 as a part of Google Summer of Code?



Xen-devel mailing list

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