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