From: "George Dunlap " Subject: Re: [RFC][PATCH] 1/3] [XEN] Use explicit bit sizedfieldsfor exported xentrace data. Date: Fri, 8 Dec 2006 15:28:05 -0500 Message-ID: References: <8A87A9A84C201449A0C56B728ACF491E04EDF2@liverpoolst.ad.cl.cam.ac.uk> <8A87A9A84C201449A0C56B728ACF491E04EE04@liverpoolst.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E04EE04@liverpoolst.ad.cl.cam.ac.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt Cc: Mark Williamson , xen-devel@lists.xensource.com, Keir Fraser , Tony Breeds List-Id: xen-devel@lists.xenproject.org On 12/8/06, Ian Pratt wrote: > If we did this with macros we could use sizeof(_x) to determine how many > bytes to write to the trace buffer. Os is the intention to deliberately > truncate some 64b quantities to 32b save trace buffer space? Yes. What initiated this discussion was that changing the trace buffers to u64 would double the size of traces. My typical traces are already 1GB+, with longer ones reaching 10G+. Since at this point I'm looking mainly at 32-bit VMX code, it would be nice if I could avoid that. However, as long as the /number/ of 64b quantities was variable, I could make do with either size. -George