Skip to contentSkip to conversation

turn off some debug switches by default

PATCH Superseded Ling, Xiaofeng 1 participant 1 message Oct 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 turn off some debug switches by default

Turn off some debug switches by default
These macros cause extra prints in /var/log/xend-debug, and affect the performance.

tools/ioemu/exec-all.h Wed Oct 19 15:46:25 2005 +0800 renamed from tools/ioemu/exec-all.h Mon Oct 17 13:50:28 2005 +0100 +2 -2
diff -r 446aa56ca4fe tools/ioemu/exec-all.h
@@ -573,7 +573,7 @@
 }
 #endif
 
-#define DEBUG_UNUSED_IOPORT
-#define DEBUG_IOPORT
+//#define DEBUG_UNUSED_IOPORT
+//#define DEBUG_IOPORT
 #define TARGET_VMX
 
tools/ioemu/hw/i8259.c Wed Oct 19 15:46:25 2005 +0800 renamed from tools/ioemu/hw/i8259.c Mon Oct 17 13:50:28 2005 +0100 +1 -1
diff -r 446aa56ca4fe tools/ioemu/hw/i8259.c
@@ -29,7 +29,7 @@
 //#define DEBUG_PIC
 
 //#define DEBUG_IRQ_LATENCY
-#define DEBUG_IRQ_COUNT
+//#define DEBUG_IRQ_COUNT
 
 extern void pit_reset_vmx_vectors();