TMF: bug 440998: Set active task to null in TmfRequestExecutor when completed

This avoids keeping references to the request, which itself may contain
references to rather big objects.

Change-Id: Ib82fbea5cdc6b73a0a76d51bc2e960d0d223927a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/30903
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tmf: Get traces with the experiment when initializing state system viewer

It was already so for the update, but not in the initial build method

Change-Id: Iba38832b8e5acc6ab445491df7318bb166685297
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/31149
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
TMF: Fix trace synchronization memory performance test, to reduce variability

And document a bit more how to use the USED_JAVA_HEAP metric, so that it gives
accurate results.

Change-Id: Id776ab4cbd70f1f22bcfa9fc5efe95b97b6c4b77
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/30999
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf: Use validated time range in time graph range update event

Could be out-of-range when using the zoom out tool bar button.

Change-Id: Ice6d57841283b070cdcad7f5e90d5aa331764df8
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31064
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
ctf: reduce sonar warnings in IOStructGen

Change-Id: I71e173ff92558930ff013e3969fd8e8cff0bfb0a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31234
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf: lttngControl: Separate STDERR from output and create errorOutput

Refactoring of current function to adjust to change.
Modifications to test scenarios to support new error output

Change-Id: I457aeed7ae6aba1ce880339c5a9b7f55c6a0e232
Signed-off-by: Jonathan Rajotte Julien <jonathan.rajotte-julien@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31228
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf: Integration of the pcap parser within TMF

Change-Id: I1f5cdac29ceaa8e513467965b889bf152d2f4edb
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28450
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
pcap: add unit tests to tmf.pcap

Change-Id: I81c12a8d75f99a61931a330e9d80896a77659002
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30533
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: Fix Call Stack view empty for experiments

Change-Id: I2c31486c8203616110e2d1fca54c8b077d4eec9e
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31396
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf: Update the refresh handler

- Remove delay when the handler is not busy
- Allow any Object as source to allow a component to queue different
  types of update that don't cancel each other
- Only execute one update at a time to allow other (non-coalesced) UI
  runnables to execute between updates and to allow updates from other
  sources to be replaced while the handler is busy

Change-Id: I9af49d6a11e8e224bc7ff527ba592c238715c7d7
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30341
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
tmf: make TmfConstantTransform serializable

Change-Id: I64c2748c747b94701e0de753d0140093c850fa5c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31190
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
pcap: add tmf.pcap.core.tests to main pom.xml

Change-Id: I0cc8e72e197b61b4c14b5be064c380d7981ffe55
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31401
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bug 440843 - High CPU usage for library hover generation at startup

- add check for modification time of the devhelp libhover file
  compared to the input directory
- rewrite the devhelp parser to collect all the function links
  based on file name and then to process each file one at a time
  and gather the whole set of functions at once
- bump up the minor release of the devhelp plug-in and libhover feature

Change-Id: I5fb8c55da2d59ccb0007843634635baa8f97e23b
Reviewed-on: https://git.eclipse.org/r/31327
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Systemtap: Reset launcher's cmdList each run.

Resolves EBZ #441629.
Also perform some very minor cleanup on RunScriptHandler.

Change-Id: I23714435658eba9abc72d7eeee88f70e2544b051
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/31463
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Hudson CI
No need for javadoc in Messages.

Change-Id: I415a92de4a5b7fa421e14a7d5e7fbf89aacab9e2
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/31465
Tested-by: Hudson CI
tmf: Add TmfEventTableColumn class

Introduce the concept of "event table column" objects. This
object will contain:
- The initial column configuration (previously in "ColumnData")
- The getItemString() "functor" defining how to populate the cell
  in this column for a given event.
- The "field ID" to allow searching/filtering to keep working as
  before. Eventually, the filtering mechanism could be reworked
  to just use getItemString() directly.

The base framework now defines 5 columns, that are available for
all trace types (whose getter methods are currently in ITmfEvent):
- Timestamp
- Source*
- Event Type
- Reference*
- Contents (fields)

(* = could eventually be removed, subject to future discussion)

Every trace type can now specify which columns it wants to display,
which may or may not include the default-provided ones.

This is the first step towards decoupling the trace type, event table,
and column order and number. This will eventually allow displaying all
the possible trace type columns in an experiment of heterogeneous traces.

Change-Id: I4ffdb0564114a92a58a271a7a99d3ca43fa57e31
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30468
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
TMF: Remove the @Ignore from some performance tests

Change-Id: I6b2124d5d13b6e80feb5d97757e796c3e2a98552
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/31399
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Restore STDataViewersImages.java which was removed by 3b2966b2d3c4ff13a563a8134c6bf654d787ca03

- removal of file will require a major version bump so we will defer to 4.0 release

Change-Id: I938f80f9bfe75d30f7bfd4e3c7cdd03da96e3d6c
Reviewed-on: https://git.eclipse.org/r/31461
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
tmf: Do not expose TmfEventTableColumn in TmfVirtualTable

Change-Id: Iabfc690c5c09be1a58d63514ad0d22d7f0033db6
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31239
Tested-by: Hudson CI
tmf: collapse exceptions into easier to read multi-line

Change-Id: Ib6302e976405383068ccc92eab69067ae97f96b0
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31405
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>