Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353020 - [TMF, LTTng] Changes for streaming support, background and event request refactoring, trace control updates and minor bug fixes
Summary: [TMF, LTTng] Changes for streaming support, background and event request refa...
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: 2011-07-25 11:51 EDT by Patrick Tasse CLA
Modified: 2022-01-13 14:53 EST (History)
1 user (show)

See Also:


Attachments
Proposed patch in org.eclipse.linuxtools packages (217.67 KB, patch)
2011-07-25 11:53 EDT, Patrick Tasse CLA
fchouinard: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Tasse CLA 2011-07-25 11:51:40 EDT
Build Identifier: 

Submitting a patch to implement support for LTTng trace streaming, refactoring of background and event requests (ref. bug 337857), changes to LTTng trace control, and minor bug fixes.

Changes to org.eclipse.linuxtools.tmf package:

- Background requests are refactored from the experiment to the data provider and event provider.
- Background data requests are now supported.
- Background subrequest chunk size is adjusted to prevent reading more than the requested number of events.
- Event requests and coalesced requests now support a non-zero starting index.
- TmfLocation type is now required to be a Comparable object.
- TmfExperimentLocation is refactored to use a new comparable TmfLocationArray type.
- TmfExperiment indexing can now be continued at a specified index, and with a limited time range.
- TmfExperiment indexing can be marked pending if trace updated while indexing is busy.

Changes to org.eclipse.linuxtools.tmf.ui package:

- Fix for seeking by ratio to the middle of an event in custom parsers.
- Fix in events table when setting search and filters while no trace selected.
- Events table updated to support receiving new events while filter is applied.
- Events table no longer clears search and filter settings when a new trace is selected.
- Fix in time analysis widget to support selected time outside current range.
- Fix in custom parser wizard preview table.

Changes to org.eclipse.linuxtools.lttng package:

- Synthetic event provider and requests now supports requests with non-zero starting index.
- State manager supports restoring to nearest checkpoint by index.
- State experiment manager can resume updating checkpoints at a specified index, and with a limited time range.
- State experiment manager checkpoint update can be marked pending if busy.
- LTTng experiment indexing is overridden to start a periodic monitor to update the traces and index up to a safe time.
- Setting of trace control parameters to target refactored out of action handlers to the trace for code reuse.

Changes to org.eclipse.linuxtools.lttng.jni package:
- JNI trace now supports opening trace in live mode and periodic streaming trace update.

Changes to org.eclipse.linuxtools.lttng.ui package:

- Fix channel overwrite mode handling.
- Set default channel timer, subbffer size and number at trace creation.
- Fix remote resource change events.
- Renamed remote/local to target/host in dialogs.
- Renamed NUM_CHANNELS to Number of lttd threads in dialogs.
- Add tracing project selection in Create New Trace dialog.
- Automatic import to project as link at trace start for traces streamed to host.
- Improve validation of Create New Trace dialog parameters.
- Allow trace import to project while trace is started/paused.
- Control Flow view supports delayed initialization at first experiment range update.
- Resources view supports delayed initialization at first experiment range update.
- Statistics view can resume updating at a specified index, and with a limited time range.
- Statistics view update can be marked pending if busy.


Reproducible: Always
Comment 1 Patrick Tasse CLA 2011-07-25 11:53:29 EDT
Created attachment 200291 [details]
Proposed patch in org.eclipse.linuxtools packages

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 Francois Chouinard CLA 2011-07-27 20:10:47 EDT
Comment on attachment 200291 [details]
Proposed patch in org.eclipse.linuxtools packages

Committed with minor modifications. Commit ID: 3ef7a3795db44e44b324ae60e8e456653899cd03

Thanks Patrick. Very nice work.
Comment 3 Francois Chouinard CLA 2011-07-27 20:11:57 EDT
Contribution integrated.
Comment 4 Andrew Overholt CLA 2011-08-15 14:35:28 EDT
Is this suitable for a bug-fix release (0.8.1) or should the Target Milestone be set to 0.9.0?
Comment 5 Francois Chouinard CLA 2012-03-26 13:57:09 EDT
Delivered in 0.9.0