[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.