Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319429

Summary: [TMF] Implementation of Custom Parsers
Product: z_Archived Reporter: Patrick Tasse <patrick.tasse>
Component: LinuxToolsAssignee: Francois Chouinard <fchouinard>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch in org.eclipse.linuxtools.tmf.ui package
fchouinard: iplog+
Icons zip file for org.eclipse.linuxtools.tmf.ui package fchouinard: iplog+

Description Patrick Tasse CLA 2010-07-09 16:28:41 EDT
Build Identifier: 

Submitting a patch to add custom parser functionality. Text and XML parsers are supported. Wizards are provided.

Detailed changes:

- User can create, edit, delete, import or export custom parser definitions in the Manage Custom Parsers dialog
- User specifies which data to extract from a trace, with special handling the trace event time stamp
- Wizards provided to create the custom parser definitions
- Text (regex-based) and XML custom parsers are available
- In the text custom parser a hierarchy of input lines can be created, each with its own cardinality
- Each group from the matching regular expression can be a separate extracted input data
- The user can provide sample text that is used to preview the matching data and the events table
- In the XML cutom parser a hierarchy of elements and attributes can be created
- A default text representation of any XML element (including its recursive children and attributes) is provided
- The user can provide sample XML that is used to preview the matching data and the events table
- The sample XML is parsed to provide hints as elements and attributes are created in the wizard
- A "Feeling lucky" button can be used to instantly create all elements and attributes found in the sample XML
- User can customize the output of each parser, shown by the generic custom parser event table


Reproducible: Always
Comment 1 Patrick Tasse CLA 2010-07-09 16:29:35 EDT
Created attachment 173916 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Legal Message: I, Patrick Tasse, declare that I developed attached code from scratch, without referencing any 3rd party materials except material licensed under the EPL. I am authorized by my employer to make this contribution under the EPL.
Comment 2 Patrick Tasse CLA 2010-07-09 16:32:43 EDT
Created attachment 173917 [details]
Icons zip file for org.eclipse.linuxtools.tmf.ui package
Comment 3 Francois Chouinard CLA 2010-07-12 15:49:14 EDT
Comment on attachment 173916 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Patch committed with minor modifications
Comment 4 Francois Chouinard CLA 2010-07-12 15:50:47 EDT
Done.
Comment 5 Francois Chouinard CLA 2011-07-22 14:46:03 EDT
Delivered with 0.7