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

Re: [Xen-devel] debugging libxc / builders


  • To: Tim Newsham <newsham@xxxxxxxx>
  • From: Kip Macy <kip.macy@xxxxxxxxx>
  • Date: Wed, 22 Jun 2005 20:59:01 -0700
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 23 Jun 2005 03:58:00 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MR1rpZ/838jT+YRo8S7UTu/mg/JWYffoB0L+cXHdFjf/iAjxMNQm0hfqiNfatBxfcS9fNoCLCAZ0qMtEP+ufLgROaev3xiWF1VdYF0cONzLZOumHKpgEDb6YFUiFd3Xi9B1wf2bLw7q8Z0e367pXzPRNFI3o2Tz9PQQa4FxyLVk=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I've had to do this a number of times. Build libxc with symbols,
install and then restart xend. Attach to the python process with gdb.
This has gotten a tad bit harder now that xend is multiple threads as
you have figure out which to attach to.

      -Kip

On 6/22/05, Tim Newsham <newsham@xxxxxxxx> wrote:
> Hi,
>     I'm playing with the builders in libxc.  I am having trouble
> debugging the thing.  I was wondering what options I have.
> 
>    - When I run 'xm create', what process calls down to the
>      xc_builder stuff?  Can I attach to it with gdb?
>    - Is there any way to spit out debug output (printf?)?  Where
>      would it go?
>    - If I make changes and do a make install in tools, what do
>      I have to restart to put the new code into use?  xend restart?
> 
> Any hints or tips appreciated.
> 
> Tim Newsham
> http://www.lava.net/~newsham/
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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