Does xentrace write into buffers by default?
Hello,
I have a question about the way Xentrace takes a trace.
In previous versions of Xen, I took a trace by setting the size of buffers, activating them and writing the information into a file (optional). setsize 20
tbctl 1
xentrace /tmp/xentrace.dat
Now I'm using xen-unstable and I see that setsize is already integrated in xentrace command.
My question is: does start/stop buffer is integrated into the xentrace too? I mean, does xen write trace information into buffers by default or it starts writing them after the command "xentrace /tmp/xentrace.dat".
If it writes into buffers by default, how can I control it (turn on/off buffers).
Best regards,
Parissa.
Quoted 2 lines
I mean, does xen write trace information into buffers by default or it starts writing them after the command "xentrace
/tmp/xentrace.dat".
Tracing keeps happening, irrespective of whether you run the xentrace user program or not.
Quoted 2 lines
If it writes into buffers by default, how can I control it (turn on/off buffers).
Set the event mask to 0.
Diwaker
Signature · 1 line
Web/Blog/Gallery: http://floatingsun.net/blog
Hello Parissa,
Quoted 8 lines · Parissa Heidari
Hello,
I have a question about the way Xentrace takes a trace.
In previous versions of Xen, I took a trace by setting the size of buffers, activating them and writing the information into a file (optional). setsize 20
tbctl 1
xentrace/tmp/xentrace.dat
Quoted 6 lines
Now I'm using xen-unstable and I see that setsize is already integrated in xentrace command.
My question is: does start/stop buffer is integrated into the xentrace too? I mean, does xen write trace information into buffers by default or it starts writing them after the command "xentrace
/tmp/xentrace.dat".
The trace buffers are initialized and tracing starts when you set the trace buffer size. This happens when you call "xentrace /tmp/foo" the first time.
Thomas
Signature · 14 lines
AMD Saxony, Dresden, Germany Operating System Research Center email: [email protected] phone: +49-351-277-4907 Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel