[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] How to switch to debug mode to compile xen ?


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: 张树坤 <bitzsk@xxxxxxxxx>
  • Date: Tue, 2 Jun 2009 15:17:57 +0800
  • Delivery-date: Tue, 02 Jun 2009 00:18:40 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.