This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [linuxtools-dev] Alternative LTTng TMF Eclipse Plugin Input Formats


Forwarding the mail to the guru...

On Fri, May 27, 2011 at 2:47 PM, Chris Meek <cmeek@redhat.com> wrote:
> Hi,
>
> Thank you for your response. I searched through the source code for the TMF
> plugin and found some files relating to a custom text parser input wizard. I
> tried enabling that wizard in the Extensions section of the Plugin.xml file.
> Then, after building and running the project, I went File > New > Other >
> TMF > Custom Text Parser. Unfortunately when I clicked next, I got a
> NullPointerException :(. I really thought this would work! Do you have any
> idea what could be the problem in this case? Or am I doing something wrong?
>
> Thanks for your help,
> Chris
>
> On 05/27/2011 02:05 PM, Francois Chouinard wrote:
>>
>> Hi,
>>
>> If your traces are in binary, you will have to either provide a parser
>> or convert them to LTTgn binary format (using e.g. BabelTrace).
>>
>> If your traces are in text, you might have better luck: if you have
>> XML traces or if your trace can be parsed using a regex then you can
>> use TMF to dynamically create (and store) a parser that will read your
>> trace and import it in the environment.
>>
>> This stuff is in the released code base and works for our internal
>> tools but is not advertised or even documented in the User Guide: the
>> User Guide is only for LTTng while this feature is part of the
>> underlying framework (TMF) that is not yet split from LTTng. TMF is
>> also the foundation for the upcoming GDB Tracepoints and UST (User
>> Space Tracing) that haven't been released yet.
>>
>> Since we haven't released yet any interesting tools to analyze
>> non-LTTng traces, you will be more or less limited to viewing,
>> searching, filtering, etc, from the Events View... Unless you write
>> your own and (being a great guy) contribute it back :-)
>>
>> Anyway, if you have more specific questions about parsing or text
>> parsing, feel free to ask.
>>
>> Regards,
>> /fc
>>
>>
>> On Fri, May 27, 2011 at 9:16 AM, Chris Meek<cmeek@redhat.com> ?wrote:
>>>
>>> Hi,
>>>
>>> I was wondering if it is possible to import trace files into the LTTng
>>> TMF
>>> Eclipse Plugin in any format other than the binary LTTng traces.
>>>
>>> Thanks,
>>> Chris
>>> _______________________________________________
>>> linuxtools-dev mailing list
>>> linuxtools-dev@eclipse.org
>>> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
>>>
>>
>>
>
>



-- 
Francois


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]