WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Print all by default in debug builds.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Print all by default in debug builds.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 09 Feb 2007 21:30:07 -0800
Delivery-date: Fri, 09 Feb 2007 21:30:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171042713 0
# Node ID c67a4115a4719de76316c1f5b213b79531ee1500
# Parent  d39e8c44da34ac257b26cce29122852ef3a930cc
Print all by default in debug builds.
---
 xen/drivers/char/console.c |    7 +++++++
 1 files changed, 7 insertions(+)

diff -r d39e8c44da34 -r c67a4115a471 xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Fri Feb 09 10:48:41 2007 +0000
+++ b/xen/drivers/char/console.c        Fri Feb 09 17:38:33 2007 +0000
@@ -72,10 +72,17 @@ static DEFINE_SPINLOCK(console_lock);
  * Note, in the above algorithm, to disable rate limiting simply make
  * the lower threshold equal to the upper.
  */
+#ifdef NDEBUG
 #define XENLOG_UPPER_THRESHOLD       2 /* Do not print INFO and DEBUG  */
 #define XENLOG_LOWER_THRESHOLD       2 /* Always print ERR and WARNING */
 #define XENLOG_GUEST_UPPER_THRESHOLD 2 /* Do not print INFO and DEBUG  */
 #define XENLOG_GUEST_LOWER_THRESHOLD 0 /* Rate-limit ERR and WARNING   */
+#else
+#define XENLOG_UPPER_THRESHOLD       4 /* Do not discard anything      */
+#define XENLOG_LOWER_THRESHOLD       4 /* Print everything             */
+#define XENLOG_GUEST_UPPER_THRESHOLD 4 /* Do not discard anything      */
+#define XENLOG_GUEST_LOWER_THRESHOLD 4 /* Print everything             */
+#endif
 /*
  * The XENLOG_DEFAULT is the default given to printks that
  * do not have any print level associated with them.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Print all by default in debug builds., Xen patchbot-unstable <=