[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1/3] trace: include timestamp in trace records added by HVMOP_xentrace
From: David Vrabel <david.vrabel@xxxxxxxxxx> TRC_GUEST trace records added by the HVMOP_xentrace op are not timestamped. Timestamping these records is useful if only TRC_GUEST records are enabled. Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx> --- xen/arch/x86/hvm/hvm.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index 1fcaed0..e2701b6 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -4391,8 +4391,7 @@ long do_hvm_op(unsigned long op, XEN_GUEST_HANDLE_PARAM(void) arg) || (tr.event & ~((1u<<TRC_SUBCLS_SHIFT)-1)) ) return -EINVAL; - /* Cycles will be taken at the vmexit and vmenter */ - trace_var(tr.event | TRC_GUEST, 0 /*!cycles*/, + trace_var(tr.event | TRC_GUEST, 1 /*cycles*/, tr.extra_bytes, tr.extra); break; } -- 1.7.2.5 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |