[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Print all by default in debug builds.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |