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


[Xen-devel] Compiling xenoprof

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Compiling xenoprof
From: David Carr <dc@xxxxxxxxx>
Date: Tue, 04 Apr 2006 21:31:02 -0500
Delivery-date: Tue, 04 Apr 2006 19:31:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
I'm having some trouble compiling Xen 3.0.0 with the xenoprof patches.

The xenoprof instructions say:

  In order to run OProfile in Xen environments four patches are needed:
  a) xenoprof-2.0-xen-3.0.0.patch
     Patch for Xen hypervisor.
  b) xenoprof-2.0-linux-2.6-sparse.patch
     Patch for Xenolinux. Contains oprofile architecture specific driver 
     for xen (Apply to linux-sparse tree in Xen source tree)
  c) xenoprof-2.0-linux-2.6.12.patch
     Patch for oprofile kernel module in linux 2.6.12. Contain modifications
     to generic oprofile driver code to support xen. (Apply twice, once to 
     dom0 and once to domU trees)

Every thing goes fine until part c.  The linux-2.6.12-xen0 and
linux-2.6.12-xenU directories are empty until you build xen (and
therefore can't be patched yet.)  Doing a make world will populate these
trees but also compiles everything.

What is the proper sequence of patching and make commands to build a
xenoprof tree?

David Carr

Xen-devel mailing list

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