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

[Xen-users] how to use xentrace and xentrace_format

  • To: "xen-users邮件列表" <xen-users@xxxxxxxxxxxxxxxxxxx>, "xen-community邮件列表" <xen-community@xxxxxxxxxxxxxxxxxxx>
  • From: "程龙" <loongcheng@xxxxxxxxx>
  • Date: Mon, 19 May 2008 17:21:15 +0800
  • Delivery-date: Mon, 19 May 2008 02:21:47 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=jl+FBYGPnCeHHn0s6qUBqb/C1om+us0CRsgi9Qrz/+GzcSwPlbj8V+hsGTpzH9vLQv5690SxRY99//2h5ZqQL0n7sTFZIG3laR59iOyGubs2CYdQ9VgsOfkrA9EKfv8oGOvdEHFsEurktE3ZsXxWHTNuRRC+/WWwXBQOTrqpxuY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


        I have read a mail in the mail list about xentrace and xentrace_format. But I am still puzzled on how to use them.

Could somebody give me an example about how to use xentrace and xentrace_format.

What I have done is that:

1.       Root:/# xentrace /var/perftests/xentrace.log

Then I use xentrace_format to get what I want

2.       cat /var/perftests/xentrace.log | xentrace_format myformat

The file myformat is as follows:

0x00082006  %(cpu)d, %(tsc)d, %(event)d, %(1)d, %(2)d, %(3)d, %(4)d, %(5)d

But I get:

TSC stepped backward cpu 0 !  393153231147126 393162854585484
TSC stepped backward cpu 0 !  393153183271128 393162838623522
TSC stepped backward cpu 0 !  393153151352298 393162870544116

Could someone tell me how to get the results as the format specified?Really need your help.




Xen-users mailing list



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