From: =?GB2312?B?1cXK98Ck?= Subject: How to switch to debug mode to compile xen ? Date: Tue, 2 Jun 2009 15:17:57 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1503110237==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1503110237== Content-Type: multipart/alternative; boundary=00163628393ec03295046b5858d9 --00163628393ec03295046b5858d9 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable 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! --=20 Best regards, =D5=C5=CA=F7=C0=A4 =B1=B1=BE=A9=C0=ED=B9=A4=B4=F3=D1=A7=A3=AC=BC=C6=CB=E3=BB=FA=BF=C6=D1=A7=BC= =BC=CA=F5=D1=A7=D4=BA Sucan Computer Department,Beijing Institute of Technology,China --00163628393ec03295046b5858d9 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable hi,

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

this st= atement 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 w= ant 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,
=D5=C5=CA=F7=C0=A4
=B1=B1=BE=A9=C0=ED=B9=A4= =B4=F3=D1=A7=A3=AC=BC=C6=CB=E3=BB=FA=BF=C6=D1=A7=BC=BC=CA=F5=D1=A7=D4=BASucan
Computer Department,Beijing Institute of Technology,China
--00163628393ec03295046b5858d9-- --===============1503110237== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1503110237==--