| To: | David Pilger <pilger.david@xxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] libxc printfs and debugging |
| From: | Ryan Harper <ryanh@xxxxxxxxxx> |
| Date: | Wed, 7 Mar 2007 10:29:43 -0600 |
| Cc: | xen-devel@xxxxxxxxxxxxxxxxxxx |
| Delivery-date: | 2007年3月07日 08:28:54 -0800 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| In-reply-to: | <280848580703070816j53f9faa8p4633f659ad61a579@xxxxxxxxxxxxxx> |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| References: | <280848580703070816j53f9faa8p4633f659ad61a579@xxxxxxxxxxxxxx> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
* David Pilger <pilger.david@xxxxxxxxx> [2007年03月07日 10:20]: > Hi, > > Where does all the IPRINTF output goes in libxc? > I can't find it (the INFO constant is 1 of course)... I'm not sure about the IPRINTF, but if you build the tools with debug=y passed to the make command, the DPRINTFs go to /var/lib/xen/xend-debug.log > > How do you debug libxc code btw? > I found uncommenting the following in tools/libxc/Makefile , and rebuilding (cd tools; make debug=y ) very useful when debugging as it let me attach with gdb to the xend python process and define break points in the libxc code. # Define this to make it possible to run valgrind on code linked with # these # libraries. CFLAGS += -DVALGRIND -O0 -ggdb3 -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@xxxxxxxxxx _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] [PATCH] [RESEND] Don't mount raw blktap disks for pygrub , Mark McLoughlin |
|---|---|
| Next by Date: | Re: [Xen-devel] [PATCH] [RESEND] Don't mount raw blktap disks for pygrub , Andrew Warfield |
| Previous by Thread: | [Xen-devel] libxc printfs and debugging , David Pilger |
| Next by Thread: | [Xen-devel] [PATCH] [RESEND] Don't mount raw blktap disks for pygrub , Mark McLoughlin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |