Parissa Heidari
2007-Apr-05 22:43 UTC
[Xen-devel] 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. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Diwaker Gupta
2007-Apr-06 07:21 UTC
Re: [Xen-devel] Does xentrace write into buffers by default?
> 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.> If it writes into buffers by default, how can I control it (turn on/off > buffers).Set the event mask to 0. Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thomas Friebel
2007-Apr-10 12:05 UTC
Re: [Xen-devel] Does xentrace write into buffers by default?
Hello Parissa, On Thu, 2007-04-05 at 18:43 -0400, Parissa Heidari wrote:> 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".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 -- AMD Saxony, Dresden, Germany Operating System Research Center email: thomas.friebel@amd.com 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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel