Re: LTTng format

"Raghavendra Rao" <[email protected]> Tue, 18 Sep 2007 17:17:13 +0530
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
Hello Matheu,
Here are my questions.
1.	What is the link between the tags in the .xml files with trace
files? Will these files be used by LTTV to interpret the trace data? If
so, how?
2.	buf_size: Does this indicate the size of each block in the trace
file? How to know how many blocks exist in a trace  file?
3.	facility_id, event_id: How this is related between the
control/cpu trace files?
4.	event data: What does each event data in each block of trace
file indicate? How to interpret this data? 
5.	What is the link between data from one trace file with other
trace file? (say cpu_0 with facilities_0 or interrupts_0 trace files or
any trace files for that matter)

If you prefer to see the trace data which I obtained, I can share with
you.

Thanks and regards
Raghavendra.

-----Original Message-----
From: Mathieu Desnoyers [mailto:[email protected]] 
Sent: Wednesday, September 12, 2007 10:36 PM
To: Raghavendra Rao
Cc: [email protected]
Subject: Re: [Ltt-dev] LTTng format

* Raghavendra Rao ([email protected]) wrote:
> Hello Mathieu
> I need info on the LTTng trace formats.
> I have format info from
> http://ltt.polymtl.ca/svn/ltt/branches/poly/doc/developer/format.html
> 
> I tried to correlate the format information between the actual trace
> files (which I got from LTTng) and what is viewed on LTTV.
> I opened the trace files (with an editor which can open binary files)
> and tried mapping the data with the format and with what is displayed
on
> the viewer.
> I can not make out the offset at which they (each data that is
displayed
> in the viewer) are present in the trace files.
> 
> Can you point me to some appropriate document.
> 

You have the right pointer. Can you give me an example of what field you
are looking for in the trace and how you try to calculate the offsets ?


> Thanks and regards
> Raghavendra.
> 
> 
> 
> _______________________________________________
> Ltt-dev mailing list
> [email protected]
> http://listserv.shafik.org/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE
9A68