From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ling, Xiaofeng" Subject: [PATCH][VT] turn off some debug switches by default Date: Wed, 19 Oct 2005 15:49:35 +0800 Message-ID: <4355FA8F.2040804@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: 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 List-Id: xen-devel@lists.xenproject.org Turn off some debug switches by default These macros cause extra prints in /var/log/xend-debug, and affect the performance. Signed-off-by: Xiaofeng Ling diff -r 446aa56ca4fe tools/ioemu/exec-all.h --- a/tools/ioemu/exec-all.h Mon Oct 17 13:50:28 2005 +0100 +++ b/tools/ioemu/exec-all.h Wed Oct 19 15:46:25 2005 +0800 @@ -573,7 +573,7 @@ } #endif -#define DEBUG_UNUSED_IOPORT -#define DEBUG_IOPORT +//#define DEBUG_UNUSED_IOPORT +//#define DEBUG_IOPORT #define TARGET_VMX diff -r 446aa56ca4fe tools/ioemu/hw/i8259.c --- a/tools/ioemu/hw/i8259.c Mon Oct 17 13:50:28 2005 +0100 +++ b/tools/ioemu/hw/i8259.c Wed Oct 19 15:46:25 2005 +0800 @@ -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();