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

Bug 327910

Summary: [LTTng] Implement single event
Product: z_Archived Reporter: Francois Chouinard <fchouinard>
Component: LinuxToolsAssignee: Francois Chouinard <fchouinard>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Single event fix fchouinard: iplog-

Description Francois Chouinard CLA 2010-10-15 11:41:19 EDT
For performance reasons, the LTTng back-end instantiates a single LTTngEvent and updates it when parsing from the library. This allows for event "parsing on demand" and contributes greatly to the performance of the lib.

Therefore, in the LTTng back-end, a single event is instantiates per LTTng trace and it is filled as we process the trace.

One problem with this is that TMF has(had) a few constraints that forced the back-end to systematically parse the events read and thus lose some of the theoretical lib performance.

This bug is about removing the TMF limitations and implement "single event".
Comment 1 Francois Chouinard CLA 2010-10-15 11:59:34 EDT
Created attachment 180980 [details]
Single event fix

This patch provides the following changes:
- implement LTTngEvent cloning
- fixed a number of timestamp cloning issues (in the indexes)
- HistogramView cosmetic adjustments
- minor fixes
Comment 2 Francois Chouinard CLA 2010-10-21 14:58:23 EDT
Patch committed in Helios and Indigo.
Comment 3 Francois Chouinard CLA 2011-07-22 14:51:29 EDT
Delivered with 0.7