[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86: adjust ptwr_eip_stat printing



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
domains.

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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.