deliverable/tracecompass.git
10 years agoMerge branch 'master' into lttng-luna
Alexandre Montplaisir [Thu, 26 Sep 2013 19:04:14 +0000 (15:04 -0400)] 
Merge branch 'master' into lttng-luna

Conflicts:
lttng/org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/trace/TmfTraceTest.java

Change-Id: I05d77b219631978aa83b787b091337eb6e01c129

10 years agoTmf: Rework test trace stub for non-ctf traces
Geneviève Bastien [Thu, 12 Sep 2013 19:42:34 +0000 (15:42 -0400)] 
Tmf: Rework test trace stub for non-ctf traces

Change-Id: Ica47ed67824ea77d975c683fd0794ef6e6840d35
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/16423
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agoTMF: Change abstract class TmfNetworkMatchDefinition to interface
Geneviève Bastien [Tue, 27 Aug 2013 18:14:45 +0000 (14:14 -0400)] 
TMF: Change abstract class TmfNetworkMatchDefinition to interface

Change-Id: I72d8da6167491ea80ad67f9ff00c324f05e4b27d
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/15907
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>

10 years agoAdd .DS_Store to gitignore
Marc-Andre Laperle [Wed, 18 Sep 2013 22:23:45 +0000 (18:23 -0400)] 
Add .DS_Store to gitignore

This file is a hidden file created on Mac that contains extra folder information and should be ignored.

Change-Id: I4cb5cc410ada33fb6d6090a8ab0ff842ca4b3844
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16573
Tested-by: Hudson CI
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agolttng: Unit tests for the UST callstack provider
Alexandre Montplaisir [Thu, 12 Sep 2013 19:59:29 +0000 (15:59 -0400)] 
lttng: Unit tests for the UST callstack provider

Also contains a small fix to actually create the temporary folder
returned by TmfTraceManager.getSupplementaryFileDir() when it's
used in unit tests.

Change-Id: Iafed5c7099f15d36badd6d486cc0cf632df38c53
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16399
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>

10 years agolttng: Add Callstack View support for UST traces
Alexandre Montplaisir [Wed, 11 Sep 2013 14:46:08 +0000 (10:46 -0400)] 
lttng: Add Callstack View support for UST traces

UST traces using the lttng-ust-cyg-profile library will contain events
about function entries and exists. We can leverage(!) this information
to populate the generic TMF Callstack view.

For now it will only print the function addresses. Until the whole
function-names-in-the-trace debate is resolved upstream, we will provide
a mechanism to import a mapping file manually. This will come in a
separate commit.

Change-Id: I03b461ef9e863ddb6988907514e96bb3db3eaef9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16394
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>

10 years agotmf: Tweaks to CallStackStateProvider
Alexandre Montplaisir [Wed, 11 Sep 2013 20:09:36 +0000 (16:09 -0400)] 
tmf: Tweaks to CallStackStateProvider

- Add a considerEvent() method to put all checks in. This avoids
  running checks more than once per event.
- Make the abstract methods protected instead, they should not be called
  by external components.
- Add a check when popping state values if func_exit names are available.
  This makes sure the value matches the current function we are in. If it
  doesn't, log a warning in the error log. This will most definitely happen
  if there are lost events in the trace.

Change-Id: I1f2014486768c9317cbddb9556faf3e061f130b0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16393
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

10 years agoFix left-over merge conflicts
Alexandre Montplaisir [Mon, 16 Sep 2013 19:35:44 +0000 (15:35 -0400)] 
Fix left-over merge conflicts

No matter how many F5's, Eclipse won't report any error until AFTER
you pushed it to the repo. Of course.

Change-Id: I67e1c090c74f323c275b3f1226ecf4777b23a0c2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agotmf: Update TmfSchedulerBenchmark requests
Alexandre Montplaisir [Tue, 3 Sep 2013 17:55:19 +0000 (13:55 -0400)] 
tmf: Update TmfSchedulerBenchmark requests

With ff830df currently sitting in the luna branch, the constructor
that was called by the inner request classes for the benchmark
does not exist anymore. However, turns out that its signature
matches the one of the new unique constructor. This had the nasty
effect of compiling fine, but giving completely meaningless results.

Update the constructor calls so that they use the new, relevant
parameters.

Change-Id: I5e86b40d735185fddb633cfedb754080fae09986
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16145

10 years agoMerge branch 'master' into lttng-luna
Alexandre Montplaisir [Mon, 16 Sep 2013 19:07:19 +0000 (15:07 -0400)] 
Merge branch 'master' into lttng-luna

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Conflicts:
lttng/org.eclipse.linuxtools.ctf.core.tests/shared/org/eclipse/linuxtools/ctf/core/tests/shared/CtfTestTrace.java
lttng/org.eclipse.linuxtools.ctf.core.tests/traces/get-traces.xml
lttng/org.eclipse.linuxtools.tmf.core.tests/shared/org/eclipse/linuxtools/tmf/core/tests/shared/CtfTmfTestTrace.java

Change-Id: I4fa50b717809ea2cf7cc92e2a0addb159f6b9cc2

10 years agotmf: Add unit tests for lost events in CTF traces
Alexandre Montplaisir [Thu, 15 Aug 2013 20:11:32 +0000 (16:11 -0400)] 
tmf: Add unit tests for lost events in CTF traces

Adds a small UST trace with lost events to the test traces.

Change-Id: Ibe4ff49e665879d1472084aa0fdc461c2b80f872
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16144
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10 years agoBug 417036 - [TMF] Legacy import: Trace type is not set after importing custom trace
Marc-Andre Laperle [Wed, 11 Sep 2013 19:31:47 +0000 (15:31 -0400)] 
Bug 417036 - [TMF] Legacy import: Trace type is not set after importing custom trace

Change-Id: I1db889718bf5985b6b0e3ae6395dd958a399ef6e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16342
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agolttng-rcp: fix parent version pom.xml files
Bernd Hufmann [Tue, 3 Sep 2013 18:48:18 +0000 (14:48 -0400)] 
lttng-rcp: fix parent version pom.xml files

Change-Id: I4ba418ed0b9c2d06040ff7d9f6e4f0c51523895b
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16082
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agolttng-rcp: Fix installation problem from p2 update site
Bernd Hufmann [Wed, 4 Sep 2013 14:45:20 +0000 (10:45 -0400)] 
lttng-rcp: Fix installation problem from p2 update site

Change-Id: I5d719bf68d2c2c140474fc59bdb3c79c2ce8c9cf
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16114
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>

10 years agoBug 416665 - Fix Delete Supplementary Files not showing in menu
Bernd Hufmann [Thu, 5 Sep 2013 19:21:20 +0000 (15:21 -0400)] 
Bug 416665 - Fix Delete Supplementary Files not showing in menu

Change-Id: I07f7911413de0861804d43e115fc7b2c4220e703
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16169
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Fix Double state value type
Patrick Tasse [Wed, 11 Sep 2013 21:21:30 +0000 (17:21 -0400)] 
tmf: Fix Double state value type

Change-Id: Ic20b9c114a069881fbb3d30dfac6b538d57bb2b2
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/16346
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agotmf: Add a Double type for state values
Alexandre Montplaisir [Tue, 10 Sep 2013 17:17:05 +0000 (13:17 -0400)] 
tmf: Add a Double type for state values

Double has a convenient Double.NaN value that cannot be attained
by "normal" means. We'll use this as the null representation of a
DoubleStateValue.

They are stored in the history tree the same way as Long state values:
by using a fixed 64-bit entry in the Strings section. If we start
using a lot of Long and Double values, eventually it might be worth
making the "valueOrOffset" field 64-bit to save space...

Change-Id: If59677565f16eaee947b9c4724fa7df7ef2239a9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16330
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

10 years agotmf: Add copyright headers to tests
Matthew Khouzam [Fri, 30 Aug 2013 18:36:07 +0000 (14:36 -0400)] 
tmf: Add copyright headers to tests

Change-Id:I3ec67a7a3ea32ee3264d5910592486cd522058c8
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16012
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agoMerge branch 'master' into lttng-luna
Alexandre Montplaisir [Tue, 10 Sep 2013 20:33:19 +0000 (16:33 -0400)] 
Merge branch 'master' into lttng-luna

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Conflicts:
lttng/org.eclipse.linuxtools.ctf.core.tests/shared/org/eclipse/linuxtools/ctf/core/tests/shared/CtfTestTraces.java
lttng/org.eclipse.linuxtools.tmf.core.tests/shared/org/eclipse/linuxtools/tmf/core/tests/shared/CtfTmfTestTraces.java

Change-Id: Ic87bd53cb80a36b20e996f3770aca93a53b78e2f

10 years agoMerge commit '3a6b7eb9a532100a4cb85e0a81fbc8bd6e91db13' into lttng-luna
Alexandre Montplaisir [Tue, 10 Sep 2013 20:15:51 +0000 (16:15 -0400)] 
Merge commit '3a6b7eb9a532100a4cb85e0a81fbc8bd6e91db13' into lttng-luna

These conflicts are a little intense, let's fix them one merge at a time...

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Conflicts:
lttng/org.eclipse.linuxtools.ctf.core/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEventFactory.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/OpenExperimentHandler.java

Change-Id: If5589c465c299b4f2c718ae25426c5afe446fce1

10 years agotmf: Rework test trace classes
Alexandre Montplaisir [Wed, 4 Sep 2013 19:12:58 +0000 (15:12 -0400)] 
tmf: Rework test trace classes

Currently, test traces are accessed using array indices, which is simple
but scales very badly. It's also very confusing when writing a new trace
and wanting to decided which test trace to use.

Rework the test trace classes by replacing them with enum's that do the
same thing. Unfortunately, you cannot extend enums, so duplication of the
names is needed, but everything else is centralized in one place.

Change-Id: I6e598048531682428c1142c18d1760c21de5aeac
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16143
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
10 years agotmf: Move statevalue unboxing method implementations to the base classes
Alexandre Montplaisir [Tue, 10 Sep 2013 16:41:14 +0000 (12:41 -0400)] 
tmf: Move statevalue unboxing method implementations to the base classes

Made the default methods in TmfStateValue always throw exceptions.
Implementations can then override those for the types they support. Also
added some messages to the unboxing exceptions, to help when debugging.

Tweaked IntegerStateValue's so that they can be unboxed into a long,
since this will always be safe. The opposite however is not permitted.

Change-Id: I492a53e8daf1141c8aefa1c0ad1f005af8e77c30
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16294
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

10 years agoAdd target platforms for Eclipse 3.8, 4.2, 4.3 and staging (4.4)
Marc-Andre Laperle [Fri, 6 Sep 2013 21:30:34 +0000 (17:30 -0400)] 
Add target platforms for Eclipse 3.8, 4.2, 4.3 and staging (4.4)

Change-Id: Ieccda11821094229414af01505ffdb1d269b1fe7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15906
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
10 years agoBug 416578 - [TMF] Select/Deselect All buttons in delete supplementary files
Marc-Andre Laperle [Wed, 4 Sep 2013 22:52:04 +0000 (18:52 -0400)] 
Bug 416578 - [TMF] Select/Deselect All buttons in delete supplementary files

Change-Id: I47db7273801dd829807b63aa99044521892163cf
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16146
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoBug 416574 - Fix NPE when deleting supplementary files in experiment
Marc-Andre Laperle [Wed, 4 Sep 2013 20:29:47 +0000 (16:29 -0400)] 
Bug 416574 - Fix NPE when deleting supplementary files in experiment

Change-Id: I7ba4577b8cdfe64af000589ff0e354ea3aa8f05b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16139
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Bug 416187: Multiple editors opened with same trace name
Patrick Tasse [Fri, 30 Aug 2013 18:36:23 +0000 (14:36 -0400)] 
tmf: Bug 416187: Multiple editors opened with same trace name

Change-Id: Ic411244d74202208f1f7505ca09795e88915050b
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/16014
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Bug 416167: Buggy trace freezes UI when restored at start time
Patrick Tasse [Fri, 30 Aug 2013 18:25:21 +0000 (14:25 -0400)] 
tmf: Bug 416167: Buggy trace freezes UI when restored at start time

Change-Id: I48ab2f7d32542daaa054861c3eaaac9142754b94
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/16013
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Bug 415707: Trace already opened should not be re-opened
Patrick Tasse [Thu, 29 Aug 2013 17:29:33 +0000 (13:29 -0400)] 
tmf: Bug 415707: Trace already opened should not be re-opened

Change-Id: I661e2d5fc27e456aa47e91bb6edeafd51d027e59
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15983
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Update statistics providers to handle TmfLostEvents
Alexandre Montplaisir [Tue, 9 Jul 2013 22:40:43 +0000 (18:40 -0400)] 
tmf: Update statistics providers to handle TmfLostEvents

We do not want to count the "lost" events in the events total,
but it's interesting to show them like any other event type.

refs bug #408373.

Change-Id: I70956a78a2fb150fe47f259b4136332f705ef147
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14519
Tested-by: Hudson CI
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agoctf: Use "meta events" for lost events (bug 408373)
Alexandre Montplaisir [Thu, 15 Aug 2013 05:38:14 +0000 (01:38 -0400)] 
ctf: Use "meta events" for lost events (bug 408373)

Instead of sending one event object for every single event reported as
lost in a CTF trace, only send one CTFEvent indicating how many events
were lost, in which time range.

On the TMF (ctfadaptor) side, we add a new CtfTmfLostEvent class to
wrap those. This way, only one entry shows up in the Events table,
indicating how many events were lost at that point in the trace.

Change-Id: I0c70ec2d5fc77134b67426d053a4d2353e710ab8
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Signed-off-by: Jean-Christian Kouamé <kadjo.gwandy.jean-christian.kouame@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15491
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agoMerge branch 'master' into lttng-luna
Alexandre Montplaisir [Tue, 3 Sep 2013 17:41:13 +0000 (13:41 -0400)] 
Merge branch 'master' into lttng-luna

Fixes a build error with the previous -luna head.

10 years agolttng: Bug 416062: Control Flow arrows don't follow through idle state
Patrick Tasse [Wed, 28 Aug 2013 15:19:57 +0000 (11:19 -0400)] 
lttng: Bug 416062: Control Flow arrows don't follow through idle state

Change-Id: Ib42709cf5ad4aafff96091690d9f2c7477772cde
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15939
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agoall-tests: Run with less dependencies.
Alexander Kurtakov [Thu, 29 Aug 2013 12:34:22 +0000 (15:34 +0300)] 
all-tests: Run with less dependencies.

Instead of relying on sdk.[ide|feature] run the tests with
platform.[ide|feature]. There shouldn't be any difference for the tests
as what the sdk adds is the source bundles which are not used by the
tests. This should have some minimal effect to reduce our already way
too long build time.

Change-Id: I57bbc8c5ccb6e0a4575224134e184e13ae581b8f

10 years agoreleng: Update maven plugins used.
Alexander Kurtakov [Tue, 27 Aug 2013 19:09:38 +0000 (22:09 +0300)] 
releng: Update maven plugins used.

* tycho 0.18 -> 0.18.1
* jacoco-maven-plugin 0.6.2 -> 0.6.3
* maven-site-plugin 3.2 -> 3.3
* maven-project-info-reports-plugin 2.6 -> 2.7
* maven-javadoc-plugin 2.9 -> 2.9.1
* maven-antrun-plugin 1.2 ->1.7

Change-Id: I938a1081f25caeccaeec1bdcad770cd8e2ceadfb
Reviewed-on: https://git.eclipse.org/r/15910
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
IP-Clean: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
10 years agoUpdate parent poms to 2.2.0-SNAPSHOT
Jeff Johnston [Tue, 27 Aug 2013 20:43:43 +0000 (16:43 -0400)] 
Update parent poms to 2.2.0-SNAPSHOT

- update top pom.xml to properly default Kepler
- update SystemTap feature and ide plug-ins to 2.1.0

Change-Id: I5eeba68b42cf9601f523c822d7dd1a414ece762c
Reviewed-on: https://git.eclipse.org/r/15916
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
10 years agolttng: Update User Guide for time graph arrows
Patrick Tasse [Fri, 23 Aug 2013 22:08:27 +0000 (18:08 -0400)] 
lttng: Update User Guide for time graph arrows

Change-Id: I54cebd26dfc8f9f130d35fc3d842e17e57aab440
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15865
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
10 years agotmf: update developer guide for time range selection
Bernd Hufmann [Tue, 27 Aug 2013 13:04:35 +0000 (09:04 -0400)] 
tmf: update developer guide for time range selection

Change-Id: I33e2bf0003f6c8db6c0aada689bef6ba75fee7e6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15888
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agotmf: Fix for bug 415795: IndexOutOfBoundsException in time graph combo
Patrick Tasse [Fri, 23 Aug 2013 20:10:28 +0000 (16:10 -0400)] 
tmf: Fix for bug 415795: IndexOutOfBoundsException in time graph combo

Change-Id: I8e89eaf0b86b40039a320ba98192198415e5d540
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15821
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

10 years agoMerge remote-tracking branch 'eclipse/master' into luna
Matthew Khouzam [Thu, 22 Aug 2013 18:28:25 +0000 (14:28 -0400)] 
Merge remote-tracking branch 'eclipse/master' into luna

Change-Id: Idf06191ebb9d99bcd1eb93e673d9e58f7d686525
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agoTMF: Add tmf.ui unit tests for project model
Geneviève Bastien [Thu, 15 Aug 2013 20:30:18 +0000 (16:30 -0400)] 
TMF: Add tmf.ui unit tests for project model

Change-Id: I4524bf0cdc472815d8e9ddf2049469bbaca1b291
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/15518
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agoTmf: Trace synchronization using network events
Geneviève Bastien [Thu, 17 Jan 2013 16:52:32 +0000 (11:52 -0500)] 
Tmf: Trace synchronization using network events

* Event matching infrastructure allow to create dependencies between 2 events.
* Network events (TCP packets) are matched for LTTng 2.0 traces, using one of
  two techniques: fgiraldeau's dynamic probe addon module, or an experimental
  branch with additional data on net_* tracepoints of lttng-modules.
* Traces in an experiment are synchronized using the Fully Incremental Convex
  Hull algorithm.
* A trace's timestamps can be modified using Timestamp Transforms classes.
  TmfTimestampTransformLinear takes a slope and/or an offset.
* Once synchronized, the trace is copied, without its supplementary files
  so the state system is regenerated with synchronized time.
* A new synchronization view shows statistics about the synchronization.
* The synchronization information is kept at the experiment level to be able
  to view synchronization's statistics after first sync.
* Synchronization formula for a trace is saved in supplementary files.
* Unit tests for trace synchronization.

Change-Id: I1971fcd856254fc5654c609d6146904cd3dfd25c
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/14056
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agoTMF: Add a getTrace() method to TmfTraceElement
Geneviève Bastien [Thu, 15 Aug 2013 20:29:19 +0000 (16:29 -0400)] 
TMF: Add a getTrace() method to TmfTraceElement

This will return the corresponding opened and instantiated trace from the
trace manager.

Change-Id: Ief78119ee4d75906c881ce2347a420d50b072399
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/15480
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

10 years agolttng: fix NPE in channel dialog without kernel tracer (bug 415617)
Bernd Hufmann [Wed, 21 Aug 2013 19:26:30 +0000 (15:26 -0400)] 
lttng: fix NPE in channel dialog without kernel tracer (bug 415617)

It also fixes the enablement and selection of the per PID/UID
buffer buttons for the case a kernel tracer is not available.

Change-Id: I01ce496914c70f5330beab478c0ce4528cf8df59
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15754
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agolttng: select loglevel by default for UST events (bug 415589)
Bernd Hufmann [Wed, 21 Aug 2013 15:03:23 +0000 (11:03 -0400)] 
lttng: select loglevel by default for UST events (bug 415589)

Change-Id: Ib949b855224070e9060fecee31931b3a7eefa0f2
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15719
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agolttng: fix empty string handling in dialogs (bug 415580)
Bernd Hufmann [Wed, 21 Aug 2013 14:02:54 +0000 (10:02 -0400)] 
lttng: fix empty string handling in dialogs (bug 415580)

Change-Id: I9839ec7d8238556809cad48a39e44d72736c4544
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15713
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years ago[lttng] fix for NPE when creating a tracing session (bug 415571)
Bernd Hufmann [Wed, 21 Aug 2013 12:52:29 +0000 (08:52 -0400)] 
[lttng] fix for NPE when creating a tracing session (bug 415571)

Change-Id: I1676c120680a3afb9b9952f6990c0663a76be1d4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15700
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agotmf: Fix missing @since annotation in TmfTraceType
Patrick Tasse [Wed, 21 Aug 2013 16:00:55 +0000 (12:00 -0400)] 
tmf: Fix missing @since annotation in TmfTraceType

Change-Id: I779247fd226c031aa6f683255de92096a6c5f3b5
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15740
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agolttng: fix JUnit tests failures introduced by commit 44908fc1
Bernd Hufmann [Wed, 21 Aug 2013 00:58:44 +0000 (20:58 -0400)] 
lttng: fix JUnit tests failures introduced by commit 44908fc1

Change-Id: I3b9e71360e53c4e1f3df2a8d78d53b3a240b50b2
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15682
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agolttng: update enable channel for UST buffer type
Bernd Hufmann [Wed, 7 Aug 2013 17:24:57 +0000 (13:24 -0400)] 
lttng: update enable channel for UST buffer type

- Update implementation as preparation for LTTng Tools 2.3 which
has a different default buffer type for UST.
- Add JUnit test
- Update user guide

Change-Id: I42901637579015366eb6f09a71c9e9540e1c86ef
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15424
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agolttng: Fix Resources view event list
Patrick Tasse [Fri, 5 Jul 2013 17:39:21 +0000 (13:39 -0400)] 
lttng: Fix Resources view event list

With the fix to the event iterator (42acdc2), it is no longer required
to add 'null' events in the zoomed event list for all empty ranges to
hide underlying events in the full range event list. This simplifies the
building of event list in the Resources view.

If required, 'null' events are added at the start or end of the list to
properly identify the time range that the list represents.

Adds an interface to TimeEvent to split an event while keeping it's
class type and value.

Some trace specific fields are moved out of the generic TimeGraphEntry.

Change-Id: I6b3058227e64e456601b40fa2ea6c0afe3886f14
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/14326
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agotmf: import bug fix
Matthew Khouzam [Tue, 20 Aug 2013 13:10:49 +0000 (09:10 -0400)] 
tmf: import bug fix

fixed an error using the api introduced with "file->open"

Change-Id: I9c9ef366f43708ec826642f106047dc0dd088f21
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15652
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
10 years agolttng: improve import from control view (bug 412337)
Bernd Hufmann [Thu, 15 Aug 2013 19:02:36 +0000 (15:02 -0400)] 
lttng: improve import from control view (bug 412337)

- Import dialog selects by default all traces
- Import dialog selects default project with name Remote. It will
be created if needed.
- For Kernel traces trace type "LTTng Kernel" will be set
- For UST trace trace type "Generic CTF Trace" will be set
- Trace name in project will be constructed with information about
session, kernel or ust, ust buffer type (UID or PID) etc by
concatenating the names of directories within a session.
- For network traces now the Batch Import Trace Wizard will be opened
instead of the legacy trace import wizard

Change-Id: Ife7c57868d2a4f2b5cbc6b1b6461a677b3998ea8
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15543
Tested-by: Hudson CI
10 years agotmf: Fix Call Stack view event list
Patrick Tasse [Fri, 9 Aug 2013 18:40:41 +0000 (14:40 -0400)] 
tmf: Fix Call Stack view event list

With the fix to the event iterator (42acdc2), it is no longer required
to add 'null' events in the zoomed event list to hide underlying events
in the full range event list. This simplifies the building of event list
in the Call Stack view.

If required, 'null' events are added at the start or end of the list to
properly identify the time range that the list represents.

Change-Id: I90ab8f91cc6991472a9ea5196a8e5cbee5a55565
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/14599
Tested-by: Hudson CI
10 years agotmf: Fix StringIndexOutOfBoundsException in time graph
Patrick Tasse [Mon, 19 Aug 2013 16:48:40 +0000 (12:48 -0400)] 
tmf: Fix StringIndexOutOfBoundsException in time graph

The Utils.formatNs method is fixed to not throw an exception when the
parameter is Long.MIN_VALUE.

The TimeGraphViewer is modified to ensure the time range variables are
kept to 0 when there is no valid time range set (including when the
requested time range is invalid as in [+inf,-inf]). The range is
prevented from going out of bounds due to adjustment for the minimum
time interval.

The TimeGraphControl is modified to disable mouse time selection and
status line updates when the time range is 0.

Change-Id: I62dfe520913d160dac37526f1c02396c34f67830
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15614
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agoRevert all luna temporary annotation changes
Alexandre Montplaisir [Fri, 16 Aug 2013 17:36:17 +0000 (13:36 -0400)] 
Revert all luna temporary annotation changes

Since we don't track APIs in lttng-luna any more, we can simply
ignore changes to the @since annotations. This restores the
temporary changes to their values in the master branch.

This basically reverts the following commits:
685e3d341bc2c596e8704bcb6bca6cd63d2b79b2
917413a824acd67dac8eb28813b3fea90ffbfd99
07aefd357773dec741bd0b63bc5415b93eb442c4
50e1c13755b7b45cbc6c297f57b9fc3791e73024
c28d4f0f84617b13192726fa98cf62e557a9beff
9a81de068037e28095e7edfe1ff29422aa24cfe3
6f7efeb71f1a18a00a57260ca79e317fdaf100d7

Change-Id: I665b2e792a1cdba6fee55005b10c5fc874f94b4f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15554
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

10 years agolttng: Disable API checking in the luna branch
Alexandre Montplaisir [Fri, 16 Aug 2013 17:30:51 +0000 (13:30 -0400)] 
lttng: Disable API checking in the luna branch

Instead of always faking @since annotations to 3.0 in the luna branch,
it was deemed much more simple to simply ignore all API problems in
the Luna branch. That way all @since 2.x annotation will remain as-is,
without throwing errors when one checkouts that branch.

Instead of having to revert dozens and dozens of temporary commits when
we utlimately merge this branch back into master, only this one will
have to be reverted.

Change-Id: Ic37543462b677357b2051326d273d8504086db54
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15553
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

10 years agoFix some warnings when compiling with 4.4 targetting 4.3.
Marc-Andre Laperle [Thu, 15 Aug 2013 18:27:17 +0000 (14:27 -0400)] 
Fix some warnings when compiling with 4.4 targetting 4.3.

Change-Id: Ic6268a479c5e720ce9f59867973d20611b1b10f3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15514
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoTmf: Benchmark for the request scheduler
Simon Delisle [Fri, 12 Jul 2013 17:21:28 +0000 (13:21 -0400)] 
Tmf: Benchmark for the request scheduler

The benchmark has three tests. The first one is the latency (time
between the creation of the request and the beginning of its execution).
The second one is the average waiting time for a request. The last one
is the total completion time.

Change-Id: Icc8cb47111221aaefb871faab97bb49c8bdf0b03
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14520
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoMerge branch 'master' into lttng-luna
Alexandre Montplaisir [Fri, 16 Aug 2013 17:20:53 +0000 (13:20 -0400)] 
Merge branch 'master' into lttng-luna

Conflicts:
lttng/org.eclipse.linuxtools.ctf.core.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.lttng2.core.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.lttng2.kernel.core.tests/META-INF/MANIFEST.MF

Change-Id: Ifee9ab371bcff8cda48806947848f496fbec81c1

10 years agolttng: Set API builder settings as project settings
Alexandre Montplaisir [Tue, 13 Aug 2013 23:01:35 +0000 (19:01 -0400)] 
lttng: Set API builder settings as project settings

This is pretty much the same as the default project settings, but
if somebody somehow changed the settings for their workspace, they
will at least get the one we expect for the plugins here.

Change-Id: I77a371123e4eff73e70bba4a4e4404c2f19ebe10
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15450
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10 years agoCtf: add removeIterator() to prevent OutOfMemory exception (Bug 414998)
Simon Delisle [Wed, 14 Aug 2013 18:35:31 +0000 (14:35 -0400)] 
Ctf: add removeIterator() to prevent OutOfMemory exception (Bug 414998)

Change-Id: I0a42a1b4d7eb14b37bc97471dba1b4aae44d2f4c
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15487
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agotmf: Fix ArrayIndexOutOfBoundsException in time graph control
Patrick Tasse [Tue, 13 Aug 2013 15:37:27 +0000 (11:37 -0400)] 
tmf: Fix ArrayIndexOutOfBoundsException in time graph control

Change-Id: I4da4146e47f969c788cfe0096c3ca4ece891fa6e
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15436
Tested-by: Hudson CI
10 years agotmf: Add follow arrow forward and backward actions to time graph
Patrick Tasse [Mon, 12 Aug 2013 20:43:49 +0000 (16:43 -0400)] 
tmf: Add follow arrow forward and backward actions to time graph

Also add these actions to the Control Flow view local tool bar.

Change-Id: Ied39dfb813f4dfd4ec7822754978283cbbcf6335
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15388
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agolttng: Temporary lttng-luna annotation update
Alexandre Montplaisir [Tue, 13 Aug 2013 18:01:47 +0000 (14:01 -0400)] 
lttng: Temporary lttng-luna annotation update

Change-Id: I639a022ccba71e3484ff4d1e6b44f12dc4ba571d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoMerge branch 'master' into lttng-luna
Alexandre Montplaisir [Tue, 13 Aug 2013 17:55:10 +0000 (13:55 -0400)] 
Merge branch 'master' into lttng-luna

Conflicts:
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomXmlTrace.java

Change-Id: I27e699fdbbe30dc669601ec8e25cce7fd37b83e4

10 years agotmf: Make sure the request scheduler threads end gracefully
Alexandre Montplaisir [Mon, 12 Aug 2013 21:00:46 +0000 (17:00 -0400)] 
tmf: Make sure the request scheduler threads end gracefully

Upon disposing a trace, the timer thread for the request executor
was not being stopped. While this was not a problem for normal Eclipse
usage, it becomes a problem when trying to run headless methods in the
tree that use the request scheduler: since some user threads were still
running, the JVM would not close and stay there waiting forever.

Additionally, mark the timer thread as a daemon thread. This is a safeguard
in case a trace is never disposed. This will let the JVM shutdown correctly
even if there are any of those threads still running.

As per the Thread.setDaemon() Javadoc:
  Marks this thread as either a daemon thread or a user thread. The Java
  Virtual Machine exits when the only threads running are all daemon threads.

Change-Id: I04e628cfd444ee86293f262017c948642619f661
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15387
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Add time graph viewer option to AbstractTimeView
Patrick Tasse [Wed, 31 Jul 2013 17:56:08 +0000 (13:56 -0400)] 
tmf: Add time graph viewer option to AbstractTimeView

The AbstractTimeView is modified to add the possibility to be used with
a time graph viewer only, when the time graph combo and tree viewer are
not needed.

The Resources view is also updated to use the time graph viewer option.

Change-Id: I95b557070c9fb412649d56428ae314731ec165aa
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15022
Tested-by: Hudson CI
10 years agolttng: Add arrows in Control Flow view
Patrick Tasse [Mon, 5 Aug 2013 19:02:08 +0000 (15:02 -0400)] 
lttng: Add arrows in Control Flow view

Show arrows to follow CPU execution in Control Flow view.

Implement a Hide Arrows toggle action to the time graph control.

Change-Id: Ic6e5020f8a7895e482bda9e45c8333dde79e7022
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15147
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
10 years agotmf: Don't change event table selection on right-click
Patrick Tasse [Fri, 9 Aug 2013 18:18:11 +0000 (14:18 -0400)] 
tmf: Don't change event table selection on right-click

When right-clicking on a item that is within the selection range, the
selection should not be changed to the clicked item. This would prevent
any context menu actions from operating on a selection range.

Change-Id: I3eb06471a3dd80cc3683fcdc965fd36a67ce86a8
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15298
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agolttng rcp: add tracing rcp "file->open" buttons
Matthew Khouzam [Tue, 18 Jun 2013 01:40:41 +0000 (21:40 -0400)] 
lttng rcp: add tracing rcp "file->open" buttons

there are two buttons added:
* File-> Open Trace File...
* File-> Open Trace Directory...

The traces will be opened into the default directory and
automatically select the trace type. If the trace viewer is
ambiguous, it will pop-up a window to help.

The trace is then opened.

The reason that we have open file and open directory is since
some traces are directories.

Also, the code path of regular trace file opening has been re-routed
through this patch to unify code.

Change-Id: I28df30745bf47b64ce0ab0f15a8d425fef4dd91a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13863
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agotmf: improve validation for custom parsers
Matthew Khouzam [Tue, 30 Jul 2013 22:03:35 +0000 (18:03 -0400)] 
tmf: improve validation for custom parsers

text: is the file a file, readable and have at least 1 byte of data.
xml: validate the xml. Added some XML validation tests.

Change-Id: If2144f15abb564156f8a84cfcdee9497a6f418cd
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14997
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

10 years agotmf: Remove redundant tests in TmfTraceTest
Alexandre Montplaisir [Wed, 7 Aug 2013 20:04:04 +0000 (16:04 -0400)] 
tmf: Remove redundant tests in TmfTraceTest

Since the consolidation of constructors, some of these tests now
do the exact same thing as others, so they can be removed.

Change-Id: I0bd4db596b45e4f4662d19226448e294e99fdefa
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15225
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

10 years agotmf: Make time graph combo item heights dynamically linked
Patrick Tasse [Fri, 2 Aug 2013 20:38:44 +0000 (16:38 -0400)] 
tmf: Make time graph combo item heights dynamically linked

The height of items in the time graph control are dynamically linked to
the height of their corresponding tree items. This ensures alignment
when tree items have different heights due to custom fonts or images.

Change-Id: I84a2394f6d5673bec1af9a2858cc0a31a76f2753
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15107
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

10 years agoFix extra merge conflict from previous merge
Alexandre Montplaisir [Wed, 7 Aug 2013 20:23:54 +0000 (16:23 -0400)] 
Fix extra merge conflict from previous merge

Change-Id: Id679bf9185b2aadc39c1bfc8a61e92011a5e8d57
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoTemporary lttng-luna annotation update
Alexandre Montplaisir [Wed, 7 Aug 2013 19:52:30 +0000 (15:52 -0400)] 
Temporary lttng-luna annotation update

Change-Id: I271cfce16e2f22e277be95b63e5dc104c7ed6ddf
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoMerge branch 'master' into lttng-luna
Alexandre Montplaisir [Wed, 7 Aug 2013 19:45:05 +0000 (15:45 -0400)] 
Merge branch 'master' into lttng-luna

Conflicts:
lttng/org.eclipse.linuxtools.ctf.parser/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.ctf.parser/pom.xml
lttng/org.eclipse.linuxtools.gdbtrace.core.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.gdbtrace.core.tests/pom.xml
lttng/org.eclipse.linuxtools.gdbtrace.core/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.gdbtrace.core/pom.xml
lttng/org.eclipse.linuxtools.gdbtrace.help/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.gdbtrace.help/pom.xml
lttng/org.eclipse.linuxtools.gdbtrace.ui.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.gdbtrace.ui.tests/pom.xml
lttng/org.eclipse.linuxtools.gdbtrace.ui/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.gdbtrace.ui/pom.xml
lttng/org.eclipse.linuxtools.gdbtrace/feature.xml
lttng/org.eclipse.linuxtools.gdbtrace/pom.xml
lttng/org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/trace/TmfTraceTest.java

Change-Id: Iccbebfaa9e02141429f46e0bf7d973b1e6120779

10 years agolttng: Adjust the file name of the RCP archives
Alexandre Montplaisir [Fri, 2 Aug 2013 21:29:39 +0000 (17:29 -0400)] 
lttng: Adjust the file name of the RCP archives

Add the build date/time to the file name and remove the SNAPSHOT part
of the version number for (and only for) tracing.rcp.product. This will
be used as the versioning for builds made from the Git tree.

Also added the location of the archive files to the README.

Change-Id: I5a2e24fb1f82b0de05f36168bbbbeffec919e250
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15109
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agoTMF: Add utility class for common UI functionalities
Geneviève Bastien [Mon, 5 Aug 2013 18:51:32 +0000 (14:51 -0400)] 
TMF: Add utility class for common UI functionalities

The displayErrorMsg(...) function has been moved to this class to avoid having
to rewrite it in every class needing it.

Change-Id: Icea4be2af3fbb5312417c92de7f24b235e1cf675
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/15144
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agotmf: Consider compilation warnings to be errors in tmf.core
Alexandre Montplaisir [Thu, 27 Jun 2013 18:39:40 +0000 (14:39 -0400)] 
tmf: Consider compilation warnings to be errors in tmf.core

Now that we have eliminated all compiler warnings in the code,
we could turn on "-Werror" to make sure no new warnings are
introduced (Hudson CI would fail building any Gerrit patch that
has warnings).

NLS warnings remain as warnings, so that they can be suppressed
in Messages or constants classes.

"rawtype" and "unchecked" warnings for generic types remain as
warnings. Fixing some of those would require an API break.
Additionally, one of those warnings would require a major refactoring
of the ITmfLocation's, so this might remain as-is for the forseeable
future.

Finally, "Unecessary thrown exception" had to remain as a warning
because of TmfTrace.buildStateSystem(). The fix would require an API
break (but this is already fixed in the 3.0 branch, see commit e27acc1).

Change-Id: I810762a82ed4d0da2241ae943b1da1c2e96888d0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14998
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Consider compilation warnings to be errors in tmf.ui
Alexandre Montplaisir [Thu, 27 Jun 2013 21:52:46 +0000 (17:52 -0400)] 
tmf: Consider compilation warnings to be errors in tmf.ui

Now that we have eliminated all compiler warnings in the code,
we could turn on "-Werror" to make sure no new warnings are
introduced (Hudson CI would fail building any Gerrit patch that
has warnings).

NLS warnings remain as warnings, so that they can be suppressed in
Messages or constants classes.

This patch landed one week too late to prevent deprecation warnings
from entering the code... so usage of deprecated methods methods remain
as warnings in tmf.ui.

Change-Id: I9bea653ef2cef3435273647e6de249076a64478a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14207
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agolttng: Consider compilation warnings to be errors
Alexandre Montplaisir [Thu, 27 Jun 2013 18:13:51 +0000 (14:13 -0400)] 
lttng: Consider compilation warnings to be errors

Now that we have eliminated all compiler warnings in the code,
we could turn on "-Werror" to make sure no new warnings are
introduced (Hudson CI would fail building any Gerrit patch that
has warnings).

Only the NLS warnings remain as warnings, so that they can be
suppressed in Messages or constants classes.

Change-Id: I53394af9add34f3757f726ab773d445c92d8523e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14206
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agoctf: Update project compiler settings
Alexandre Montplaisir [Thu, 27 Jun 2013 17:55:22 +0000 (13:55 -0400)] 
ctf: Update project compiler settings

Now that we have eliminated all compiler warnings in the code,
we could turn on "-Werror" to make sure no new warnings are
introduced (Hudson CI would fail building any Gerrit patch that
has warnings).

NLS warnings remain as warnings, so that they can be
suppressed in Messages or constants classes.

This only applies to ctf.core and ctf.core.tests. For ctf.parser,
since Maven also looks at generated code, we have relaxed the settings
to ignore any error/warning coming from the generated Antlr code,
over which we have no control.

Change-Id: I31422d54af59bd96f75d2c2ff130a58c8e9ad5f6
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14205
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agolttng: Partially revert 9017d8.
Roland Grunberg [Thu, 1 Aug 2013 20:33:45 +0000 (16:33 -0400)] 
lttng: Partially revert 9017d8.

Plugin/Feature versions cannot change major version number on a
non-major release. Revert all plugins that went from 1.0.0 to 2.1.0.

Change-Id: Id3ff0976c381cb92e3d58a0128a24c5838def8ae
Reviewed-on: https://git.eclipse.org/r/15069
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agolttng: change root folder name of RCP to traceviewer
Bernd Hufmann [Tue, 6 Aug 2013 14:09:43 +0000 (10:09 -0400)] 
lttng: change root folder name of RCP to traceviewer

Change-Id: Ia0865358429211196780490a95a207bbfae9e1fc
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15169
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agolttng: Only build the RCP on architectures that matter in 2013
Alexandre Montplaisir [Mon, 5 Aug 2013 22:21:20 +0000 (18:21 -0400)] 
lttng: Only build the RCP on architectures that matter in 2013

Drop the Solaris and PowerPC builds. This leaves us with:
- Windows 32/64
- Linux 32/64
- Mac 64 (Cocoa)

Change-Id: Ie6af27a1c75bb6a7bfcdad6b328d66cb06dc8d92
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15150
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Clean up constructors in TmfTraceStub
Alexandre Montplaisir [Tue, 30 Jul 2013 19:07:47 +0000 (15:07 -0400)] 
tmf: Clean up constructors in TmfTraceStub

It also fixes some of those constructors not behaving as expected,
like having unused parameters and such.

Change-Id: I1aec63d90427ea43fd4e9edb3f9eb499e79488e2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14995
Tested-by: Hudson CI
10 years agotmf: Clean up tmf.core.trace package
Alexandre Montplaisir [Wed, 17 Jul 2013 21:33:35 +0000 (17:33 -0400)] 
tmf: Clean up tmf.core.trace package

Move some notions out of this packages and into their own:
- tmf.core.trace.indexer (for the ITmfTraceIndexer interface)
- tmf.core.trace.indexer.checkpoint (for the checkpoint indexer)
- tmf.core.trace.location (for ITmfLocation and its gang)

This will prepare the grounds for the upcoming on-disk B-tree indexer.

Change-Id: I48bee4b30ddd17d32f4d7373e6391c248a9687e9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14634
Tested-by: Hudson CI
10 years agolttng: More luna annotation updates
Alexandre Montplaisir [Mon, 5 Aug 2013 20:34:20 +0000 (16:34 -0400)] 
lttng: More luna annotation updates

This builder only runs when it feels like it, so it's hard to
catch them all at once...

Change-Id: I4c9265a09bda5f561ea8893078d03b894b21f3e3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agotmf: Fix failing unit test after merge
Alexandre Montplaisir [Fri, 2 Aug 2013 20:12:05 +0000 (16:12 -0400)] 
tmf: Fix failing unit test after merge

The worst part is that this will conflict again when we merge the
patch to remove the ExecutionType from the API...

Change-Id: Id89504d192f310a33ff701aaa10a28d7cea34c14
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15104
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Use TmfNanoTimestamp instead of CtfTmfTimestamp
Patrick Tasse [Thu, 1 Aug 2013 17:04:37 +0000 (13:04 -0400)] 
tmf: Use TmfNanoTimestamp instead of CtfTmfTimestamp

Change-Id: Ia996c87c1504be4cdc31943cc69d2fd980da85ea
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15046
Tested-by: Hudson CI
10 years agoTMF: Add vertical events (links) to time graph view
Geneviève Bastien [Wed, 10 Jul 2013 15:07:41 +0000 (11:07 -0400)] 
TMF: Add vertical events (links) to time graph view

Add a new interface ILinkEvent and class TimeLinkEvent, for events that occur
between two entries instead of in one entry only.
Add the getLinkList method to AbstractTimeGraphView to get the links for a
given zoom level and other methods to propagate those changes to the time graph
control

Change-Id: I5be30c4a27a10645a57ebfc13b4d1c71a55e06bd
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/15105
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

10 years agolttng: Temporary lttng-luna annotation update
Alexandre Montplaisir [Fri, 2 Aug 2013 19:47:54 +0000 (15:47 -0400)] 
lttng: Temporary lttng-luna annotation update

Change-Id: Icbe5485f28c8adcbf59a718547d0c7a7893a2251
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoMerge branch 'master' into lttng-luna
Alexandre Montplaisir [Fri, 2 Aug 2013 19:44:40 +0000 (15:44 -0400)] 
Merge branch 'master' into lttng-luna

Conflicts:
lttng/org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/request/TmfCoalescedDataRequestTest.java
lttng/org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/request/TmfCoalescedEventRequestTest.java
lttng/org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/request/TmfDataRequestTest.java
lttng/org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/request/TmfEventRequestTest.java
lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedDataRequest.java
lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedEventRequest.java
lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/request/TmfDataRequest.java
lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/request/TmfEventRequest.java

Change-Id: Ia68c066bf257571861d97403d8b6ae4270c47b70

10 years agotmf: Avoid throwing exception in TmfTrace.buildStatistics()
Alexandre Montplaisir [Thu, 1 Aug 2013 22:09:04 +0000 (18:09 -0400)] 
tmf: Avoid throwing exception in TmfTrace.buildStatistics()

Replace the exception with an IStatus return value, similar to what was
done with .buildStateSystem().

Also handle the actual values that are returned in the caller (the
traceOpened signal handler) so that any eventual errors are logged.

Change-Id: Ia3b84aa6b195dc897193971e780058411050b59f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15072
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

10 years agotmf: Fix formatting of negative time stamp values
Patrick Tasse [Wed, 31 Jul 2013 18:24:14 +0000 (14:24 -0400)] 
tmf: Fix formatting of negative time stamp values

Change-Id: I3a3313d2477507dd0380c77bdee4aa3de5fe49bd
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15026
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

10 years agolttng: Add a README file with build instructions
Alexandre Montplaisir [Mon, 29 Jul 2013 20:12:09 +0000 (16:12 -0400)] 
lttng: Add a README file with build instructions

Users might want to build the RCP version manually, and the commands
are not documented anywhere yet.

Change-Id: I45f61a1c80fdc081941f2e2c980fd704f7621cf9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14942
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Add TmfNanoTimestamp
Patrick Tasse [Fri, 26 Jul 2013 21:33:32 +0000 (17:33 -0400)] 
tmf: Add TmfNanoTimestamp

Change-Id: Iff7693286f0968fc6da03de7e796e390f9b8241d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/14900
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

10 years agoLTTng: Show the buffer type in the domain property view
Simon Delisle [Tue, 30 Jul 2013 20:02:46 +0000 (16:02 -0400)] 
LTTng: Show the buffer type in the domain property view

Change-Id: I518cdb438c2e2fc6a853fe0e012c3776e41e4459
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15017
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agoctf: Fix buffer overflow traces from crashing batch import
Matthew Khouzam [Wed, 26 Jun 2013 19:10:18 +0000 (15:10 -0400)] 
ctf: Fix buffer overflow traces from crashing batch import

Buffer overflows are caused here by synthetic traces that aim to
behave maliciously. The parser already handles these attacks, but
the BufferOverflowException will cause the batch import trace wizard
to stop scanning. This fix catches buffer overflows in the validation
and warns that the error is serious.

Change-Id: Ie9156cfaac0944763e3d1dc798c42f1d64753560
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14088
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agotmf: Remove the concept of block size in event requests
Alexandre Montplaisir [Tue, 30 Jul 2013 17:17:52 +0000 (13:17 -0400)] 
tmf: Remove the concept of block size in event requests

This hasn't been used in a while, so we can remove all references
to it.

Change-Id: I62cc5626836c4ec7a81980e1b284c3e3fa402da0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14984
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
This page took 0.048533 seconds and 5 git commands to generate.