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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] xenpaging: print page-in/page-out progres

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xenpaging: print page-in/page-out progress
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Jan 2011 07:59:29 -0800
Delivery-date: Mon, 17 Jan 2011 08:12:25 -0800
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir@xxxxxxx>
# Date 1294741979 0
# Node ID c89a28b70b62534c717e5f8bcf5d4b896aeb705d
# Parent  af807bf09d1f65853bc5d589ae556c035af95e95
xenpaging: print page-in/page-out progress

Now that DPRINTF is triggered only when the environment variable
XENPAGING_DEBUG is found, make such a debug session actually useful by
printing the entire page-out/page-in process. The 'Got event from Xen'
message alone is not helpful.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
 tools/xenpaging/xenpaging.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r af807bf09d1f -r c89a28b70b62 tools/xenpaging/xenpaging.c
--- a/tools/xenpaging/xenpaging.c       Tue Jan 11 10:32:32 2011 +0000
+++ b/tools/xenpaging/xenpaging.c       Tue Jan 11 10:32:59 2011 +0000
@@ -387,6 +387,7 @@ int xenpaging_evict_page(xenpaging_t *pa
         goto out;
+    DPRINTF("evict_page > gfn %lx pageslot %d\n", victim->gfn, i);
     /* Notify policy of page being paged out */
@@ -427,6 +428,7 @@ static int xenpaging_populate_page(xenpa
     unsigned char oom = 0;
     _gfn = *gfn;
+    DPRINTF("populate_page < gfn %lx pageslot %d\n", _gfn, i);
         /* Tell Xen to allocate a page for the domain */

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xenpaging: print page-in/page-out progress, Xen patchbot-unstable <=