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

[Xen-changelog] [xen-unstable] tools/xentrace: increase default xentrace buffer size.



# HG changeset patch
# User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
# Date 1278607140 -3600
# Node ID 3e3b611620062d88b08edb17ae62d04d6b818c3a
# Parent  49394a999fa127f01bfa4e4bd8893adfa42dde8a
tools/xentrace: increase default xentrace buffer size.

increase default xentrace buffer size to reduce the number of
lost records.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
---
 tools/xentrace/xentrace.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 49394a999fa1 -r 3e3b61162006 tools/xentrace/xentrace.c
--- a/tools/xentrace/xentrace.c Thu Jul 08 17:22:18 2010 +0100
+++ b/tools/xentrace/xentrace.c Thu Jul 08 17:39:00 2010 +0100
@@ -45,7 +45,7 @@ do {                                    
 /* 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 {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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