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] [PATCH 4 of 4] Add a trace hypercall to allow tracing fr

To: George Dunlap <george.dunlap@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 4 of 4] Add a trace hypercall to allow tracing from dom0 or domU
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Mon, 18 Jul 2011 13:22:03 +0100
Cc: Olaf Hering <olaf@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 18 Jul 2011 05:22:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1310987856.3401.23.camel@elijah>
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: <patchbomb.1310744284@xxxxxxxxxxxx> <f72dcd1b8bbdc7487d58.1310744288@xxxxxxxxxxxx> <20110718085611.GA18276@xxxxxxxxxxxxxxxxxxxxxxx> <1310987856.3401.23.camel@elijah>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
At 12:17 +0100 on 18 Jul (1310991456), George Dunlap wrote:
> > George, is it worth trying to merge this into the existing HVMOP that
> > does the same thing?
> I'm not sure what you mean by "merging this into the existing HVMOP".
> Do you mean just having dom0 (or whoever) call HVMOP_trace instead of
> making a separate hypercall?

No, I just meant sharing some code.  The new hypercall adds struct
xen_guest_xentrace, which is basically a dup of struct xen_hvm_xentrace,
and do_xentrace_op() looks very like the code in do_hvm_op().


Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

Xen-devel mailing list