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

[Xen-devel] How to show deug info via XENPRINTF?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Yuan, Jue" <yuanjue02@xxxxxxxxx>
  • Date: Thu, 24 Aug 2006 16:30:53 +0800
  • Delivery-date: Thu, 24 Aug 2006 02:06:23 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:organization:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=d1qsY4kmzzBGYKLuhf4EckWMkKVQnyzpUH8f7kFPY0S10XMPoX9LctpXxPsTanhIqCsnbhzeDyxU6D51W8WE6UPd9fxqC2RnJBtpSyQcjaaBE3Ribo4TRTu8nkYQJMmoSM3ASkt6fLrEexU9OZXc8PouWH+VQ1yEDGFkqCgdCCg=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi all.

I am trying to debug a kernel that I built, and I hope I could see some debug 
info printing out via XENPRINTF. I use it in the source code of kernel like:

XENPRINTF("nr_pages: %ld shared_info: 0x%lx flags: 0x%lx pt_base: 0x%lx "
                  "mod_start: 0x%lx mod_len: 0x%lx\n",
                  xen_start_info->nr_pages, xen_start_info->shared_info, 
                  xen_start_info->flags, xen_start_info->pt_base, 
                  xen_start_info->mod_start, xen_start_info->mod_len);

But it doesn't print anything out when start this kernel as domU. I think I 
must miss something here.

Any ideas about how to do it? Thanks in advance :-)

PS: I am using xen-3.0.2-2

-- 
Best Regards
Yuan, Jue @ http://www.yuanjue.net

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