Hi Martin,

If you're creating a text parser, you can paste your input text (or just a
few sample lines) in the "Preview input" text box.
Then you will see if your lines are parsed properly (you want your
important text to be green -- see the preview legend).
Make sure you create 'groups' under each regular expression to capture the
data and specify which field it corresponds to.
When you press "Next" you should see a preview table of how the trace would
look like with this parser and this preview text.

And yes you can export, import and share the parsers, but you first have to
find the well-hidden "Manage Custom Parsers" dialog:

http://wiki.eclipse.org/Linux_Tools_Project/LTTng2/User_Guide#Managing_custom_parsers

Patrick

On Tue, Nov 20, 2012 at 11:28 AM, Oberhuber, Martin <
martin.oberhu...@windriver.com> wrote:

>  Hi all,****
>
> ** **
>
> Thanks for the feedback on custom traces – I do have another request:****
>
> ** **
>
> I found the idea of custom text parsers interesting, tried to create my
> own one but the imported data seems empty.****
>
> http://wiki.eclipse.org/Linux_Tools_Project/LTTng2/User_Guide#Custom_Parser
> ****
>
> ** **
>
> Does somebody have a sample text file (maybe one you’ve used for testing) ?
> ****
>
> Is there a way to import / export the related text parser definition and
> share in a team ?****
>
> ** **
>
> Thanks,****
>
> Martin****
>
> --****
>
> *Martin Oberhuber*, SMTS / Product Architect – Development Tools, *Wind
> River*****
>
> direct +43.662.457915.85  fax +43.662.457915.6****
>
> ** **
>
> _______________________________________________
> linuxtools-dev mailing list
> linuxtools-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
>
>
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev

Reply via email to