Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319429 - [TMF] Implementation of Custom Parsers
Summary: [TMF] Implementation of Custom Parsers
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-09 16:28 EDT by Patrick Tasse CLA
Modified: 2022-01-13 14:52 EST (History)
0 users

See Also:


Attachments
Proposed patch in org.eclipse.linuxtools.tmf.ui package (324.52 KB, patch)
2010-07-09 16:29 EDT, Patrick Tasse CLA
fchouinard: iplog+
Details | Diff
Icons zip file for org.eclipse.linuxtools.tmf.ui package (4.55 KB, application/octet-stream)
2010-07-09 16:32 EDT, Patrick Tasse CLA
fchouinard: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
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