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-ia64-devel

RE: [Xen-ia64-devel] [PATCH 5/5] allow foreign domain page mappingofDOMI

To: "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>, "INAKOSHI Hiroya" <inakoshi.hiroya@xxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH 5/5] allow foreign domain page mappingofDOMID_XEN/DOMID_IO
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Fri, 08 Dec 2006 14:54:13 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Dec 2006 21:56:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <58A36151585E4047913F40517D307BAE31AA95@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <58A36151585E4047913F40517D307BAE31AA95@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Xing

>1)Seems need set a buffer for trace. Where should I configure this buffer? 
>Is it in elilo.conf?
If you need, you can set tbuf_size=10 to xen's boot option in elilo.conf.
Or you can use xentrace -S <size>.

FYI, xentrace help is the below.
# xentrace -h
xentrace: invalid option -- h
Try `xentrace --help' or `xentrace --usage' for more information.
[root@tiger156 xen-ia64-unstable.hg.061207]# xentrace --help
Usage: xentrace [OPTION...] [output file]
Tool to capure Xen trace buffer data

  -c, --cpu-mask=c           set cpu-mask 
  -e, --evt-mask=e           set evt-mask 
  -s, --poll-sleep=p         Set sleep time, p, in milliseconds between polling
                             the trace buffer for new data (default 100).
  -S, --trace-buf-size=N     Set trace buffer size in pages (default 20). N.B.
                             that the trace buffer cannot be resized.  If it
                             has already been set this boot cycle, this
                             argument will be ignored.
  -t, --log-thresh=l         Set number, l, of new records required to trigger
                             a write to output (default 1).
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

This tool is used to capture trace buffer data from Xen.  The data is output in
a binary format, in the following order:

  CPU(uint) TSC(uint64_t) EVENT(uint32_t) D1 D2 D3 D4 D5 (all uint32_t)

The output should be parsed using the tool xentrace_format, which can produce
human-readable output in ASCII format.

Report bugs to <mark.a.williamson@xxxxxxxxx>.

Best Regards,

Akio Takebe

>Hi Hiroya:
>       Thanks for your guide. But I meet another problem. when I follow your 
steps
>, xentrace complains as below:
>[root@rhel4-xu ~]# xentrace >res.trc & sleep 3;kill %%
>[1] 7500
>ERROR: Failed to mmap trace buffers (22 = Invalid argument)
>[1]+  Exit 1                  xentrace >res.trc
>-bash: kill: %%: no such job
>
>1)Seems need set a buffer for trace. Where should I configure this buffer? 
>Is it in elilo.conf?
>2)Is there any differences between IA32 and IPF, such as parameter evt-mask?
>3)Do the info from "man xentrace" suit for IPF? That means whether all 
>parameters in xentrace manual are available for IPF?
>
>Hope your kind help. Thanks:)
>
>Good good study,day day up ! ^_^
>-Wing(zhang xin)
> 
>OTC,Intel Corporation
>


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