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 switch to debug mode to compile xen ?

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How to switch to debug mode to compile xen ?
From: 张树坤 <bitzsk@xxxxxxxxx>
Date: Tue, 2 Jun 2009 15:17:57 +0800
Delivery-date: Tue, 02 Jun 2009 00:18:40 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=Lg7GsiSKO8D5/Q530KwhY4tXAazHsVHmu1Ls+792KiU=; b=Sx5wPWwzNVst1vJSOqwfDGRSZk+iuXxSnR+So+Nj6HTyZGaaMzOg00+rMlESA342VQ cqpT3+Ynv031x1wUmWKzUBAvOTKGl25JDBuJyi60VhqSguZ1pC2eY/duApwnXWK4af4T 4HHJ5A3ApWZWZQEtCP3vVx2fKbhBtj3ZG7/ek=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=AQzTjuLw4qZYXeRhPzTDklYtrpe7iJzC6qBLSN1uctKbQAXXylUXanKbhjde43ZnNe /56eiAth7Y1GJlkzzsVDVAH0e1tA6gv19xareaSZ8Gqr2cscNes2TQ6sMEFnQ275swEo IvxIigZSsmfqY3LRwDBos475c406uhJHFFPSg=
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,

    DPRINTK("do_blk_req %p: cmd %p, sec %llx, "
            "(%u/%li) buffer:%p [%s]\n",
            req, req->cmd, (long long)req->sector,
            req->current_nr_sectors,
            req->nr_sectors, req->buffer,
            rq_data_dir(req) ? "write" : "read");

this statement is located in the blkfront.c file ,in the do_blkif_request(request_queue_t *rq)  function. i know DPRINTK is used for debug only. if i want to see the DPRINTK message , how could i do? that's how to open the debug mode to compile xen source code? Thanks!

--
Best regards,
张树坤
北京理工大学,计算机科学技术学院
Sucan
Computer Department,Beijing Institute of Technology,China
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>