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] Added SH_VVVLOG, rather than #if 0, for useful but incre

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Added SH_VVVLOG, rather than #if 0, for useful but incredibly verbose shadow mode debugging hook
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Thu, 21 Apr 2005 19:14:36 +0000
Delivery-date: Fri, 22 Apr 2005 01:06:45 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1360, 2005/04/21 20:14:36+01:00, maf46@xxxxxxxxxxxxxxxxx

        Added SH_VVVLOG, rather than #if 0, for useful but incredibly verbose 
shadow mode debugging hook
        
        Signed-off-by: michael.fetterman@xxxxxxxxxxxx



 shadow.h |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)


diff -Nru a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h
--- a/xen/include/asm-x86/shadow.h      2005-04-21 21:07:04 -04:00
+++ b/xen/include/asm-x86/shadow.h      2005-04-21 21:07:04 -04:00
@@ -227,6 +227,7 @@
 #define SHADOW_DEBUG 0
 #define SHADOW_VERBOSE_DEBUG 0
 #define SHADOW_VVERBOSE_DEBUG 0
+#define SHADOW_VVVERBOSE_DEBUG 0
 #define SHADOW_HASH_DEBUG 0
 #define FULLSHADOW_DEBUG 0
 
@@ -258,6 +259,14 @@
 #define SH_VVLOG(_f, _a...)
 #endif
 
+#if SHADOW_VVVERBOSE_DEBUG
+#define SH_VVVLOG(_f, _a...)                                            \
+    printk("DOM%uP%u: SH_VVVLOG(%d): " _f "\n",                         \
+           current->domain->id, current->processor, __LINE__ , ## _a )
+#else
+#define SH_VVVLOG(_f, _a...)
+#endif
+
 #if FULLSHADOW_DEBUG
 #define FSH_LOG(_f, _a...)                                              \
     printk("DOM%uP%u: FSH_LOG(%d): " _f "\n",                           \
@@ -661,11 +670,9 @@
         }
     }
 
-#if 0
     if ( l1e_get_value(spte) || l1e_get_value(gpte) )
-        SH_VVLOG("%s: gpte=%p, new spte=%p",
-                 __func__, l1e_get_value(gpte), l1e_get_value(spte));
-#endif
+        SH_VVVLOG("%s: gpte=%p, new spte=%p",
+                  __func__, l1e_get_value(gpte), l1e_get_value(spte));
 
     *spte_p = spte;
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Added SH_VVVLOG, rather than #if 0, for useful but incredibly verbose shadow mode debugging hook, BitKeeper Bot <=