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

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH]fix xentrace

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH]fix xentrace
From: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
Date: 2006年5月12日 15:51:58 +0900
Delivery-date: 2006年5月11日 23:52:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, All
 This is a patch for xentrace.c.
This routine checks the trace buffer is initialized or not.
If not, the trace buffer is initialized by using this patch.
This is avoiding following message.
ERROR: Failure to get trace buffer pointer from Xen (22 = Invalid argument)
This routine is based on the specification of 
the trace buffer control function trace.c/tb_control().
The function checks the trace buffer is initialized or not 
in line 183.
If not, this routine stops working.
Of course, this problem is also solved by using tbctl [0|1].
But this problem is already solved by xenmon.py without using tbctl command.
This code is just moved from 
tools/xenmon/xenbaked.c(get_tbuf and misc settings)
I hope these two tools (xenmon.py and xentrace) share the functions.
Signed-off-by: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
Thanks,
A.Sakai 

Attachment: xentrace.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH]fix xentrace, Atsushi SAKAI <=
Previous by Date: [Xen-devel] Re: [RFC PATCH 07/35] Make LOAD_OFFSET defined by subarch , Jan Beulich
Next by Date: Re: [Xen-devel] [PATCH] reenabling ptrace for paravirtualized guests , Simon Kagstrom
Previous by Thread: [Xen-devel] [PATCH] Fix for VGA memory allocation on qemu , Jiang, Yunhong
Next by Thread: [Xen-devel] Xen Kernel (3.0.2) breaks b44 module , xen
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /