From mboxrd@z Thu Jan 1 00:00:00 1970 From: "W. Michael Petullo" Subject: Re: Questions about OProfile Date: Mon, 18 Apr 2011 13:33:59 -0500 Message-ID: <20110418183359.GA2124@imp.local> References: <20110405170310.GA2801@imp.local> <20110405214539.GA1970@imp.local> <9D285665-6460-4403-8873-88593CFA5A2D@recoil.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <9D285665-6460-4403-8873-88593CFA5A2D@recoil.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anil Madhavapeddy Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>>> 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 I ported Anil's patch to Linux 2.6.38. The result is available at: http://www.flyn.org/patches/linux-2.6.38-xen-passive-oprofile/linux-2.6.38-xen-passive-oprofile.patch.gz With this patch applied to Linux 2.6.38 (along with various orthagonal Xen patches), I can perform passive profiling on an unprivileged Xen domain. -- Mike :wq