Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327910 - [LTTng] Implement single event
Summary: [LTTng] Implement single event
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 11:41 EDT by Francois Chouinard CLA
Modified: 2022-01-13 14:53 EST (History)
0 users

See Also:


Attachments
Single event fix (43.26 KB, patch)
2010-10-15 11:59 EDT, Francois Chouinard CLA
fchouinard: iplog-
Details | Diff

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