Mailing List Archive

Turn off grant table debugging output
ChangeSet 1.1291, 2005/04/12 11:57:13+01:00, mafetter@fleming.research

Turn off grant table debugging output



grant_table.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)


diff -Nru a/xen/common/grant_table.c b/xen/common/grant_table.c
--- a/xen/common/grant_table.c 2005-04-13 19:03:31 -04:00
+++ b/xen/common/grant_table.c 2005-04-13 19:03:31 -04:00
@@ -388,7 +388,7 @@
handle = get_maptrack_handle(ld->grant_table);
}

-#ifdef GRANT_DEBUG_VERBOSE
+#if GRANT_DEBUG_VERBOSE
DPRINTK("Mapping grant ref (%hu) for domain (%hu) with flags (%x)\n",
ref, dom, dev_hst_ro_flags);
#endif
@@ -499,7 +499,7 @@
(void)__put_user(GNTST_bad_domain, &uop->status);
return GNTST_bad_domain;
}
-#ifdef GRANT_DEBUG_VERBOSE
+#if GRANT_DEBUG_VERBOSE
DPRINTK("Unmapping grant ref (%hu) for domain (%hu) with handle (%hu)\n",
ref, dom, handle);
#endif
@@ -703,7 +703,7 @@
return 0;
}

-#ifdef GRANT_DEBUG
+#if GRANT_DEBUG
static int
gnttab_dump_table(gnttab_dump_table_t *uop)
{
@@ -821,7 +821,7 @@
case GNTTABOP_setup_table:
rc = gnttab_setup_table((gnttab_setup_table_t *)uop, count);
break;
-#ifdef GRANT_DEBUG
+#if GRANT_DEBUG
case GNTTABOP_dump_table:
rc = gnttab_dump_table((gnttab_dump_table_t *)uop);
break;
@@ -860,7 +860,7 @@

lgt = ld->grant_table;

-#ifdef GRANT_DEBUG_VERBOSE
+#if GRANT_DEBUG_VERBOSE
if ( ld->id != 0 )
{
DPRINTK("Foreign unref rd(%d) ld(%d) frm(%x) flgs(%x).\n",

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