Re: [lttng-dev] Regarding CtfTmfTrace reader in TMF and LTTng's new trace format

2014-10-20 Thread Geneviève Bastien
Hi Shariyar, Can your trace be read all right if you import it in TMF (Trace Compass) and open it normally in it? Do all events appear in the events table? There were changes to improve the CTF reading part recently and somebody reported a bug with traces taken on ARM where events are not read

Re: [lttng-dev] Regarding CtfTmfTrace reader in TMF and LTTng's new trace

2014-10-20 Thread Shariyar
that class. Thanks, Shariyar Date: Mon, 20 Oct 2014 10:37:26 -0400 From: Genevi?ve Bastien gbastien+lt...@versatic.net To: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] Regarding CtfTmfTrace reader in TMF and LTTng's new trace format Message-ID: 54451e26.4090...@versatic.net Content

Re: [lttng-dev] Regarding CtfTmfTrace reader in TMF and LTTng's new trace

2014-10-20 Thread Shariyar
Hi Genevive, I have found the sollution. Actually, I have replaced the CtfEvent and CtfIterator by ITmfEvent and ITmfContext. This allows me to read the both the latest and old format. The sample code is attached below, in case if some one comes across the same problem. Best regards, Shariyar

[lttng-dev] Regarding CtfTmfTrace reader in TMF and LTTng's new trace format

2014-10-17 Thread Shariyar
Hi, I am trying to read the traces generated in the latest format by LTTng--i.e., a trace having an index folder (with index files) and the files for every channel. I am reading these type of traces in my Java program by using the CtfTmfTrace class that exists in TMF. I have been using this