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-devel

[Xen-devel] how to debug xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] how to debug xen
From: holmes <albert.holmes@xxxxxxx>
Date: Tue, 1 Feb 2011 03:41:02 +0800 (CST)
Delivery-date: Mon, 31 Jan 2011 11:42:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,
I am new to Xen. I want to debug xen. So I have few questions here. If anybody can help me, I'd appreciate it.
1: My system is ubuntu 8.04. I download the xen-3.4.2 source code from xen website. After I "make world", it will download the linux-2.6.18-xen.hg (kernel?).  Also it will make many other folders (./dist). I found blkfront.c in both ./linux-2.6.18-xen.hg/drivers/xen/blkfront folder and ./dist/install/lib/modules/2.6.18.8-xen/source/drivers/xen/blkfront/ folder. So, what's the difference of the two folders and what are they doing?
2: if I want to log the activities (read/write block) information in domU(winxp), how do I log it? For example, if domU read a block, I therefore print a information into a log file (like "domU read"). Should I change something in blkfront.c file? If so, which one should I change, because there are two blkfront.c.
3: if I want to log the information, I GUESS (not sure) I should use log.debug (or else) to log the info. into some log files. How should I do? Can anyone give me suggestion?
 
Thanks!!
John Huang 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>