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-changelog] [xen-unstable] Fix up xentrace record extraction in xent

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix up xentrace record extraction in xentrace_format for 64-bit
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 06 Feb 2007 20:00:18 -0800
Delivery-date: Tue, 06 Feb 2007 20:00:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1170803405 0
# Node ID 7379c1174155c3232ba12ff6e226c70b40cd71fa
# Parent  e212203d7d34e2981e30bcc5178741f8eefb5fff
Fix up xentrace record extraction in xentrace_format for 64-bit
Signed-off-by: Thomas Friebel <thomas.friebel@xxxxxxx>
 tools/xentrace/xentrace_format |    3 +++
 1 files changed, 3 insertions(+)

diff -r e212203d7d34 -r 7379c1174155 tools/xentrace/xentrace_format
--- a/tools/xentrace/xentrace_format    Tue Feb 06 23:01:35 2007 +0000
+++ b/tools/xentrace/xentrace_format    Tue Feb 06 23:10:05 2007 +0000
@@ -107,6 +107,9 @@ while not interrupted:
         (tsc, event, d1, d2, d3, d4, d5) = struct.unpack(TRCREC, line)
+        # Event field is 'uint32_t', not 'long'.
+        event &= 0xffffffff
        #tsc = (tscH<<32) | tscL
        #print i, tsc

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix up xentrace record extraction in xentrace_format for 64-bit, Xen patchbot-unstable <=