From: John Levon Subject: Re: [PATCH] Re: Fix xentrace to initialise the trace buffers if they are not set up. Date: Tue, 16 May 2006 15:21:59 +0100 Message-ID: <20060516142159.GC1092@totally.trollied.org> References: <20060515161915.GB11792@totally.trollied.org> <20060516000452.GA20214@totally.trollied.org> <90906067b2f53c956ab5e0a0ff102754@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <90906067b2f53c956ab5e0a0ff102754@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: sakaia@jp.fujitsu.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, May 16, 2006 at 08:52:05AM +0100, Keir Fraser wrote: > >Here's a patch that does that. BTW, there seems to be little point to > >'setsize' and 'tbctl'. They have to be invoked in a particular order. > >We > >could cut even more code here if we got rid of them. Is there a reason > >they exist? > > Ian's already said he wants them to go. Is there equivalent > functionality elsewhere already? Well, that depends what they're intended for. At the very least, it would be easy to modify xentrace to have an -e / -d option for enabling and disabling tracing without actually capturing the data, but I don't know if anyone would actually want to do that independent of running xentrace/xentrace_format (or xenmon). regards john