From: Keir Fraser Subject: Re: Re: [PATCH] add long interrupt measurement capability Date: Sat, 09 May 2009 08:56:05 +0100 Message-ID: References: <4FA716B1526C7C4DB0375C6DADBC4EA3417372CDD1@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FA716B1526C7C4DB0375C6DADBC4EA3417372CDD1@LONPMAILBOX01.citrite.net> 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 , Dan Magenheimer , Dulloor Cc: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On 08/05/2009 22:53, "Ian Pratt" wrote: >> Perhaps. However measuring cycles is important and, more >> specifically, measuring MAX cycles spent across a set of >> interrupts. As a result, I suspect any code that measures >> this (regardless of whether the result is reported by >> xentrace or debug-key) would likely encounter the >> same objection from Keir. > > I can't imagine there'd be any objection to adding trace macros to record > this. The xentrace log processing tool can then be updated to generate max or > histogram values. Yes, xentrace records would be okay. It's adding another debug key and printing to Xen console for this purpose which I do not think is worthwhile. -- Keir