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

Bug 347334

Summary: [TMF] Missing API to retrieve parent trace in TmfEvent
Product: z_Archived Reporter: Bernd Hufmann <bernd.hufmann>
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:
Bug Depends on:    
Bug Blocks: 301610    

Description Bernd Hufmann CLA 2011-05-26 11:16:09 EDT
The TmfEvent class doesn't provide an API to retrieve the parent trace. For a given TmfEvent, it's currently not possible to know which trace it came from. This is especially relevant when dealing with experiments with multiple traces.

The TmfEvent class needs to be extended to provide this API.
Comment 1 Francois Chouinard CLA 2012-02-22 16:56:47 EST
This was fixed in the new TMF Event Model. The TmfEvent class now provides the following method:
- public ITmfTrace<?> getTrace()
Comment 2 Francois Chouinard CLA 2012-03-26 14:02:12 EDT
Delivered in 0.10.0