Bernd Hufmann [Tue, 27 May 2014 20:03:47 +0000 (16:03 -0400)]
lttng-guide: Update LTTng Tracer Control chapter
The chapter was also moved on chapter level higher to make it more
visible.
Change-Id: Idb6989637b064c1289fdf5c9eab2bb03806825c5
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27408
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27418
Bernd Hufmann [Mon, 26 May 2014 20:18:07 +0000 (16:18 -0400)]
lttng-control: Fix parsing and display of loglevels (bug 429193)
Change-Id: If42746ae361c4e9fe6210c2e1c9f1b253060f58e
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27310
Tested-by: Hudson CI
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27409
Alexandre Montplaisir [Mon, 26 May 2014 19:05:26 +0000 (15:05 -0400)]
tmf: Make CtfTmfTestTrace null-friendly
Change-Id: I1450151fa8562ea52f66e7f1ad67c66c4bd354f9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/27307
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 [Fri, 23 May 2014 17:31:34 +0000 (13:31 -0400)]
tmf: Fix histogram label background to be theme-friendly
The histogram text controls are now labels and no longer have their
background color set so that they can naturally inherit from their
parent's background whenever the color changes due to active/inactive
view part according to the theme.
The histogram filler area now takes its color from the parent
composite's current background color whenever it is redrawn.
Change-Id: I81ea92863186749dac4e11002b29899d80c4b97a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/27214
Tested-by: Hudson CI
Alexandre Montplaisir [Wed, 21 May 2014 22:26:47 +0000 (18:26 -0400)]
lttng: Sort the entries in the Resources View
Make the ResourcesEntry Comparable, so that the view can specify
how they should be sorted when entries are added to the list.
This also works for entries that are being added while the trace
is being read ("live" reading).
Change-Id: I5a99652b5b755ea9f2e76e32167ad0d15b76a320
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/27071
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Vincent Perot [Wed, 7 May 2014 13:45:56 +0000 (09:45 -0400)]
tmf: Add percentage on Statistics view
Change-Id: I70a565611e230330bc147bb92575d6606aa89311
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26144
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Fri, 23 May 2014 19:51:49 +0000 (15:51 -0400)]
tmf: Make TmfTraceType static
Can avoid calling getInstance() for every code that uses it.
Change-Id: Ic239ab59c5b2c9bfff2bc9ff0dc38877792a9b45
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/27221
Tested-by: Hudson CI
Patrick Tasse [Thu, 22 May 2014 15:56:01 +0000 (11:56 -0400)]
tmf: Fix custom parser wizard preview table
Since the preview table is built using a temporary trace file with a
fixed name, its persistent index was not being rebuilt when the parser
and/or the preview input was changed.
The preview table is now built using a trace class implementation that
is overridden to use the in-memory checkpoint indexer.
Change-Id: I5cd04f26dea7ab005823317fed68130477bf8e0d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/27124
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Matthew Khouzam [Fri, 23 May 2014 20:03:05 +0000 (16:03 -0400)]
tmf: hide Batch import wizard
Change-Id: I3d2b0f9187e3870cece8e37addaca3e3aeacdd19
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27222
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Geneviève Bastien [Fri, 9 May 2014 02:05:49 +0000 (22:05 -0400)]
TMF: Display a help text for analyses from the helper
When an analysis cannot be executed, it used to show the same message as if the
trace was not opened. Now it displays a verbose message explaining why the
analysis cannot be executed.
Change-Id: I97f1a79ac5c76362ebb9764b95fc8a7af99f963b
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/26295
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Geneviève Bastien [Fri, 9 May 2014 02:04:53 +0000 (22:04 -0400)]
TMF: Validate if an analysis can be executed using the requirements
Change-Id: If4b51af84c4fc3dc7541629b69e950b0cc54cb00
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/26294
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Geneviève Bastien [Thu, 8 May 2014 17:21:36 +0000 (13:21 -0400)]
TMF: Strike-out analyses that cannot be executed
Also add an interface, ITmfStylecProjectModelElement to allow elements to
change the style of their text.
Change-Id: Iab0fa42b91539d5dbdd4a69917a2b35b3346ca05
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26293
Tested-by: Hudson CI
Bernd Hufmann [Thu, 15 May 2014 14:47:32 +0000 (10:47 -0400)]
tmf: internalize the trace import wizards
Change-Id: I8f0fdf0c47da543f2545b81a77ee7f66cfe33e56
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26673
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Thu, 15 May 2014 14:17:49 +0000 (10:17 -0400)]
tmf: Move ImportTraceWizard messages in correct package
Change-Id: I90434653da549e94f5ea10940822930a41f7d20d
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26672
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Fri, 23 May 2014 17:43:42 +0000 (13:43 -0400)]
Downgrade to Tycho 0.20.0 to fix build
Tycho 0.21.0-SNAPSHOT seems to fragile right now for us
to use for the Luna release. We needed 0.21 to work around
a bug in IcedTea but we can work around this issue by setting
the SWT_GTK3=0 environment variable when executing the build
instead of having it in the pom.xml. This is less convenient
but more prudent in order to stabilize the build.
Change-Id: I33fc64552c73a0cd8f2eac12fa27afab6af92557
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27213
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Mon, 10 Mar 2014 21:39:31 +0000 (17:39 -0400)]
TMF: Remove XML header classes, they are not useful anymore
With the XmlUtils utility methods, there is no added value to wrap them in
a class and they are accessible from everywhere.
Change-Id: I66d15423ef4dadc18a77caef6af2d63faa426173
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/25584
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 21 May 2014 21:11:13 +0000 (17:11 -0400)]
ctf: Rename Stream* classes to CTFStream*
"Stream" will become very confusing with java.util.stream.Stream when
Java 8 comes. Rename those classes to CTFStream, for better namespacing.
Change-Id: Ifb239af0366553472463c50d8e6ed899e002f880
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/27067
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Tue, 20 May 2014 22:33:38 +0000 (18:33 -0400)]
lttng: Restrict version of jdt.annotation in Tycho target platform
This works around the problem of jdt.annotation 2.0 being used which
requires Java 8.
Change-Id: I042709d044e40c3eb1220c2cc2a5c5687c06c102
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26967
Tested-by: Hudson CI
Bernd Hufmann [Fri, 16 May 2014 19:35:42 +0000 (15:35 -0400)]
tmf: Use LinkedHashMap in state system Attribute class
By doing that the order in which sub-attributes are added is preserved.
The call stack view showed incorrect stack frames because of that.
Change-Id: I43c344d9d2667de625f9f776d76ab1bff144598a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26759
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Thu, 15 May 2014 17:57:39 +0000 (13:57 -0400)]
tmf: Support tree structure in SelectSupplementaryResourcesDialog
Change-Id: I62ccb5d80ace123621e2df4ddcd58dbf2fbf4d8e
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/26736
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Fri, 16 May 2014 13:42:07 +0000 (09:42 -0400)]
lttng: Use specific antlr version in targets
To work around bug in Kepler PDE with 0.0.0 versions
not using the latest version.
Change-Id: I34cfd5334e3d1bc4e510f3fa694cb52f0398d8b6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26729
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Tue, 13 May 2014 18:01:05 +0000 (14:01 -0400)]
tmf: Cleanup Statistics View classes a bit
- Remove useless interfaces
- Change protected fields to private, make some of them static
- Use Immutable List/Set where applicable
Change-Id: Ia351e820ea6d5988074d227d369db9f821374026
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26476
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Thu, 15 May 2014 13:45:56 +0000 (09:45 -0400)]
tmf: Remove unneeded null check in SyntheticEventProviderStub
Change-Id: I7df4764683fbb5dbdfdbea3309276930454a0dc9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26648
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Fri, 2 May 2014 00:34:10 +0000 (20:34 -0400)]
tmf: Improve Delete Supplementary Files command
- Make all checkbox elements checked by default in the dialog
- Allow multiple selection as long as at least one of the selected
elements has supplementary files
- Update trace handler to support both traces and experiments, and
delete the experiment handler
- Ensure supplementary files for a particular trace are only shown once
in the list (e.g. same trace selected both under Traces folder and under
experiment, or two experiments selected that contain the same trace)
- Ensure only traces and experiments that have supplementary resources
to delete have their editors closed, and that their project is refreshed
only once.
Change-Id: I91f823c67c15da699c815fdf9daf9cfec5082ec9
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25858
Tested-by: Hudson CI
Andrew Ferrazzutti [Wed, 14 May 2014 21:23:02 +0000 (17:23 -0400)]
Lttng: Log test assert failures.
Add messages to two assert statements that otherwise produce
identical output.
Change-Id: I05e2b077a49fc9c9b21c9d394f9d25adbc261969
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/26551
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Alexandre Montplaisir [Thu, 8 May 2014 18:47:34 +0000 (14:47 -0400)]
tmf: Mark ITmfEventRequest.handleData's parameter as NonNull
It seems every single event request implementation out there does
a null check on the event it receives in handleData(). TmfEventThread
already does a null check before sending the event to this method,
so it can be marked @NonNull, which avoids a bunch of redundant checks.
Change-Id: I1d54d5f3f5a08af150ab0a6011d075a366db4b48
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26247
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Mon, 21 Apr 2014 21:06:25 +0000 (17:06 -0400)]
[tmf] Close event editors on project delete and close
Bug: 433091
Change-Id: I4ede4e232c3d84b89042a3a8e1ed8a0b366ef0bf
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25377
Tested-by: Hudson CI
Bernd Hufmann [Mon, 12 May 2014 20:19:07 +0000 (16:19 -0400)]
tmf/lttng: git-ignore generated screenshots directory of swtbot tests
Change-Id: I4d27e332074859384b421760484f39d9392e8400
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26404
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Geneviève Bastien [Wed, 5 Mar 2014 14:59:17 +0000 (09:59 -0500)]
tmf: Add new interface to get pre-defined data types
This way, other trace classes may implement this interface and be
queried on the events it might contain. This will be useful for analyses
who can query traces to know whether or not they might contain the
events it needs to execute.
This can be used by many traces. The TmfEventTypeCollectionHelper
class should help extract useful information from the set of events.
At least until Java 8 comes out.
Change-Id: I1758c0d99b2b4d4b91f5b7fa3ee14b82c325dede
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/22937
Tested-by: Hudson CI
Bernd Hufmann [Mon, 12 May 2014 20:19:07 +0000 (16:19 -0400)]
lttng: Remove all unnecessary gitignore files
"bin" and "target" can be set in the top-level .gitignore, which
leaves no need to repeat such files in the plugins' directories.
Change-Id: I6f3cb4259587aae199a3ca1418eeeee80c07b7df
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26410
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
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>
This page took 0.045196 seconds and 5 git commands to generate.