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@aepfle.de>
goto out;
}
+ DPRINTF("evict_page > gfn %lx pageslot %d\n", victim->gfn, i);
/* Notify policy of page being paged out */
policy_notify_paged_out(victim->gfn);
unsigned char oom = 0;
_gfn = *gfn;
+ DPRINTF("populate_page < gfn %lx pageslot %d\n", _gfn, i);
do
{
/* Tell Xen to allocate a page for the domain */