From: Tim Deegan Subject: [PATCH] tools: increase default xentrace buffer size. Date: Thu, 8 Jul 2010 11:43:11 +0100 Message-ID: <20100708104311.GY31695@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org tools: increase default xentrace buffer size to reduce the number of lost records. Signed-off-by: Tim Deegan diff -r c30ad20325a9 tools/xentrace/xentrace.c --- a/tools/xentrace/xentrace.c Tue Oct 30 11:11:32 2007 +0000 +++ b/tools/xentrace/xentrace.c Thu Nov 01 18:05:38 2007 +0000 @@ -48,7 +48,7 @@ extern FILE *stderr; /* sleep for this long (milliseconds) between checking the trace buffers */ #define POLL_SLEEP_MILLIS 100 -#define DEFAULT_TBUF_SIZE 20 +#define DEFAULT_TBUF_SIZE 32 /***** The code **************************************************************/ typedef struct settings_st {