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-community

[Xen-users] how to use xentrace and xentrace_format

To: "xen-users邮件列表" <xen-users@xxxxxxxxxxxxxxxxxxx>, "xen-community邮件列表" <xen-community@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] how to use xentrace and xentrace_format
From: "程龙" <loongcheng@xxxxxxxxx>
Date: Mon, 19 May 2008 17:21:15 +0800
Delivery-date: Mon, 19 May 2008 02:21:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=fQs6jIjOLT2BcVlE+OkrCgJr7QF0TeykFTH6Blyi/FY=; b=SqjY/pkmUP487oSISUzChqft4LTc60c1fC6Ip/qT3ylqkuhN0gm0L+SI42HS6wsp1j/xW3ITiHH4SDRXLMwtYqj3kl19upYQhCKQsHvtbv0zsewdrd2Sbpo69MCVFFwAcOrnO8ASCjcWZ6BhO4ZI4oNoPTP8YX0cT1HTeh1ANuA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Hi,

        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.

 

Thanks,

Jackie

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] how to use xentrace and xentrace_format, 程龙 <=