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] [PATCH] x86: adjust ptwr_eip_stat printing

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] x86: adjust ptwr_eip_stat printing
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 02 May 2006 16:26:44 +0200
Delivery-date: Tue, 02 May 2006 07:26:10 -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
This patch changes to format in which EIP is printed to be consistent on 64-bit 
regardless of whether the addresses
leading bits are set or clear. It additionally changes the formatting so that 
trailing spaces are avoided, and it
suppresses the printing of empty records. It also prevents combining records 
with identical EIP but from different

It further changes the type of some variables from plain int to unsigned int, 
as that is yielding more efficient code
on x86-64 (signed 32-bit array indices require explicit sign extension, whereas 
in most cases an extra copy can be
avoided when the index type is unsigned, since all 32-bit operations already 
zero-extend their results).

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Attachment: xen-x86-ptwr-eip-stat-formatting.patch
Description: Text document

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86: adjust ptwr_eip_stat printing, Jan Beulich <=