Alexandre Montplaisir [Fri, 9 May 2014 20:21:04 +0000 (16:21 -0400)]
tmf: Add a TextTraceEventTable for text traces
Current text trace implementation store all their information (timestamp,
type, event content, etc.) as ITmfEventField's. Provide a standard
TextTraceEventTable implementation which simply displays the contents of
the event fields, one per column.
Change-Id: I20989a479827f899edfa7289f6f9456cea2637f7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26312
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Fri, 2 May 2014 04:06:23 +0000 (00:06 -0400)]
ctf: add scope to packet header
add a trace defintion scope to a packet header, instead of it being
null.
Change-Id: I6e8d361101fb0a71f25665f921378131744d8d92
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25862
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Alexandre Montplaisir [Thu, 8 May 2014 18:02:43 +0000 (14:02 -0400)]
tmf: Don't use ITmfEventField in TmfEventsTable
TmfEventsTable used ITmfEventFields to transfer what it calls
the "fields" of an event row in the table. These are simple Strings
at their heart though, ITmfEventField is used for event payloads only.
This removes many unnecessary object creations.
Change-Id: Ieb82651c6dc7b54505e24a1c21cfa3222a193bbf
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26231
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>
Marc-Andre Laperle [Fri, 9 May 2014 21:13:40 +0000 (17:13 -0400)]
tmf: Fix the progress monitor in package export and import
Change-Id: I0d126a78904e84bae80ff789dc6410d6f727eb48
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26314
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Thu, 8 May 2014 17:31:28 +0000 (13:31 -0400)]
tmf: Add initial SWTBot test for ImportTraceWizard
Change-Id: If533ffb1fcd9d7df865480f0e1c679ea3b4afa80
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26230
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Mon, 5 May 2014 23:06:45 +0000 (19:06 -0400)]
tmf: Support folders in package import
Change-Id: I2338b8e250c7afda9d8c576db56b76b00429b9a6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26232
Tested-by: Hudson CI
Alexandre Montplaisir [Tue, 6 May 2014 19:55:12 +0000 (15:55 -0400)]
lttng: Enable null-checking in test plugins
For some reason, annotation-based null checks were disabled in the
tests plugins. To avoid NPEs during tests, might as well enable
and benefit from them.
Change-Id: Ib5b50a37e477aa8619f316cdbf0271ab33fce796
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26072
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Fri, 25 Apr 2014 17:56:47 +0000 (13:56 -0400)]
tmf: support folders in export trace package feature
Change-Id: I55fdf352e8f320c98556dea61bddb395f3e3bbae
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25581
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Fri, 9 May 2014 15:59:15 +0000 (11:59 -0400)]
lttng-control: Fix creation of auto session
Change-Id: I7f531ad9c59795789f40b26a21470ab1b2878366
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26306
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Fri, 4 Apr 2014 13:39:23 +0000 (09:39 -0400)]
lttng: Allow local host connection (non SSH) for LTTng control
Change-Id: I937c76141195f02d5c3694327e4e085764cd00c4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26300
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Wed, 7 May 2014 16:57:56 +0000 (12:57 -0400)]
lttng-control: Fix creation of snapshot sessions
Change-Id: Idc0279fdb7f94158537f38b8a1d9dd1ea80f45d1
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26161
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Wed, 12 Mar 2014 20:52:01 +0000 (16:52 -0400)]
ctf: get iterable of stream input readers
This patch adds a way to get all event declarations from a
CTFTraceReader
Change-Id: If12805ba6436ab5f5ce562686f5870c0fbf05261
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23284
Bernd Hufmann [Wed, 7 May 2014 16:53:54 +0000 (12:53 -0400)]
lttng-control: Use legacy import wizard for network traces
Change-Id: I0dbb361d858b2a4b1188845e84c62a7bcea681e3
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26164
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Wed, 7 May 2014 15:39:10 +0000 (11:39 -0400)]
lttng-control: Auto-detect LTTng trace type during import
Change-Id: I2bb301151b689d2417f2fc7e62c8f3104e8727a1
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26163
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Wed, 7 May 2014 13:53:54 +0000 (09:53 -0400)]
lttng-control: Preserve session folder structure during import
Change-Id: Ia4071a08a83d85838b1c83dbbff43b3a622f6587
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26162
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Fri, 2 May 2014 20:44:23 +0000 (16:44 -0400)]
tmf: Make IAnalysisModule AutoCloseable
This will help ensure that we always close()/dispose() analysis
modules when we are done using them. This exposed many places in
the tests where unclosed modules could be leaking resources.
Change-Id: I32b9168d27460bd5daca61edebc38746a919ee4d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25895
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
Marc-Andre Laperle [Mon, 28 Apr 2014 18:48:07 +0000 (14:48 -0400)]
tmf: Fix Filter viewer context menu when opened from Colors view
When the filter viewer was opened from the Colors view, the context
menu did not appear anymore. This is because the context menu code
was moved to the FilterView from the FilterViewer so it would only
be executed opening the Filters view. The fix moves the code back
to the viewer and exposes the menu to the view so that it can add
other menu items through extentions.
Change-Id: I0fd447186342bfded6fb202590bbf0e69af6236a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25689
Tested-by: Hudson CI
Bernd Hufmann [Fri, 14 Mar 2014 11:22:19 +0000 (07:22 -0400)]
tmf: remove open trace directory and use open trace file instead
For directory traces like CTF the user has to select one of the
files of the directory trace. The open procedure will first verify
that the parent directory is a valid directory trace. If yes, then it
will be opened with the corresponding trace type. To cover the index
file of CTF which is in a subdirectory of the trace directory, also
the grandparent directory of the selected file will be checked for
a directory trace type. If neither parent or grandparent directory
is a valid directory the file will be imported as before.
Change-Id: Id6b4d8b177875b5c018cbbed82816f3ba52b067a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23386
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Fri, 11 Apr 2014 23:01:14 +0000 (19:01 -0400)]
tmf: Copy ResourceTreeAndListGroup from platform to keep compatibility
ResourceTreeAndListGroup was internal in Kepler and we referenced it.
It is now removed in Luna. To keep our builds compatible with Kepler,
we need to have our own version of this class. Once we stop supporting
Kepler, we can delete this class and use the public one from the platform.
Change-Id: I35185bbc9de551cacd6aaca3d12952f04c80d34e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26165
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Tue, 6 May 2014 20:50:07 +0000 (16:50 -0400)]
tmf: Add a TextTraceEvent for text traces
Also restricted some parameters and return values in TextTrace to
use TextTraceEvent and TextTraceContext instead.
Change-Id: Iaec0c5c00cf479666f88b8042923de73df49bca5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26077
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Tue, 6 May 2014 18:02:10 +0000 (14:02 -0400)]
tmf: Restore TextTraceEventContent.getField(int)
Commit
0554e04 moved the notion of field indexes down from the
framework into the TextTraceEventContent. Since this class keeps
the getFieldName(int) convenience method, getField(int) should
also remain there.
Change-Id: I5c30c18d605b6ee75e1867966a4fb8fdd5cdf2cd
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26069
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 6 May 2014 17:51:40 +0000 (13:51 -0400)]
tmf: Persist recent used directories in import wizard
Change-Id: I3f8f76329d2a9d9e440631f5467a81ad6bc752b3
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26070
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Tue, 6 May 2014 16:57:35 +0000 (12:57 -0400)]
tmf: persist dialog option for folders creation in import wizard
Change-Id: If4c866b3457cbb1178c4d6507f7d2f4d15e6cd46
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26055
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Fri, 2 May 2014 21:23:03 +0000 (17:23 -0400)]
tmf: Option to preserve folder structure in legacy import
Change-Id: I848c76db0153bf2b58937590299b914e01c1cd35
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25896
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Andrew Ferrazzutti [Fri, 2 May 2014 14:34:09 +0000 (10:34 -0400)]
More tabs to spaces, trailing space removal.
Change-Id: Ib7611d2160cb88ca41a9a2a1a874fc16c5aaf830
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/25882
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Marc-Andre Laperle [Mon, 5 May 2014 19:51:00 +0000 (15:51 -0400)]
tmf: Some fixes to folder handling in synchronization
Change-Id: I4d366b53e4cd2b3bfdc8504fba5cebe1b5f254f1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25993
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Fri, 11 Apr 2014 19:23:46 +0000 (15:23 -0400)]
TMF: Synchronize traces on their host ID instead of trace name
This allow to synchronize traces with identical names, and will have the
side-effect that different traces from the same host will be automatically
synchronized with the same formula.
Change-Id: Ifbf8da91d581e1cee3c699bd976b1437e661830b
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/24983
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Sat, 3 May 2014 17:35:09 +0000 (13:35 -0400)]
tmf: Use latest license feature for tmf.ctf
Change-Id: I603e148c89a525fe8b24f821653bb85650bc855c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25917
Tested-by: Hudson CI
Guilliano Molaire [Wed, 23 Apr 2014 17:00:03 +0000 (13:00 -0400)]
TMF: Implementation of LttngKernelAnalysis requirements
The events needed by the analysis are added as requirements.
Change-Id: I4f8930815d8c3a088986ada4dfffb9b737d25af0
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
Signed-off-by: Mathieu Rail <contact@mathieurail.com>
Reviewed-on: https://git.eclipse.org/r/23423
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Matthew Khouzam [Fri, 25 Apr 2014 14:15:01 +0000 (10:15 -0400)]
ctf: fix incosistent synchronization of location in context
sonar warning : Inconsistent synchronization of org.eclipse.linuxtools.tmf.ctf.core.CtfTmfContext.fCurLocation; locked 54% of time
Change-Id: I9f8b871d56c8c1e67dec31d929ca81b7410e6c17
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25562
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Mon, 28 Apr 2014 22:49:40 +0000 (18:49 -0400)]
tmf: Modernize ITmfEventField
Remove the notion of field indexes. Fields should be accessed by
name, not by arbitrary numerical value. Replace all arrays in the
API by Collection<String>. (Iterable would have been better but
many places made use of .size(), didn't want to break too much
things).
However, TextTraceEventContent made heavy use of field indexes.
Left this behavior as-is, by simply returning a List instead and
making those methods specific to this implementation.
Also fixes bug #433801.
Change-Id: I889355f86a3141d92ff2af3f30afec13f05152dd
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25761
Tested-by: Hudson CI
Guilliano Molaire [Wed, 23 Apr 2014 17:15:23 +0000 (13:15 -0400)]
TMF: Implementation of UstMemoryAnalysisModule requirements
The events needed by the analysis are added as requirements. We also add the
information that the libc with probes should be loaded prior to starting the
trace session.
Change-Id: Idcfb13d7ae43bb73f6631c12f4eeb52fe74976d5
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/23424
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Matthew Khouzam [Fri, 2 May 2014 03:05:24 +0000 (23:05 -0400)]
ctf: minor LexicalScope fixups
Two mislabelled scopes were fixes
Change-Id: I2a44d3fda57551f84a320432493c1e1d1cb61e8f
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25859
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Matthew Khouzam [Fri, 18 Apr 2014 18:11:37 +0000 (14:11 -0400)]
lttng: Add Lttng relayd connector
This allows connections to the lttng session daemon so that live trace
reading can work.
(rebased on lttng: Rename lttng2 feature/plugins to lttng2.control)
Conflicts:
Everything
(then rebased on ctf: immutable events)
LttngRelaydConsumer updated
Change-Id: Ida7f76f09d3f01a25b67cc552cb5869dc5e4c3a4
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23564
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Matthew Khouzam [Fri, 21 Mar 2014 22:14:03 +0000 (18:14 -0400)]
ctf: Make events immutable
This patch does some major changes to the ctf parser
The event definitions are now immutable and can no longer be modified.
The declarations will read the bitbuffer and then create event
definitions. The event definitions are going to have fields. Initial
tests show a slight speedup but the parser is 66% slower without
eclipse.
Change-Id: I52b8c0de9776fa7cd2b333628c2bb6d3dd2c86ac
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23740
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Matthew Khouzam [Tue, 11 Mar 2014 20:09:14 +0000 (16:09 -0400)]
ctf: potential memory optimization
This patch leads to a 300x memory improvement in lttng kernel traces
but a performance regression.
Change-Id: I655fa7b8ae94d742ee79d879bbbb5b2ddeec1374
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23221
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Marc-Andre Laperle [Wed, 16 Apr 2014 14:05:26 +0000 (10:05 -0400)]
Remove swtbot workaround for Kepler SR1
We don't need the profiles anymore because SWT_GTK3=0
behaves as it should in Kepler SR2.
Change-Id: I67f0f44defc3fd743e37cf33a5f299db1faa9d3c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25130
Tested-by: Hudson CI
Marc-Andre Laperle [Thu, 24 Apr 2014 02:35:39 +0000 (22:35 -0400)]
tmf: Re-enable SWTBot tests that now pass
Change-Id: I9b0ef07302e5fd8a9e48e9df1fa692b0d2cdfed5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25455
Tested-by: Hudson CI
Guilliano Molaire [Mon, 21 Apr 2014 15:07:29 +0000 (11:07 -0400)]
TMF: Add an analysis requirement helper
The helper can get lists of requirement values from one or several analysis
requirement providers.
Change-Id: I30ab18a04aa17eda1cc49e8e6332690ae4bf6528
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
Signed-off-by: Mathieu Rail <contact@mathieurail.com>
Reviewed-on: https://git.eclipse.org/r/25589
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Patrick Tasse [Wed, 23 Apr 2014 21:23:24 +0000 (17:23 -0400)]
tmf: Use selected destination trace folder in Batch Import wizard
However if a project is selected in the last wizard page, the
destination is set to that project's "Traces" folder.
Change-Id: If383ed8291c8eb7ba3e88079b1fa0cfd8586ebc4
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25442
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Thu, 24 Apr 2014 13:08:54 +0000 (09:08 -0400)]
tmf: Remove unnecessary global action handlers
These actions were no longer necessary since the menu contributions were
changed to use the global command ids in commit
9625626.
The Delete action is also removed from the context menu when the
selection contains a mix of traces, folders or experiments.
Change-Id: I24a714f3935b09616e8f74e2970ba19981dc143c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25441
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Wed, 23 Apr 2014 18:40:51 +0000 (14:40 -0400)]
tmf: Support open trace to selected trace folder
Make the Open Trace File and Open Trace Directory commands import the
trace to the selected folder instead of the project's "Traces" folder.
Also fixed link validation to accept INFO and WARNING return status.
Change-Id: I870431335d40df43a180ec6400aaddc24d2d0117
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25440
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Mon, 21 Apr 2014 21:25:30 +0000 (17:25 -0400)]
tmf: Update drag and drop to support trace folders
- Support drag and drop to any trace folder
- Support drag and drop from any trace folder
- Fix drag and drop to experiment from external source of a trace
already in project
- Fix unnecessary creation of target supplementary folder when source
doesn't have a supplementary folder
- Align trace rename scheme with import wizard
Change-Id: I2da1c3ce5b8b4f638dfd89ebb478f809fd6f13d2
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25329
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Wed, 16 Apr 2014 17:18:48 +0000 (13:18 -0400)]
tmf: Support folders in tracing projects
- Modify TmfTraceFolder to allow child TmfTraceFolder
- Create TmfTracesFolder sub-class for the unique traces folder
- Add ITmfTrace.initTrace() signature to support trace name
- Use element path for trace name
- Add New Folder command that applies to all trace folders
- Support Rename and Delete command on trace folders
- Update Rename Trace and Delete Trace commands to support traces under
trace folders
- Move Rename Trace workspace handling from dialog to handler class
- Update Select Traces command and its dialog to support traces under
trace folders
- Update Events editor initialization to support traces under trace
folders
- Update editor link helper to support traces under trace folders
- Refactor getProject() method on project model elements
- Update navigator label provider to show element path for traces under
experiments
- Create TmfViewerSorter to prioritize folders over traces and traces
over analyses
- Change Select Supplementary Files dialog to show element path
- Change supplementary folder handling to support traces under trace
folders and to create folders only if necessary
Change-Id: I3b68bb389b5e0b0bf894eb34affada98b117fb31
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25324
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Thu, 24 Apr 2014 20:36:51 +0000 (16:36 -0400)]
lttng: Rename lttng2 feature/plugins to lttng2.control
Change-Id: I4e62711ad2a4355758aff4e8dd4dafdd86f91a98
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25525
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Thu, 24 Apr 2014 19:57:18 +0000 (15:57 -0400)]
lttng: Add a diagram showing the dependencies between plugins
Can be useful to newcomers and veterans alike.
Change-Id: If07277c252813c80252097a0c9d224ba754d3641
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25519
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Guilliano Molaire [Mon, 21 Apr 2014 14:48:58 +0000 (10:48 -0400)]
TMF: Add support for requirements in AnalysisModuleTestHelper
Implementation of getRequirements and getValidTraceTypes in the analysis module
test helper so it can be used by test cases. An analysis requirement factory
has been added for the same purpose.
Change-Id: Ibfb3c9beb28893b77a2b80453b3ea75d407105a9
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24284
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Mathieu Rail [Sun, 30 Mar 2014 23:03:32 +0000 (19:03 -0400)]
TMF: Implement analysis requirements for config element helpers
Change-Id: I4c467ecba03c9fa5ef886cf328d60ec9249b8841
Signed-off-by: Mathieu Rail <contact@mathieurail.com>
Reviewed-on: https://git.eclipse.org/r/24286
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Guilliano Molaire [Wed, 23 Apr 2014 16:51:11 +0000 (12:51 -0400)]
TMF: Possibility to generate a session configuration from a ISessionInfo
With this feature we are able to generate a XML session configuration which
can be used to recreate a trace session on the target side.
Change-Id: I9786f322842b5166376f67d522907fa6bdc84edb
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/23425
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
François Rajotte [Fri, 25 Apr 2014 21:56:22 +0000 (17:56 -0400)]
TMF: speed up XML view entry start and end time queries
Change-Id: I6ad6a2484cd569fe0d1ce8a6f7449aba924f4578
Signed-off-by: François Rajotte <francois.rajotte@polymtl.ca>
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/25598
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Tue, 22 Apr 2014 19:53:30 +0000 (15:53 -0400)]
LTTng: Remove dependency to LttngKernelTrace in Lttng Kernel analysis module
The helper's appliesToTraceType and the analysis's canExecute methods already
verify if a trace has the necessary requirements to be able to execute the
analysis and it shouldn't matter if it's not the same class.
Also added a unit test that tests the execution of the analysis itself.
Change-Id: Ifeb9ce54165c2ad2d8b8258c3f465a18433c4969
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/25381
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Florian Wininger [Thu, 24 Apr 2014 17:30:29 +0000 (13:30 -0400)]
tmf: HTNode coding style improvement.
Change-Id: I9f298cdff2d583a738d7926ad5ba2b0fcd07bd9d
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/25512
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Thu, 24 Apr 2014 02:03:55 +0000 (22:03 -0400)]
lttng: Use SWTBot test runner to capture screenshots on failure
Change-Id: I19315bc959bea3d2aa708be1cb6c0183ca7d9dd5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25454
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Jeff Johnston [Fri, 25 Apr 2014 19:18:48 +0000 (15:18 -0400)]
Remove old 2011 license stuff from all feature.properties files
- tycho adds the license info automatically to the feature.properties
files that end up in the output jar files
Change-Id: Ic6d32db0c2cea75c06fb811674ec82b2026d5943
Reviewed-on: https://git.eclipse.org/r/25585
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Andrew Ferrazzutti [Fri, 25 Apr 2014 14:05:37 +0000 (10:05 -0400)]
Change tabs to spaces; elim trailing whitespace.
To comply with Sonar style requirements, replace all tab characters
with four whitespace characters/spaces, and remove all trailing
whitespace. Perform this change to all Java and XML files.
Also replace tabs with "\t" in test strings that require tabs,
and edit STPIndenterTest so that it doesn't rely on indented comments.
Change-Id: I48c3c5449a58fe5310967d998a05df1a28fbcbb0
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/25561
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Matthew Khouzam [Fri, 25 Apr 2014 17:30:35 +0000 (13:30 -0400)]
ctf: java 8 compliance of javadoc
Change-Id: I9ad7d732f606365bcdef1608b7c98c6577558e25
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25579
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Thu, 10 Apr 2014 20:01:09 +0000 (16:01 -0400)]
tracing rcp: update versions to 1.0
Change-Id: If166123d8505ae09cdc34b563930edcb381821e4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/24859
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Alexandre Montplaisir [Fri, 25 Apr 2014 19:35:32 +0000 (15:35 -0400)]
Revert "TMF: Add an analysis requirement helper"
This reverts commit
13df50ce83e1c57b7d3750a9da8e055b6be3f1d2.
Change-Id: I0919eca8a998457166e0105185a73779dab622f7
Reviewed-on: https://git.eclipse.org/r/25588
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Guilliano Molaire [Mon, 21 Apr 2014 15:07:29 +0000 (11:07 -0400)]
TMF: Add an analysis requirement helper
The helper can get lists of requirement values from one or several analysis
requirement providers.
Change-Id: I16287dd1bbaf99a7f15767ef7d044a81e48457dc
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
Signed-off-by: Mathieu Rail <contact@mathieurail.com>
Reviewed-on: https://git.eclipse.org/r/24285
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Bernd Hufmann [Thu, 10 Apr 2014 20:00:08 +0000 (16:00 -0400)]
releng: add LTTng RCP features to Linux Tools update sites
This will allow users to base a customized RCP on the standard tracing
RCP.
Also update lisence information and update site reference in the
RCP features and plug-ins.
Change-Id: I0927095a6818f7a4079c0be05dd7c19e0b22a557
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/24858
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Mon, 21 Apr 2014 21:03:14 +0000 (17:03 -0400)]
tmf: Split the state system in a separate plugin
TMF will depend on this new plugin, but it will allow the state
system infrastructure to be used outside of TMF.
No need for a new feature though, since this is not a user-visible
feature (the TMF feature will include this new plugin).
Change-Id: Ie69b15fef325a126cf9606bb0f2250771861f74f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25332
Marc-Andre Laperle [Fri, 25 Apr 2014 14:30:29 +0000 (10:30 -0400)]
ctf: Don't include all test traces in jar
Change-Id: Icb6a85f897ec2fe0aa8c3a116edd5ae9a76cb8a3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25563
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Fri, 25 Apr 2014 02:55:53 +0000 (22:55 -0400)]
ctf: make MetadataPacketHeader more inline with coding style
This fixes some sonar warnings
Change-Id: I67b401823d28cedf84d164af8ffe8a6fa01b6afe
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25531
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Wed, 23 Apr 2014 11:45:41 +0000 (07:45 -0400)]
lttng: clear CPU Usage view when closing a trace (bug 433191)
Change-Id: Ifc0b82606992e32d465d5e0a09abcb27d62e27fa
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25401
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 22 Apr 2014 19:57:28 +0000 (15:57 -0400)]
lttng: Dispose CpuUsageView properly (bug 433212)
Change-Id: Icf14fd5ae9ab9121171216d1b476df209b0a7c9e
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25380
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Jeff Johnston [Thu, 24 Apr 2014 19:20:30 +0000 (15:20 -0400)]
Replace feature licenses with new 2014 license.
Change-Id: Ib5471ff3a6f4dc66fd6e42038574b42a0d62d612
Reviewed-on: https://git.eclipse.org/r/25515
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Matthew Khouzam [Fri, 25 Apr 2014 02:48:17 +0000 (22:48 -0400)]
Revert "ctf: make MetadataPacketHeader more inline with coding style"
This reverts commit
2ce5d7294581df7698ccd84f86ebd4d5ab11b392.
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 23 Apr 2014 23:13:10 +0000 (19:13 -0400)]
lttng: Add test suite to run all SWTBot tests
Also fix a refresh problem that occured while
running the new suite.
Change-Id: If21127aaee72acffd533203c6fd5e2fce3274330
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25453
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Thu, 17 Apr 2014 19:25:14 +0000 (15:25 -0400)]
lttng: Don't call parse event unless necessary
Getting the even content will slow down parsing with lazy loaded
events and should only be done as needed.
Change-Id: Id7b3e39b5ad05459769a8679c5347413721ff9ba
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25235
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Matthew Khouzam [Fri, 25 Apr 2014 02:05:08 +0000 (22:05 -0400)]
ctf: make MetadataPacketHeader more inline with coding style
Change-Id: Icafec1945eeb7edbe579a2fc05b20f4f0da7176e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Florian Wininger [Mon, 10 Mar 2014 19:42:47 +0000 (15:42 -0400)]
TMF: Introduce the XML state system view for data driven outputs
Change-Id: I3ecf738e918be7b52075706f85c3f842c737b712
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/23161
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Tue, 22 Apr 2014 13:23:09 +0000 (09:23 -0400)]
tmf: Implement toString() for project model elements
Helps debugging.
Change-Id: Ic63193345bf4c48ef5b2fa3328f37a1115f9a18b
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25351
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Thu, 17 Apr 2014 14:32:54 +0000 (10:32 -0400)]
tmf: Fix another TimeRangeException in TmfStateStatistics
The exception occurs when the requested range is completely out of the
range of the state system, for example with an experiment containing two
traces that do not intersect.
Also changed exception handling so that StateSystemDisposedException is
ignored, and runtime exceptions are not caught.
Change-Id: Icbe242c7c875ebe7873b0ce88b09499444bc8e00
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25212
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Florian Wininger [Thu, 10 Apr 2014 22:36:31 +0000 (18:36 -0400)]
tmf : Add Leaf nodes to the History Tree
This patch allows the use of leaf nodes in the History Tree. A leaf node
cannot contain children, so we can save 50 x (int + long) = 600 bytes
for each node (64k).
Note that this patch changes the on-disk file format of the history tree.
FILE_VERSION is bumped accordingly.
Change-Id: I4d99727a23fcdfbdd911fd27c621354864ebfde1
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24791
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Marc-Andre Laperle [Mon, 21 Apr 2014 21:55:45 +0000 (17:55 -0400)]
[tmf] NPE when renaming a trace with no trace type when inside an experiment
Bug: 433161
Change-Id: If56a288d9b4d16df9dd827a4b016e4970eff2cc2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25330
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Tue, 15 Apr 2014 04:19:11 +0000 (00:19 -0400)]
lttng: Add filtering textbox to the event selection composites
Change-Id: I9de3eb026841b4fb7a85ba14305c569e7e9a24aa
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25019
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Wed, 23 Apr 2014 18:06:25 +0000 (14:06 -0400)]
lttng: Work around UI thread sleeping forever on Mac in tests
bug: 415992
Change-Id: I43ff1961eb02c9978a9650d39fcbff9d018e9ccd
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25443
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Wed, 23 Apr 2014 05:28:47 +0000 (01:28 -0400)]
tmf: Wait until shell is active in swtbot test
Change-Id: Ia7a4a14048ae919717cf17ea3ec095ea212c7b1e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25385
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Fri, 11 Apr 2014 21:16:59 +0000 (17:16 -0400)]
tmf: Experiment performance benchmark
Change-Id: Id1994474b2cf479e00d5482e1aa2c170e5ce4ba2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/24885
Tested-by: Hudson CI
Geneviève Bastien [Mon, 10 Mar 2014 19:38:44 +0000 (15:38 -0400)]
TMF: Add an XML model factory and classes for read-only state system components
Factory for XML model element used in a read-only context. The state attributes
will not be added to the state system.
Change-Id: Ibfb5a35ecbc723ecc12c47c6461a389d5290e918
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23160
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Mon, 21 Apr 2014 14:21:13 +0000 (10:21 -0400)]
tmf: Fix deadlock in analysis module
Deadlock occurred when renaming a trace while its analyses are ongoing.
The refresh of supplementary folders is now done outside of the analysis
synchronization lock.
It is not necessary to trigger the refresh when cancel() is called,
since it will be triggered when the analysis execution is completed
(whether it was cancelled or not).
Change-Id: Id65fe9d57fadab1d17096d7e20bb15f43d30f1c7
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25323
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Wed, 23 Apr 2014 17:31:53 +0000 (13:31 -0400)]
tmf: Temporarily disable hanging tests
Change-Id: I88abd2b8a4e411a361592fb8e6239b942e164286
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25432
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Tue, 22 Apr 2014 12:37:38 +0000 (08:37 -0400)]
lttng-tmf: Update dependecies to new tmf.ctf feature
Change-Id: I3a9e8d544cfbc988704d15e891cdd92e736bebb6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25344
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Tue, 22 Apr 2014 16:57:41 +0000 (12:57 -0400)]
tmf: Fix NullPointerException in ControlFlowView
This could happen if the state system is disposed while the BuildThread
is running.
Change-Id: I30f443eca7ef809f4abacc4ddc5e155576c500d5
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25376
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Thu, 17 Apr 2014 20:10:35 +0000 (16:10 -0400)]
tmf: Add non-null annotations to TmfTraceClosedSignal
Small change to fix #418028, until we move the whole package to
NonNullByDefault.
Change-Id: I2533604e84a484d9c9315bcb6cb6a9eaeb21f2fe
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25237
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Tue, 15 Apr 2014 21:32:17 +0000 (17:32 -0400)]
lttng: Harmonize the compiler settings among all plugins
Change-Id: I6136f619223781be3acd5b52ec4f4f47a0b3e5ce
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25093
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Tue, 15 Apr 2014 20:59:01 +0000 (16:59 -0400)]
lttng: Add script to copy the project settings from tmf.core
This will help keep consistent project setttings across plugins.
Change-Id: I20ebb8efdecf0c93d02cdb0f192fca387173b3b4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25092
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Thu, 17 Apr 2014 14:37:45 +0000 (10:37 -0400)]
tmf: Fix IOException drag and dropping trace on open experiment
The editors must be closed before deleting supplementary files.
Change-Id: I538c77dd1da3b2ccfb99986ce225e9b6a2c46f7a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25213
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Geneviève Bastien [Fri, 11 Apr 2014 20:04:58 +0000 (16:04 -0400)]
TMF: Add a unit test helper to execute protected methods
This new class contains a method to call the protected executeAnalysis of
TmfAbstractAnalysisModule to be able to test the analysis execution simply,
without having to go through an Eclipse job and needing different threads.
Change-Id: I8043f956d405b4bf7f81787e028f67601a4c3fa0
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/24897
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Wed, 26 Mar 2014 16:40:00 +0000 (12:40 -0400)]
TMF: Refresh only the supplementary files for the current trace
The method has been moved to the TmfTraceManager
Also corrected a typo in a constant name.
Change-Id: Ieaa83c525defad09499458ab48a45ef14b2baa0a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23939
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Patrick Tasse [Fri, 11 Apr 2014 21:01:56 +0000 (17:01 -0400)]
tmf: Fix Select Traces command does not refresh trace type
The trace type for an experiment trace in the Properties view did not
appear until restart.
Change-Id: I426403cca68ad650637c9d625198ce80948fb977
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/24883
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Guilliano Molaire [Tue, 15 Apr 2014 19:35:36 +0000 (15:35 -0400)]
TMF: Add an interface for strings regarding a session configuration
Creation of the lttng2.core.session package with the strings that will be used
for session configuration generation. We also externalized the bundle for the
kernel and ust plugin.
Change-Id: If51a4805064ed701a2bbf31a7f327406410f71a6
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/23422
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Alexandre Montplaisir [Wed, 16 Apr 2014 22:27:54 +0000 (18:27 -0400)]
ctf: Do not call System.gc() in CTFTrace.close()
This call is used to workaround a bug/limitation of MappedByteBuffer
(see JDK-
4724038). But CTFTrace.close() is called quite often
(for example, once per trace when closing an experiment), so it is not
the best place to call System.gc(). Instead, only call it when we are
about to delete/rename a trace.
Change-Id: Ib9b346dd04df4f64289ac9db0b976e6b70ff2551
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25174
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Geneviève Bastien [Mon, 17 Feb 2014 15:32:00 +0000 (10:32 -0500)]
lttng: Add a view for the CPU usage analysis
This view contains a tree viewer to show all threads spending time on the CPU
in the time range, and an XY chart viewer to display the total CPU of all
threads and the CPU usage of the currently selected from the tree viewer.
Change-Id: Id96fa1005623601539fad10e28949691b70ea1df
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/22522
Tested-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Wed, 16 Apr 2014 21:46:31 +0000 (17:46 -0400)]
tmf: Increase the delay in SignalThrottlerTest
This test started failing spuriously on Hudson recently, but the
delays were a bit aggressive. Increase them a bit to give the
test more chance to pass.
Change-Id: I07b6933bcedbb8e095dced0fb57e582b8ba8adff
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25171
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Fri, 11 Apr 2014 15:43:47 +0000 (11:43 -0400)]
tmf: Make CtfTmfTrace AutoCloseable
While we won't be able to make ITmfTrace closeable anytime soon (every
time you get a local reference to a trace, it'd expect you to close()
it, which is not what we want), CtfTmfTrace can benefit a bit from it,
as it helps pointing out some tests that are causing resource leaks.
Change-Id: Iaa163799390e01c9d4e996e2be1c5f160382aacd
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25091
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Thu, 10 Apr 2014 22:53:21 +0000 (18:53 -0400)]
ctf: Make CTFTrace and its reader classes AutoCloseable
Basically just replace their dipose() method with close(). This
small change allows us to benefit from the compiler warnings for
when a resource is allocated locally in a method but never disposed.
Which then allows to find leaks. Many leaks ! Many tests were leaking
CTFTraceReaders and the like, but the biggest offender is probably the
validation methods in LttngKernelTrace and LttngUstTrace: trying to
validate a non-CTF trace could potentially leak a number of file
descriptors equal to the number of files in that trace(!)
Change-Id: I7e54416b608992a14a7bfd3cd29ffb8dc3cee898
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24986
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Tue, 8 Apr 2014 21:56:38 +0000 (17:56 -0400)]
tmf: Split "CTF adaptor" into separate plugins/feature
This allows using TMF without CTF, for more flexibility and
better separation of dependencies.
Change-Id: I5d84ebcf92014601eb293b95085ef1a046e7188e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24752
Tested-by: Hudson CI
François Rajotte [Fri, 22 Feb 2013 19:34:38 +0000 (08:34 +1300)]
LTTng: CPU usage analysis from the LTTng kernel trace
This analysis creates a new state system to save the total time spent on each
CPU by the different threads. It then uses it, along with the LTTng kernel
state system to compute CPU usage statistics in a time range.
Change-Id: Ia60e95c3bace646477aef06d58bdb7ed64c32bd4
Signed-off-by: François Rajotte <francois.rajotte@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/21633
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Mathieu Rail [Fri, 14 Feb 2014 19:47:26 +0000 (14:47 -0500)]
TMF: Add an API to query analyses to obtain their requirements
Change-Id: I764291e0ca5281550a16d61a9aa8dbf5ca05d390
Signed-off-by: Mathieu Rail <contact@mathieurail.com>
Signed-off-by: Guilliano Molaire <guilliamo-jaime.molaire@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/22389
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
This page took 0.046033 seconds and 5 git commands to generate.