From: Daniel Stodden Subject: Re: code read problems Date: Tue, 26 Feb 2008 12:44:06 +0100 Message-ID: <1204026247.10344.41.camel@thinkpad.localdomain> References: <20080226095701.50167.qmail@dhost033.magnet.ch> <47C3F680.80102@sina.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <47C3F680.80102@sina.com.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: tgh Cc: clp@eclinso.com, xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2008-02-26 at 19:22 +0800, tgh wrote: > could you reply in english, i could not read your letter Don't bother. Just an autoreply generated to tell you the guy is on vacation. Regarding your problem: There is not much you can do to get some sort execution traces enabled automatically. You probably want to enable debugging when building Xen and the libraries. Then maybe add a couple of debug-print statements to the code, whereever you see fit. I believe migration support in xend and libxc should be understandable in isolation. The tricky parts are definitely done in C. Last time I checked, xend mainly performed a single call to the tools and library. Also note that random instrumentation of all code executed for translating and mapping of the domU address space within the hypervisor would probably soon get more verbose than you asked for, since some of the functions involved can be called at a comparatively high frequency. Rule 1 when digging your way through complex systems: Divide and Conquer. Division comes first. Understand one thing at a time, starting at a comparatively high-level, then selectively dig deeper. regards, daniel > clp@eclinso.com =E5=86=99=E9=81=93: > > Vielen Dank f=C3=BCr Ihre Nachricht.=20 > > > > Ich bin vom 22-02-08 bis 07-03-08 nicht im Hause und werde Ihre > E-Mail ab dem 10-03-07 bearbeiten. > > > > In dringenden F=C3=A4llen wenden Sie sich bitte an Herrn Fabio L=C3=BC= di, er > wird Ihnen gerne weiterhelfen. > > > > Sie erreichen Herrn L=C3=BCdi unter: > > Phone +41 61 6666 406 > > E-Mail fl@eclinso.com --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garc= hing http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B