This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Tracing xen

To: 王玉昊 <yhwang_eden@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Tracing xen
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Mon, 18 Jul 2011 11:30:31 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 18 Jul 2011 03:31:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=a3j3z0mhxdzXoaBPtiloRuKykHq4owwg98Qs2mxdStM=; b=M+QOFWvEky24zCU2+080+z7i5i2rBMb7h5XaknAuGjTDHbe0X8EiHTJqIlLgG5wtK3 axZu41HFtkO2wyQPJuPJ6NbVmaB3RN1uYiL82XIkbjP6NEABgjLLAfi+Gx8nhkefumal 3Pv3xwOIuQI98hmPR2yYQZnGqYQnXJhsXYi+c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110714130913.6967.eqmail@xxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20110714130913.6967.eqmail@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
2011/7/14 王玉昊 <yhwang_eden@xxxxxxxxxxxxxxx>:
> Dear Sir:
>             Hello, I'am a student in Xi'an JiaoTong University in China.
> Recently, I was doing some
>  research by using the virtual machine monitor, Xen. I want to get some
> running information
> about the hypervisor, and some issuse bothered me a lot. Hence, I mail you
> to ask for help. The
> issues include:
>             1. I used the 'xentrace' tool to collect the runnnig information
> and then translated the binary result by 'xentrace_format formats', and get
> the final readable file. But most of the results are labelled 'unknown'
> events, except for 'page_grant_map', 'page_grant_transfer'
> and 'page_grant_unmap'.  Is this the problem with my 'formats' file, or the
> monitor tool?

Hmm, I personally don't use the "xentrace_formats" file, so it tends
to bit-rot unfortunately.

I think your best bet is to use the 'xenalyze' tool I've written.  You
can find the hg repository here:


There's a small (rather incomplete) html file included with instructions.

>             2.Are there any effectable tools to monitor the hypervisor,  in
> order to get some important running parameters? Such as the hypercalls, the
> actions in the Shadow Page Table.

If you look in xen/public/trace.h, you'll see all of the records which
are traced.  Hypercall numbers are traced, and there is extensive
information collected about shadow pagetable operations and reported
in xenalyze.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>