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

[Xen-devel] [RFC][PATCH] 0/3] [V3] Update xentrace to be compatable with

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [RFC][PATCH] 0/3] [V3] Update xentrace to be compatable with PPC.
From: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
Date: Mon, 04 Dec 2006 14:47:50 +1100
Delivery-date: Sun, 03 Dec 2006 19:48:15 -0800
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
Hello All,
        This Patch series updates xentrace such that it will compile and work
correctly (assuming underlying hypervisor support) on all architectures.
Also allowing trace files captured on one architecture to be portable to other
systems with no changes to tools.

Essentially the patches do:
 1. Use unit64_t instead of unsigned long.
    I did attempt to leave "data" as unsigned long, but in 64bit mode this will
    not compile on ppc.  Using explicitly sized types in shared 
hypervisor/userspace
    header files is arguably cleaner IMO.
 2. Make the xentrace tool (xentrace copies the xentrace buffers from xen
    memory to disk) write data in network byte order.
 3. Various cleanups.
    This patch is optional.

These patches have been tested on ppc64 and x86_32, and datafiles transported
between said hosts.


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