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

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



I don't think there is a config option to turn it on. Add:
EXTRA_CFLAGS := -DDEBUG
To drivers/xen/blkfront/Makefile and rebuild

 -- Keir

On 02/06/2009 08:17, "张树坤" <bitzsk@xxxxxxxxx> wrote:

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



_______________________________________________
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®.