[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
On 02/06/2009 08:17, "张树坤" <bitzsk@xxxxxxxxx> wrote:
> DPRINTK("do_blk_req %p: cmd %p, sec %llx, "
> "(%u/%li) buffer:%p [%s]\n",
> req, req->cmd, (long long)req->sector,
> 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