* Error message using xentrace.
@ 2007-04-15 18:47 Parisa Heidari
2007-04-16 8:31 ` INAKOSHI Hiroya
2007-04-25 13:34 ` Thomas Friebel
0 siblings, 2 replies; 6+ messages in thread
From: Parisa Heidari @ 2007-04-15 18:47 UTC (permalink / raw)
To: xen-devel; +Cc: Diwaker Gupta
Hello,
I'm taking a trace using Xentrace. Everything seems to be ok and I 'm able to
take the trace. Then, seeing the result by xentrace_format, I receive this
error message:
$xentrace_format /etc/xen/formats < ~/Traces/xentrace.dat > ~/Traces/def1
Traceback (most recent call last):
File "./xentrace_format", line 108, in ?
(tsc, event, d1, d2, d3, d4, d5) = struct.unpack(TRCREC, line)
struct.error: unpack str size does not match format
However it gives me a file. And the output is like:
CPU0 1637436031845 (+ 0) do_block [ domid = 0x00000000,
edomid = 0x00000000 ]
CPU0 1637436034822 (+ 2977) unknown (0x000000000002f00e) [ 0x00000000
0x0002f2aa 0x00000000 0x00000000 0x00000000 ]
CPU0 1637436035370 (+ 548) unknown (0x000000000002f00f) [ 0x00007fff
0x0002f2aa 0x01c9c380 0x00000000 0x00000000 ]
......
Am I doing something wrong? What is the problem with the unknown events?
Thanks in advance,
Parissa.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error message using xentrace.
2007-04-15 18:47 Error message using xentrace Parisa Heidari
@ 2007-04-16 8:31 ` INAKOSHI Hiroya
2007-04-16 16:40 ` Parissa Heidari
2007-04-25 13:34 ` Thomas Friebel
1 sibling, 1 reply; 6+ messages in thread
From: INAKOSHI Hiroya @ 2007-04-16 8:31 UTC (permalink / raw)
To: Parisa Heidari; +Cc: Diwaker Gupta, xen-devel
Parisa,
did you execute xentrace_format on a heterogeneous machine?
Regards,
Hiroya
Parisa Heidari wrote:
>
> Hello,
>
> I'm taking a trace using Xentrace. Everything seems to be ok and I 'm able to
> take the trace. Then, seeing the result by xentrace_format, I receive this
> error message:
> $xentrace_format /etc/xen/formats < ~/Traces/xentrace.dat > ~/Traces/def1
> Traceback (most recent call last):
> File "./xentrace_format", line 108, in ?
> (tsc, event, d1, d2, d3, d4, d5) = struct.unpack(TRCREC, line)
> struct.error: unpack str size does not match format
>
>
> However it gives me a file. And the output is like:
> CPU0 1637436031845 (+ 0) do_block [ domid = 0x00000000,
> edomid = 0x00000000 ]
> CPU0 1637436034822 (+ 2977) unknown (0x000000000002f00e) [ 0x00000000
> 0x0002f2aa 0x00000000 0x00000000 0x00000000 ]
> CPU0 1637436035370 (+ 548) unknown (0x000000000002f00f) [ 0x00007fff
> 0x0002f2aa 0x01c9c380 0x00000000 0x00000000 ]
>
> ......
>
> Am I doing something wrong? What is the problem with the unknown events?
>
> Thanks in advance,
> Parissa.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error message using xentrace.
2007-04-16 8:31 ` INAKOSHI Hiroya
@ 2007-04-16 16:40 ` Parissa Heidari
2007-04-24 16:36 ` Mark Williamson
0 siblings, 1 reply; 6+ messages in thread
From: Parissa Heidari @ 2007-04-16 16:40 UTC (permalink / raw)
To: INAKOSHI Hiroya; +Cc: xen-devel
Hi Hiroya,
No, I execute xentrace_forma on the same machine that I'm taking the trace;
both of them are being executes on i386.
Regards,
Parissa.
On Monday 16 April 2007 04:31, you wrote:
> Parisa,
>
> did you execute xentrace_format on a heterogeneous machine?
>
> Regards,
> Hiroya
>
> Parisa Heidari wrote:
> > Hello,
> >
> > I'm taking a trace using Xentrace. Everything seems to be ok and I 'm
> > able to take the trace. Then, seeing the result by xentrace_format, I
> > receive this error message:
> > $xentrace_format /etc/xen/formats < ~/Traces/xentrace.dat >
> > ~/Traces/def1 Traceback (most recent call last):
> > File "./xentrace_format", line 108, in ?
> > (tsc, event, d1, d2, d3, d4, d5) = struct.unpack(TRCREC, line)
> > struct.error: unpack str size does not match format
> >
> >
> > However it gives me a file. And the output is like:
> > CPU0 1637436031845 (+ 0) do_block [ domid =
> > 0x00000000, edomid = 0x00000000 ]
> > CPU0 1637436034822 (+ 2977) unknown (0x000000000002f00e) [
> > 0x00000000 0x0002f2aa 0x00000000 0x00000000 0x00000000 ]
> > CPU0 1637436035370 (+ 548) unknown (0x000000000002f00f) [
> > 0x00007fff 0x0002f2aa 0x01c9c380 0x00000000 0x00000000 ]
> >
> > ......
> >
> > Am I doing something wrong? What is the problem with the unknown events?
> >
> > Thanks in advance,
> > Parissa.
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error message using xentrace.
2007-04-16 16:40 ` Parissa Heidari
@ 2007-04-24 16:36 ` Mark Williamson
2007-04-24 21:26 ` Parissa Heidari
0 siblings, 1 reply; 6+ messages in thread
From: Mark Williamson @ 2007-04-24 16:36 UTC (permalink / raw)
To: xen-devel; +Cc: INAKOSHI Hiroya, Parissa Heidari
Hi there,
Are you using a customised formats file?
Could you possibly make the trace file and the formats file you're using
available online somewhere. I might be able t otake a look at it.
Cheers,
Mark
On Monday 16 April 2007, Parissa Heidari wrote:
> Hi Hiroya,
> No, I execute xentrace_forma on the same machine that I'm taking the trace;
> both of them are being executes on i386.
>
> Regards,
> Parissa.
>
> On Monday 16 April 2007 04:31, you wrote:
> > Parisa,
> >
> > did you execute xentrace_format on a heterogeneous machine?
> >
> > Regards,
> > Hiroya
> >
> > Parisa Heidari wrote:
> > > Hello,
> > >
> > > I'm taking a trace using Xentrace. Everything seems to be ok and I 'm
> > > able to take the trace. Then, seeing the result by xentrace_format, I
> > > receive this error message:
> > > $xentrace_format /etc/xen/formats < ~/Traces/xentrace.dat >
> > > ~/Traces/def1 Traceback (most recent call last):
> > > File "./xentrace_format", line 108, in ?
> > > (tsc, event, d1, d2, d3, d4, d5) = struct.unpack(TRCREC, line)
> > > struct.error: unpack str size does not match format
> > >
> > >
> > > However it gives me a file. And the output is like:
> > > CPU0 1637436031845 (+ 0) do_block [ domid =
> > > 0x00000000, edomid = 0x00000000 ]
> > > CPU0 1637436034822 (+ 2977) unknown (0x000000000002f00e) [
> > > 0x00000000 0x0002f2aa 0x00000000 0x00000000 0x00000000 ]
> > > CPU0 1637436035370 (+ 548) unknown (0x000000000002f00f) [
> > > 0x00007fff 0x0002f2aa 0x01c9c380 0x00000000 0x00000000 ]
> > >
> > > ......
> > >
> > > Am I doing something wrong? What is the problem with the unknown
> > > events?
> > >
> > > Thanks in advance,
> > > Parissa.
> > >
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@lists.xensource.com
> > > http://lists.xensource.com/xen-devel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
--
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error message using xentrace.
2007-04-24 16:36 ` Mark Williamson
@ 2007-04-24 21:26 ` Parissa Heidari
0 siblings, 0 replies; 6+ messages in thread
From: Parissa Heidari @ 2007-04-24 21:26 UTC (permalink / raw)
To: Mark Williamson; +Cc: xen-devel
Hi Mark,
You could find the files (formats & xentrace.dat) here:
http://ltt.polymtl.ca/~parisa
Formas is not customised. As I have written in the "text" file, I'm using
xen-unstable and the "formats" found in :
xen-unstable.hg/tools/xentrace/formats
I really appreciate your help,
Parissa.
On Tuesday 24 April 2007 12:36, you wrote:
> Hi there,
>
> Are you using a customised formats file?
>
> Could you possibly make the trace file and the formats file you're using
> available online somewhere. I might be able t otake a look at it.
>
> Cheers,
> Mark
>
> On Monday 16 April 2007, Parissa Heidari wrote:
> > Hi Hiroya,
> > No, I execute xentrace_forma on the same machine that I'm taking the
> > trace; both of them are being executes on i386.
> >
> > Regards,
> > Parissa.
> >
> > On Monday 16 April 2007 04:31, you wrote:
> > > Parisa,
> > >
> > > did you execute xentrace_format on a heterogeneous machine?
> > >
> > > Regards,
> > > Hiroya
> > >
> > > Parisa Heidari wrote:
> > > > Hello,
> > > >
> > > > I'm taking a trace using Xentrace. Everything seems to be ok and I 'm
> > > > able to take the trace. Then, seeing the result by xentrace_format, I
> > > > receive this error message:
> > > > $xentrace_format /etc/xen/formats < ~/Traces/xentrace.dat >
> > > > ~/Traces/def1 Traceback (most recent call last):
> > > > File "./xentrace_format", line 108, in ?
> > > > (tsc, event, d1, d2, d3, d4, d5) = struct.unpack(TRCREC, line)
> > > > struct.error: unpack str size does not match format
> > > >
> > > >
> > > > However it gives me a file. And the output is like:
> > > > CPU0 1637436031845 (+ 0) do_block [ domid =
> > > > 0x00000000, edomid = 0x00000000 ]
> > > > CPU0 1637436034822 (+ 2977) unknown (0x000000000002f00e) [
> > > > 0x00000000 0x0002f2aa 0x00000000 0x00000000 0x00000000 ]
> > > > CPU0 1637436035370 (+ 548) unknown (0x000000000002f00f) [
> > > > 0x00007fff 0x0002f2aa 0x01c9c380 0x00000000 0x00000000 ]
> > > >
> > > > ......
> > > >
> > > > Am I doing something wrong? What is the problem with the unknown
> > > > events?
> > > >
> > > > Thanks in advance,
> > > > Parissa.
> > > >
> > > > _______________________________________________
> > > > Xen-devel mailing list
> > > > Xen-devel@lists.xensource.com
> > > > http://lists.xensource.com/xen-devel
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error message using xentrace.
2007-04-15 18:47 Error message using xentrace Parisa Heidari
2007-04-16 8:31 ` INAKOSHI Hiroya
@ 2007-04-25 13:34 ` Thomas Friebel
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Friebel @ 2007-04-25 13:34 UTC (permalink / raw)
To: Parisa Heidari; +Cc: Diwaker Gupta, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1878 bytes --]
On Sun, 2007-04-15 at 14:47 -0400, Parisa Heidari wrote:
> $xentrace_format /etc/xen/formats < ~/Traces/xentrace.dat > ~/Traces/def1
> Traceback (most recent call last):
> File "./xentrace_format", line 108, in ?
> (tsc, event, d1, d2, d3, d4, d5) = struct.unpack(TRCREC, line)
> struct.error: unpack str size does not match format
This happens from time to time. I think the reason is that xentrace
writes the trace records in two steps: first the CPU number and second
the rest of the trace record. When you interrupt (CTRL-C) xentrace
between these two writes then the last trace entry in the file is
incomplete.
If you need to work around this you might want to pause the VM before
stopping xentrace, so you don't interrupt it at work. But I think it is
save to ignore the error.
> However it gives me a file. And the output is like:
> CPU0 1637436031845 (+ 0) do_block [ domid = 0x00000000,
> edomid = 0x00000000 ]
> CPU0 1637436034822 (+ 2977) unknown (0x000000000002f00e) [ 0x00000000
> 0x0002f2aa 0x00000000 0x00000000 0x00000000 ]
> CPU0 1637436035370 (+ 548) unknown (0x000000000002f00f) [ 0x00007fff
> 0x0002f2aa 0x01c9c380 0x00000000 0x00000000 ]
These two event IDs (0x2f00e and 0x2f00f) are defined and used in the
code since changeset 7801. But there has not been a description added to
the formats file yet.
Cheers
Thomas
--
Thomas Friebel
Operating System Research Center
AMD Saxony, Dresden, Germany
--
Legal Stuff:
AMD Saxony Limited Liability Company & Co. KG
Wilschdorfer Landstr. 101, 01109 Dresden, Germany
Register Court Dresden: HRA 4896
General Partner authorized to represent:
AMD Saxony LLC (Wilmington, Delaware, US)
General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-04-25 13:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-15 18:47 Error message using xentrace Parisa Heidari
2007-04-16 8:31 ` INAKOSHI Hiroya
2007-04-16 16:40 ` Parissa Heidari
2007-04-24 16:36 ` Mark Williamson
2007-04-24 21:26 ` Parissa Heidari
2007-04-25 13:34 ` Thomas Friebel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.