WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] branch tracing and MSR usage

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] branch tracing and MSR usage
From: "Ryan Gardner" <ryan@xxxxxxxxxx>
Date: Fri, 19 Oct 2007 11:04:20 -0400
Delivery-date: Fri, 19 Oct 2007 08:05:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=SRhAyWl7JJ7MPsdBYBGTXlNO8NDDzOVldFYfqQdnZIc=; b=rctBThJ3C1JLTNtajS+/FxQ+cOREgWs6U3ky5YNq0QDGzl3ZUxGl4ydkl7RHOuIkwDo9xISKV9/HdtnGLGJw20bz0sIckKvfF8nnITdpbnhpnckueFFNY5IrSpTBUqbXQWkfkfe3A0whxwCa/inOF+7tYMRkV+cXCmK11OZ2RNQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=X27r0t2TeFGu46xLCuexmSHa0gbxSxYKtf+zIZRxs8HebHma/HSZ8U69jikhLXGXK4FJpFd/5O1yKZyLaOh59h4vpvdHXSZoHeKsgz9wVaw1OZUGkjq6VIRw2kobRK4OLPzZwKh7gxzd6OT4V07Hx+16C1pmqvn58w7US09+Eo4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I'm a student working on a research project using xen, and part of
what we are doing requires the ability to use the branch tracing
facilities of the processor.  I.e. we need to be able to write to the
IA32_DEBUGCTL MSR and read from the Last Branch Record (LBR) stack
(the second of which it appears we can do).

We saw a thread discussing this:
http://lists.xensource.com/archives/html/xen-devel/2007-08/msg00198.html
.  However, it doesn't appear that the method was ever finalized, and
we were unable to find a patch.  Does such a patch exist, or is there
simple way we can read and write to the necessary MSRs in our VM?  Can
we just hack the xen code to set the correct bits in the VMCS MSR
bitmaps?  If so, where are those bitmaps set in the code?

Thanks a lot.

Ryan

(Sorry if this hit the list twice.  The one I sent yesterday didn't
appear to go through.)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] branch tracing and MSR usage, Ryan Gardner <=