deliverable/tracecompass.git
9 years agorcp: update branding plug-in for correct application reference
Bernd Hufmann [Thu, 23 Oct 2014 13:46:57 +0000 (09:46 -0400)] 
rcp: update branding plug-in for correct application reference

Change-Id: I71758aeb92c48297df898dfb20c3001a39f1e20e
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35401
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: fix concurrency issue in analyses modules (bug 447434)
Bernd Hufmann [Wed, 15 Oct 2014 18:26:36 +0000 (14:26 -0400)] 
tmf: fix concurrency issue in analyses modules (bug 447434)

The access of member fTrace in class TmfAbstractAnalysesModule was
not thread-safe. The attribute was set to null when cancelling
the analyses (e.g. in the UI thread).

With this patch this attribute will be accessed (read and write)
using a synchronization lock and it will be checked for null
references before using it.

Additionally, this patch takes care of count down initialization
latches in case of cancellation.

Change-Id: Id632f128242ce85b04b7acdb79264ea466497947
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35347
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoctf: Commit the generated ANTLR files to the source tree
Alexandre Montplaisir [Tue, 14 Oct 2014 21:51:30 +0000 (17:51 -0400)] 
ctf: Commit the generated ANTLR files to the source tree

This means users who just pulled the git tree won't need to run
a Maven build manually to generate them. Which in turn, completely
removes the need for installing m2e or such in their Eclipse.

They are now only built when the "ctf-grammar" profile is enabled.
Rebuilding always produces a diff: the first line of the generated
files contains a timestamp, and there is some randomness in the
generated comments. So it's better to only do it on-demand.

Also added a copyright header to these files, since they didn't
seem to have one.

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

9 years agoFix cast warnings (errors) when targetting 4.5
Marc-Andre Laperle [Wed, 22 Oct 2014 17:28:35 +0000 (13:28 -0400)] 
Fix cast warnings (errors) when targetting 4.5

Change-Id: I39acc21f45f474e09366b3610bcff3d538c8e3ad
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35355
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoChange linuxtools to tracecompass in generate-grammar script
Simon Marchi [Mon, 20 Oct 2014 20:58:01 +0000 (16:58 -0400)] 
Change linuxtools to tracecompass in generate-grammar script

Change-Id: Ida3bec0759fafeb88d7cae73ed3f2353535d0e90
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/35352
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoRemove the API Tooling builders and natures
Alexandre Montplaisir [Fri, 17 Oct 2014 21:05:06 +0000 (17:05 -0400)] 
Remove the API Tooling builders and natures

Disable the API tooling, at least until we have an actual release
and can start tracking APIs again.

Change-Id: Ia0ac03ef4b2b181fa31795242c96ca400fbdef5f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Fix sequence diagram unit tests
Alexandre Montplaisir [Fri, 17 Oct 2014 18:51:26 +0000 (14:51 -0400)] 
tmf: Fix sequence diagram unit tests

The extension point location in the test facility was using
Activator.PLUGIN_ID, which was renamed to "org.eclipse.tracecompass",
but we left the extension point IDs to "org.eclipse.linuxtools" for
now. Fix the references accordingly and re-enable the tests.

Change-Id: I40e2d4d7021f55043f5f51b2472a07bec01eb5d5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoRename remaining packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Mon, 29 Sep 2014 20:15:23 +0000 (16:15 -0400)] 
Rename remaining packages to org.eclipse.tracecompass.*

that being the packages in the "alltests" and "examples" plugins.

Change-Id: Ia9d28cefaed3d2974ba67e6902eb04763ba75413
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agobtf: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Fri, 26 Sep 2014 20:11:32 +0000 (16:11 -0400)] 
btf: Rename packages to org.eclipse.tracecompass.*

Change-Id: I56194cc3c13c57c315aedd300efaf49bf0e57058
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoctf: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Fri, 26 Sep 2014 20:01:18 +0000 (16:01 -0400)] 
ctf: Rename packages to org.eclipse.tracecompass.*

Change-Id: Ia069f48869616df6661c12b616be124333758e1d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agogdbtrace: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Thu, 25 Sep 2014 20:55:14 +0000 (16:55 -0400)] 
gdbtrace: Rename packages to org.eclipse.tracecompass.*

Change-Id: Iee74553bdb6ab5a5d1b50405f749d229575eea2c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agolttng: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Thu, 25 Sep 2014 20:48:37 +0000 (16:48 -0400)] 
lttng: Rename packages to org.eclipse.tracecompass.*

Change-Id: If67346f1e38c173ff74379e18738e606864d287f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agopcap: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Thu, 25 Sep 2014 20:36:52 +0000 (16:36 -0400)] 
pcap: Rename packages to org.eclipse.tracecompass.*

Change-Id: I8c1497ea665bcf7904408deec3fd7071e76be942
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agorcp: Rename plugins to org.eclipse.tracecompass
Alexandre Montplaisir [Thu, 25 Sep 2014 20:33:30 +0000 (16:33 -0400)] 
rcp: Rename plugins to org.eclipse.tracecompass

Change-Id: I29f43aa20166dd5a6af4cd5660eb0b430fd3a9c3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoss: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Thu, 25 Sep 2014 20:30:33 +0000 (16:30 -0400)] 
ss: Rename packages to org.eclipse.tracecompass.*

Change-Id: I2fcf70501c26510d0215852c99025c801051a715
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Wed, 24 Sep 2014 21:23:30 +0000 (17:23 -0400)] 
tmf: Rename packages to org.eclipse.tracecompass.*

Change-Id: I7072126d88e93cf44b0a1169c5090edb626b73c5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoMove alltests plugin to the Trace Compass namespace
Alexandre Montplaisir [Mon, 29 Sep 2014 19:01:27 +0000 (15:01 -0400)] 
Move alltests plugin to the Trace Compass namespace

Change-Id: I9ab5a7ee50bae2b9871ba3f4cd9e5a4d7eafb78b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoMove misc plugins to Trace Compass namespace
Alexandre Montplaisir [Fri, 26 Sep 2014 22:07:59 +0000 (18:07 -0400)] 
Move misc plugins to Trace Compass namespace

"examples", "lttng.help" and "lttng.testing" plugins

Change-Id: I20b5bb985988444e7f8e1c72117d9f3cf36e4997
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoMove RCP plugins to the Trace Compass namespace
Alexandre Montplaisir [Wed, 24 Sep 2014 19:59:34 +0000 (15:59 -0400)] 
Move RCP plugins to the Trace Compass namespace

Change-Id: I99b76ca059ea50ecb341b9928f5b4e992e9004e6
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Wed, 24 Sep 2014 18:00:03 +0000 (14:00 -0400)] 
tmf: Move plugins to the Trace Compass namespace

We'll keep the name "TMF" for now to refer to the core framework.

Change-Id: Ifb221f2c8239feb0eb0e2e308cc24e094c6501e1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoss: Move plugins to Trace Compass namespace
Alexandre Montplaisir [Tue, 23 Sep 2014 22:21:48 +0000 (18:21 -0400)] 
ss: Move plugins to Trace Compass namespace

Change-Id: I6cfee9874e9893d13374f05b139e73a6c8478fd7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agopcap: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Tue, 23 Sep 2014 22:08:30 +0000 (18:08 -0400)] 
pcap: Move plugins to the Trace Compass namespace

Change-Id: I8effa07aba182ee4796d007355e0f31e1b38b356
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agolttng: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Tue, 23 Sep 2014 20:59:53 +0000 (16:59 -0400)] 
lttng: Move plugins to the Trace Compass namespace

Change-Id: Iba52d6b728b235e76f1ce1fc0eb9a96c2205c702
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agogdbtrace: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Tue, 23 Sep 2014 18:30:49 +0000 (14:30 -0400)] 
gdbtrace: Move plugins to the Trace Compass namespace

Change-Id: I3407ed9c13052b2959c9446bedd4ceee52c10610
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoctf: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Mon, 22 Sep 2014 22:16:41 +0000 (18:16 -0400)] 
ctf: Move plugins to the Trace Compass namespace

Change-Id: Ice502abf91920f0e5128193cff92e11b92847b72
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agobtf: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Mon, 22 Sep 2014 21:19:49 +0000 (17:19 -0400)] 
btf: Move plugins to the Trace Compass namespace

Change-Id: I0723494466881a9d17ff9eb717554da130b47a11
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoRename parent, releng and target modules to tracecompass
Alexandre Montplaisir [Mon, 22 Sep 2014 21:00:21 +0000 (17:00 -0400)] 
Rename parent, releng and target modules to tracecompass

Change-Id: I28e21dba39eacd4d28bb2845c9692a03ca5fecd3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoUpdate README to reflect new commands
Alexandre Montplaisir [Mon, 22 Sep 2014 20:46:54 +0000 (16:46 -0400)] 
Update README to reflect new commands

Change-Id: Ic663674af40a4b2cde7a397b10d9a7f4b92eb22c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoMake Maven build possible with the new repo
Alexandre Montplaisir [Mon, 22 Sep 2014 18:22:07 +0000 (14:22 -0400)] 
Make Maven build possible with the new repo

This required:
- Importing some settings from Linux Tools's top-level pom.xml
- Maven'ifying our target plugin, and adding some missing elements
  (Wikitext, Antlr sources)

Change-Id: Id3db846ad90f1e6cfec97fe3a5189d41ae9b1b27
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Add 'last modified' and 'size' properties for traces
Patrick Tasse [Fri, 26 Sep 2014 14:55:05 +0000 (10:55 -0400)] 
tmf: Add 'last modified' and 'size' properties for traces

Change-Id: I037bd0eb7f6abb91fa73bcf3ca6fae93986f0eb3
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33983
Tested-by: Hudson CI
9 years agotmf: Remove unnecessary System.gc since we now have SafeMappedByteBuffer
Marc-Andre Laperle [Thu, 16 Oct 2014 19:08:10 +0000 (15:08 -0400)] 
tmf: Remove unnecessary System.gc since we now have SafeMappedByteBuffer

Change-Id: Ifa1297448a68e4903dcea7c21ee13bd5b8ed8c20
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35004
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Fix source location on import from archive
Patrick Tasse [Wed, 15 Oct 2014 20:21:08 +0000 (16:21 -0400)] 
tmf: Fix source location on import from archive

Change-Id: I0f8a89b2c50d09745d71bada384d896fe6db01b1
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/34954
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng: More performance improvements to the Resources view
Patrick Tasse [Tue, 14 Oct 2014 18:50:23 +0000 (14:50 -0400)] 
lttng: More performance improvements to the Resources view

In the Resources view, the CPU Status states are further split, when the
current thread switches mid-state, into sub-states by a drawing overlay.

There was no limit to the number of sub-states that this overlay
produces. It should be limited to at most one sub-state per pixel.

Furthermore the vertical bar delimiting these sub-states should not be
drawn when the sub-state is smaller than a pixel, otherwise the bars
can block the underlying state color.

Change-Id: I26fa3ef27ebbde41481fb210c702ddbf22a10773
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/34883
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng: Some performance improvements to the Resources view
Marc-Andre Laperle [Fri, 10 Oct 2014 22:30:29 +0000 (18:30 -0400)] 
lttng: Some performance improvements to the Resources view

On Linux/GTK, calls to getSystemColor, getFontMetrics and gc.stringExtent are
quite expensive. This patch minimizes those calls. As a future improvement,
we should look into optimizing calls to TimeGraphControl.getXForTime because it
calls Control.getSize() which is slow as well.

Change-Id: I63460e305d8de458dbee4b6cb162b6cf04e77054
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34743
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Fix some leaks in the sequence diagram
Marc-Andre Laperle [Thu, 9 Oct 2014 23:47:31 +0000 (19:47 -0400)] 
tmf: Fix some leaks in the sequence diagram

Change-Id: Id2a1be23d7f3119e259df221df037c0813127e26
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34674
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Offset traces ui
Matthew Khouzam [Wed, 6 Aug 2014 19:07:03 +0000 (15:07 -0400)] 
tmf: Offset traces ui

Change-Id: Ifbcfa32cddfaa21e6c526169e9b2b3a8f06fcf72
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30689
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-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: lttngControl: fix: way to retrieve probe and function information
Jonathan Rajotte Julien [Thu, 28 Aug 2014 20:48:23 +0000 (16:48 -0400)] 
tmf: lttngControl: fix: way to retrieve probe and function information

Change-Id: Ie47ac49b58de165397be92b23161f90faf43772d
Signed-off-by: Jonathan Rajotte Julien <jonathan.rajotte-julien@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32440
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Cache the result of gc.getFontMetrics in callstack view
Marc-Andre Laperle [Wed, 8 Oct 2014 20:37:21 +0000 (16:37 -0400)] 
tmf: Cache the result of gc.getFontMetrics in callstack view

This is a major performance bottleneck on Linux/GTK when a lot of elements are
drawn.

Change-Id: I5259a8910f08b6602801f97fc200b00b7c55c4a1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34605
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoTMF: Change API for synchronization files' folder
Geneviève Bastien [Tue, 9 Sep 2014 16:50:19 +0000 (12:50 -0400)] 
TMF: Change API for synchronization files' folder

Some clients of experiment need a relative path, others need the absolute
path, the getSynchronizationFolder method is unified and the constant becomes
private.

Change-Id: I02688b55ec047820fbe756a269cf4bde3721a9b7
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/33133
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agoXML state system: Add timestamp field to the current eventfields
Naser Ezzati [Thu, 2 Oct 2014 20:52:07 +0000 (16:52 -0400)] 
XML state system: Add timestamp field to the current eventfields

It is sometimes required to get also the timestamp of the events.

Change-Id: I013d91cbba4732245b1981b4e88f9c7648d05ec8
Signed-off-by: Naser Ezzati <n.ezzati@polymtl.ca>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/34471
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agotmf: Fix copy trace handler enabled in unrelated dialogs
Patrick Tasse [Fri, 3 Oct 2014 20:23:43 +0000 (16:23 -0400)] 
tmf: Fix copy trace handler enabled in unrelated dialogs

Ctrl-C no longer opens the Copy Trace dialog from another dialog when
the current selection in the Project Explorer is a trace element.

The same fix is applied to the copy experiment handler.

Change-Id: I4eb9df578d2227b74312d7fe660b2a3caf2b2627
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/34415
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoRevert "XML state system: Add timestamp field to the current eventfields."
Alexandre Montplaisir [Mon, 6 Oct 2014 20:44:20 +0000 (16:44 -0400)] 
Revert "XML state system: Add timestamp field to the current eventfields."

This reverts commit d4507ad7c220770cfc698db62874fb46b79888db.

This introduced a new field in a public interface, which is a major API break.
Let's revert it for now, and get it into Trace Compass.

Change-Id: I2bc0ebe90f438ca72a1156878ed0f300c5492183
Reviewed-on: https://git.eclipse.org/r/34470
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agolttng: Include the "alltests" plugin in the sync-settings script
Alexandre Montplaisir [Tue, 16 Sep 2014 19:07:27 +0000 (15:07 -0400)] 
lttng: Include the "alltests" plugin in the sync-settings script

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

9 years agostatesystem: Remove duplicate empty state creation
Alexandre Montplaisir [Mon, 8 Sep 2014 21:00:54 +0000 (17:00 -0400)] 
statesystem: Remove duplicate empty state creation

The transient state already creates a "null" value for every state
attribute that is added. No need for the attribute tree to do an
explicit insertion immediately after (which gets ignored any way).

That attribute tree should also keeps its paws off the transient state,
but that's a different problem.

Change-Id: Ib77e16d67375e65c495b9ff0b73c5cee78eddf02
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/33076
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoXML state system: Add timestamp field to the current eventfields.
Naser Ezzati [Thu, 2 Oct 2014 20:52:07 +0000 (16:52 -0400)] 
XML state system: Add timestamp field to the current eventfields.

It is sometimes required to get also the timestamp of the events.

Change-Id: I7166f0c27431696e93432a47cb7f3f36c5277382
Signed-off-by: Naser Ezzati <n.ezzati@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/34317
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotracing rcp: save workspace during shutdown
Bernd Hufmann [Fri, 3 Oct 2014 17:00:54 +0000 (13:00 -0400)] 
tracing rcp: save workspace during shutdown

Change-Id: Ifa4413602ca8543997dccea82764508ff7f429be
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34405
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
9 years agotmf: add SWTBot tests for collapsing feature (disabled for now)
Bernd Hufmann [Tue, 23 Sep 2014 13:50:38 +0000 (09:50 -0400)] 
tmf: add SWTBot tests for collapsing feature (disabled for now)

Change-Id: I67952062a74c744ca7ef8abce474bb92ebfa328c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33846
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng: Annotate 3.2 APIs
Alexandre Montplaisir [Wed, 1 Oct 2014 21:13:42 +0000 (17:13 -0400)] 
lttng: Annotate 3.2 APIs

Many APIs were not actually part of 3.1, mark them @since 3.2 instead.

Change-Id: Idf17db685b4c0ed57c7e772f2718bdb0bfeffc03
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/34242
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agotmf: use in memory index for sequence diagram test cases
Bernd Hufmann [Wed, 1 Oct 2014 15:34:25 +0000 (11:34 -0400)] 
tmf: use in memory index for sequence diagram test cases

This makes sure that each test class starts with its own index and
doesn't reuse an existing index on disk.

Change-Id: I3d4497603ed1ea79bc2cdf6e055f43767d4dcbb4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34219
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
9 years agoFix temp directory path when workspace path contains a space
Marc-Andre Laperle [Tue, 30 Sep 2014 22:29:24 +0000 (18:29 -0400)] 
Fix temp directory path when workspace path contains a space

Change-Id: I9066def7c55d8c324cfe30e82bf320a107bb67e0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34167
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Fix missing trace properties
Patrick Tasse [Tue, 30 Sep 2014 18:21:04 +0000 (14:21 -0400)] 
tmf: Fix missing trace properties

The 'Trace properties' category (e.g. CTF properties of an opened trace)
was missing due to change of trace path to OS String.

Change-Id: I5592f4e979e86f2a33225065832c685e7020aad6
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/34152
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng/tmf: Update guides for collapsing feature
Bernd Hufmann [Tue, 30 Sep 2014 17:29:05 +0000 (13:29 -0400)] 
lttng/tmf: Update guides for collapsing feature

Change-Id: I25b858c6cc61a462662a4c5471528085d1cd7ed6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34149
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng: Fix alltests pom version number
Marc-Andre Laperle [Tue, 30 Sep 2014 20:21:33 +0000 (16:21 -0400)] 
lttng: Fix alltests pom version number

Change-Id: I49b4826ad6d14b4354dbe3031af838f20fc805dc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34156
Tested-by: Hudson CI
9 years agoTMF: Do not add synchronization data for traces from the same host
Geneviève Bastien [Mon, 29 Sep 2014 16:40:59 +0000 (12:40 -0400)] 
TMF: Do not add synchronization data for traces from the same host

Change-Id: Ia45d7568a80a731672cee1d33211451d55a5c922
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/34067
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoSupport incremental update of Call Stack view
Patrick Tasse [Mon, 22 Sep 2014 19:42:51 +0000 (15:42 -0400)] 
Support incremental update of Call Stack view

Change-Id: I3fcbd3569a28b16f53755cb346c2b59741509222
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33720
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: support collapse filter in events table
Bernd Hufmann [Mon, 25 Aug 2014 18:22:57 +0000 (14:22 -0400)] 
tmf: support collapse filter in events table

Change-Id: Iaa87955affa8004764a92e078c51cd854850f44a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32350
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: add filter for collapsing of events in event table
Bernd Hufmann [Sat, 20 Sep 2014 00:38:39 +0000 (20:38 -0400)] 
tmf: add filter for collapsing of events in event table

Change-Id: I2641ff7df5039bdd294846f315a6955687aac84c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32349
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: add interface for collapsing of events
Bernd Hufmann [Fri, 19 Sep 2014 23:49:40 +0000 (19:49 -0400)] 
tmf: add interface for collapsing of events

Change-Id: Ic29ea3b588bc1c3633968a1ef7c086eced1161d5
Reviewed-on: https://git.eclipse.org/r/32348
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng: Do not use java.io.tmpdir property (/tmp) when possible
Marc-Andre Laperle [Mon, 22 Sep 2014 19:57:28 +0000 (15:57 -0400)] 
lttng: Do not use java.io.tmpdir property (/tmp) when possible

This is problematic when multiple instances of Eclipse are running
(builds).
Instead, we can create a "temporary" folder under the Eclipse workspace
so
that each Eclipse instances are independant. This also has the advantage
of
the directory being cleared every time a mvn clean is executed or when a
JUnit launch configuration is used inside Eclipse.

Change-Id: I3c7fb17d4b36e7ba5fe054ea9d81667c465e75b6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33728
Tested-by: Hudson CI
9 years agoBump features to 3.2.0-SNAPSHOT.
Alexander Kurtakov [Fri, 26 Sep 2014 21:51:54 +0000 (00:51 +0300)] 
Bump features to 3.2.0-SNAPSHOT.

Change-Id: I08a5bd3b0a3892c66537997668dedd36e88474c0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/33993

9 years agolttng/tmf: Minor user and developer guide updates
Bernd Hufmann [Wed, 24 Sep 2014 19:08:19 +0000 (15:08 -0400)] 
lttng/tmf: Minor user and developer guide updates

Change-Id: Ibba6c22d5e39742761ba6b131366ab5686109393
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33851
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf xml: Add the possibility to display value delta in XML XY views
Geneviève Bastien [Mon, 22 Sep 2014 16:36:35 +0000 (12:36 -0400)] 
tmf xml: Add the possibility to display value delta in XML XY views

For now, the xml xy viewer only showed the value of an attribute as is. This
addition allows to show also the difference between the values at timestamp t
and timestamp t-1.

Change-Id: I35e001054def796bd2da19f50d491bf5ad8921af
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/33705
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoTMF: Address comments on the trace stub for unit test patch
Geneviève Bastien [Mon, 22 Sep 2014 19:32:46 +0000 (15:32 -0400)] 
TMF: Address comments on the trace stub for unit test patch

Some comments were mentioned in patch https://git.eclipse.org/r/#/c/21265
They are addressed in this patch.

Change-Id: I6dc940d5a5fcb7e920c934ce0b6a86adc8fbf860
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/33718
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Support locale in timestamp format and time preferences
Patrick Tasse [Thu, 18 Sep 2014 18:36:21 +0000 (14:36 -0400)] 
tmf: Support locale in timestamp format and time preferences

Bug: 439917
Change-Id: I14b90bed61ed0f6174f27852fa7fad72bfa5d41e
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33576
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoTMF xml: Add toString() methods to the XML model classes
Geneviève Bastien [Mon, 22 Sep 2014 15:20:26 +0000 (11:20 -0400)] 
TMF xml: Add toString() methods to the XML model classes

And a message when throwing some exceptions so that we have more information
when debugging XML analyses.

Change-Id: I935f5727a612f9c4b96d5d8ade998ed4b673d3ba
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/33699
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoswtbot/tmf: pull out opentrace to SWTBotUtil
Matthew Khouzam [Wed, 17 Sep 2014 20:47:33 +0000 (16:47 -0400)] 
swtbot/tmf: pull out opentrace to SWTBotUtil

Change-Id: Id4f97e45a336b4025cec0d097f0a167b87c11c57
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33518
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoTMF: Add trace stub for TMF unit tests
Geneviève Bastien [Mon, 31 Mar 2014 18:34:44 +0000 (14:34 -0400)] 
TMF: Add trace stub for TMF unit tests

This new trace type uses a custom XML definition and converts custom XML
events to TmfEvents, where the fields and their values are defined through the
XML fields. To illustrate, here is the content of each type of event:

CustomXmlEvent: fields = "a | b", values = "1 | abd"

would transpose to this

Development trace: a = 1, b = "abd"

This type of trace will be useful to unit test analyses involving LTTng kernel
and UST traces for instance.

Change-Id: I41ac7206c1a54088c998d551a4174f2184b05f5b
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/21265
Tested-by: Hudson CI
9 years agolttng: Cleanup the state system tests
Alexandre Montplaisir [Wed, 10 Sep 2014 19:51:56 +0000 (15:51 -0400)] 
lttng: Cleanup the state system tests

Only use @Before/@After (not the -Class variants), and make it more
clear which class is responsible for which resources.

Change-Id: Ic1e2d0b7edbdac5eec250bd2d4a6cbacc9181843
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/33222
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Updates to the lttng.alltests plugin
Alexandre Montplaisir [Wed, 10 Sep 2014 22:27:26 +0000 (18:27 -0400)] 
tmf: Updates to the lttng.alltests plugin

- Split RunAllTests in RunAllCoreTests and RunAllUITests
- Move other Run*Tests to their own packages
- Add a default launch configuration for the RunAllCoreTests, to specify
  to not run in the UI thread. This is required to avoid problems like
  Job's never being disposed.

Change-Id: I085b4a1ae87635b28a9d0c0ba7fcd7f1dfe303b4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/33223
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: remove some returns from finally blocks
Matthew Khouzam [Fri, 19 Sep 2014 17:52:21 +0000 (13:52 -0400)] 
tmf: remove some returns from finally blocks

Change-Id: Id0c9caa3c54f1ed168c63347e4ee3f5d473d78e6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33621
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoTMF: Fix a bug where the label of an XML XY chart is not considered
Geneviève Bastien [Tue, 2 Sep 2014 17:45:52 +0000 (13:45 -0400)] 
TMF: Fix a bug where the label of an XML XY chart is not considered

Change-Id: I055395e8ab91b0551f54d91fb54ef71d9df4c1a7
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/32728
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: add xml wizard ui rudimentary test
Matthew Khouzam [Tue, 22 Jul 2014 15:02:02 +0000 (11:02 -0400)] 
tmf: add xml wizard ui rudimentary test

Change-Id: I5c51bd14819f3cffd3d8ca7824721da8235fba72
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30258
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoctf: make CTFTraceReader access streams in consistent way
Matthew Khouzam [Fri, 29 Aug 2014 18:47:12 +0000 (14:47 -0400)] 
ctf: make CTFTraceReader access streams in consistent way

make all accesses pass by getTopStream() accessor

Change-Id: I41b21289d8d7bff7bcf56273545e2c1190af1eef
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32566
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Bug 443994: Contextual menu defines conflicting delete handlers
Patrick Tasse [Wed, 17 Sep 2014 18:25:13 +0000 (14:25 -0400)] 
tmf: Bug 443994: Contextual menu defines conflicting delete handlers

Change-Id: I5affff5ef2a3812057637c51e1a1278d72e2146b
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33511
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agotmf: Additional SWTBot tests for the standard import wizard
Marc-Andre Laperle [Wed, 3 Sep 2014 04:45:56 +0000 (00:45 -0400)] 
tmf: Additional SWTBot tests for the standard import wizard

Change-Id: Id776ed33768ddc640c8ba5f6c23c6e1ecd79ab33
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33480
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Change time graph mouse wheel behavior
Patrick Tasse [Tue, 22 Jul 2014 19:48:35 +0000 (15:48 -0400)] 
tmf: Change time graph mouse wheel behavior

The mouse wheel now scrolls up or down while over the time graph states
area. Zooming in or out can be performed by holding the Ctrl key while
scrolling the mouse wheel.

Change-Id: Ia544bb498a7a6ed9b50eb36f7cf3e2a6bb300400
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30288
Tested-by: Hudson CI
9 years agoSquashed commit of missing user guide updates from stable-3.0
Matthew Khouzam [Thu, 29 May 2014 19:00:18 +0000 (15:00 -0400)] 
Squashed commit of missing user guide updates from stable-3.0

tmf: update user guide to have UST section

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27504
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Update introduction and installation of user guide

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27402
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
tmf-guide: Introduction chapter about TMF built-in views and viewers

Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28065
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
tmf: Developer guide update about trace types

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/27952
Tested-by: Hudson CI
Reviewed-on: https://git.eclipse.org/r/33466
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Change-Id: I217ae1c2c0729f4064745fee5dbe487bfc5d82ff
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33467
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agolttng: Disable "Value of parameter is not used" warning
Alexandre Montplaisir [Tue, 16 Sep 2014 18:58:45 +0000 (14:58 -0400)] 
lttng: Disable "Value of parameter is not used" warning

Recent versions of JDT in Eclipse 4.5 now include exception
parameters in the "value of parameter is not used" setting. This
throws upwards of 400 errors with our current settings.

Bug #439750 explains the problem. Bug #441933 tracks the addition
of a new UI preference to handle exception parameters separately
from method parameters.

For now, we can set the setting to Ignore to make Eclipse integration
builds useable. Once the two bugs above are fixed, we can revert
this commit.

Change-Id: I5db6322eb6d7ae3c2bb98ee983d0824e0e8fc9e2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/33469
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Add cycles time format and delta format in time graph
Patrick Tasse [Thu, 21 Aug 2014 19:27:39 +0000 (15:27 -0400)] 
tmf: Add cycles time format and delta format in time graph

Change-Id: Iaa0e750971bf7b06a6209f7528e8c293be816d9c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33339
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Remove unused references to old Batch Import command
Alexandre Montplaisir [Mon, 15 Sep 2014 22:07:22 +0000 (18:07 -0400)] 
tmf: Remove unused references to old Batch Import command

Change-Id: Iee1e58a4194ba9e55f7ce33f7939ec21b13ed6ab
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/33408
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoFix pom.xml parent version position
Jeff Johnston [Thu, 11 Sep 2014 21:59:02 +0000 (17:59 -0400)] 
Fix pom.xml parent version position

- Moving version after parent id allows us to use a simple
  sed script to remove -SNAPSHOT before an official release

Change-Id: I4baab3daca4adec37b9aed6b24caba75fd6cdd4d
Reviewed-on: https://git.eclipse.org/r/33287
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
9 years agoAdd missing license headers.
Andrew Ferrazzutti [Mon, 15 Sep 2014 19:31:39 +0000 (15:31 -0400)] 
Add missing license headers.

Change-Id: I941980fe78669bcf8728c42660486869b41dac93
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/33394
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
9 years agotmf: Correctly dispose sub-components of a partial history backend
Alexandre Montplaisir [Wed, 10 Sep 2014 20:14:29 +0000 (16:14 -0400)] 
tmf: Correctly dispose sub-components of a partial history backend

This will avoid lingering "event handler" threads when using partial
state histories.

Change-Id: I6044faa1c41a634e605161858b03ffb37b9e97ac
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/33221
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Provide (internal) API to customize Import Trace Wizard Page
Marc-Andre Laperle [Fri, 29 Aug 2014 17:59:25 +0000 (13:59 -0400)] 
tmf: Provide (internal) API to customize Import Trace Wizard Page

Change-Id: I0471a64f000c06fcbe274aaa765154c1cec76503
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32560
Tested-by: Hudson CI
9 years agoctf: Reduce complexity of CTFTrace#openStreamInput
Matthew Khouzam [Fri, 29 Aug 2014 18:37:22 +0000 (14:37 -0400)] 
ctf: Reduce complexity of CTFTrace#openStreamInput

Change-Id: Id9ffa4ddffbe5e44640c5703af9ca1581bbfb74b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32563
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agotmf: Update User Guide for custom parser category support
Patrick Tasse [Mon, 8 Sep 2014 21:17:52 +0000 (17:17 -0400)] 
tmf: Update User Guide for custom parser category support

Change-Id: Idce7640b0e8ff0475dc0ffaf4e29a74475730124
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33079
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agotmf/ctf: lower memory usage of events with fixed length strings
Matthew Khouzam [Thu, 21 Aug 2014 14:52:16 +0000 (10:52 -0400)] 
tmf/ctf: lower memory usage of events with fixed length strings

Change-Id: I87149b8cb1c94e8fea8a90801cd254d9c3dc02ea
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32075
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agoCTF: Add some documentation on CTF test traces
Geneviève Bastien [Fri, 29 Aug 2014 15:55:58 +0000 (11:55 -0400)] 
CTF: Add some documentation on CTF test traces

Sometimes, for a unit test, we just need a trace and having the trace length,
size and event count may help choose the right trace for the right test.

Change-Id: Ibc963509c0c7b08ab74b8a69cc34f33f5462768e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/32555
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agorcp: Make archive file name compatible with Maven 3.2.2
Marc-Andre Laperle [Fri, 5 Sep 2014 21:45:15 +0000 (17:45 -0400)] 
rcp: Make archive file name compatible with Maven 3.2.2

The build timestamp format changed in Maven 3.2.2. See
https://jira.codehaus.org/browse/MNG-5452

This means the archive name now looks like
linuxtools-trace-viewer-1.0.0-2014-09-05T21:50:43Z.linux.gtk.x86.tar.gz

This is especially problematic on Windows because colons are used to
specify devices. The format can be changed by to the original format with
a property.

Change-Id: I6c0ec7cc0e8a18ef6a20fb43cc19eadbed80670f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32961
Tested-by: Hudson CI
9 years agotmf: Do not use Display.sleep in tests
Marc-Andre Laperle [Thu, 11 Sep 2014 14:52:28 +0000 (10:52 -0400)] 
tmf: Do not use Display.sleep in tests

Similar to bug 415992 and change 25443. The display needs to be woken up
because it's possible to get in a state where nothing will wake up the UI
thread (events, messages), especially if the tests are being run unattended.
Instead of using the highly implementation-dependent solution of doing a
Display.asyncExec (which only works on Mac, not Windows), we can simply not put
the display to sleep and just have the thread sleep. This is safer because
Display.sleep by definition should not wake up until an event is received which
we cannot guarantee will happen.

Change-Id: Ib2282bcd71c9376d7bbdb084c094892146410ff7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33257
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Invalid thread access when deleting trace or trace folder
Marc-Andre Laperle [Fri, 11 Jul 2014 17:08:06 +0000 (13:08 -0400)] 
tmf: Invalid thread access when deleting trace or trace folder

Bug: 439449
Change-Id: Id2f7b940a0afcd35bb0baca710b15ebb5d156298
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29828
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agolttng: Delete suppl. files *after* the trace has been disposed in a test
Marc-Andre Laperle [Thu, 11 Sep 2014 14:38:38 +0000 (10:38 -0400)] 
lttng: Delete suppl. files *after* the trace has been disposed in a test

That way the file handle won't be still opened when trying to delete
the suppl. folder (Windows).

Change-Id: I6e43442d715389fd3ba5265a96d9de534701f7d8
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33255
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Adapted ExportToText feature to new events table column API
Bernd Hufmann [Wed, 27 Aug 2014 18:50:12 +0000 (14:50 -0400)] 
tmf: Adapted ExportToText feature to new events table column API

Change-Id: I11d9e500fb19c368233047c153205b2a9fba807d
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32496
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Also check if the trace type exists in select traces dialog
Marc-Andre Laperle [Thu, 11 Sep 2014 20:53:56 +0000 (16:53 -0400)] 
tmf: Also check if the trace type exists in select traces dialog

Change-Id: I26734465a54bc1d6ca865e035ce3259dbf956521
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33282
Tested-by: Hudson CI
9 years agotmf: Fix untyped traces being shown in the select traces dialog
Marc-Andre Laperle [Wed, 10 Sep 2014 17:43:19 +0000 (13:43 -0400)] 
tmf: Fix untyped traces being shown in the select traces dialog

Bug: 443737
Change-Id: Ifc1902341a4673a268ac0d540346a50cb5e5c9cc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33202
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Fix a test when running from alltests plugin
Marc-Andre Laperle [Sat, 6 Sep 2014 02:59:36 +0000 (22:59 -0400)] 
tmf: Fix a test when running from alltests plugin

Change-Id: I9649c0e6f384b6b5c075898ccc541e941a7a2b1e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32965
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Fix NullPointerException drawing time graph arrows
Patrick Tasse [Wed, 10 Sep 2014 21:07:52 +0000 (17:07 -0400)] 
tmf: Fix NullPointerException drawing time graph arrows

Change-Id: Ic3fd6c9646a4d6a62c6421ab5392fe0d4f4b152c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33213
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Improve SS Explorer filter button description
Alexandre Montplaisir [Tue, 9 Sep 2014 22:32:08 +0000 (18:32 -0400)] 
tmf: Improve SS Explorer filter button description

Change the filter button's tooltip in the State System Explorer from
"Display Only Change" to "Only Display Changes at Selected Timestamp".
This is more representative of what this option does.

Refs bug #419515.

Change-Id: I457627d2ff60b2efee9f8f962a00e883b0a8e63c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/33153
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agorcp: Update version number to 1.1.0
Marc-Andre Laperle [Tue, 9 Sep 2014 15:17:05 +0000 (11:17 -0400)] 
rcp: Update version number to 1.1.0

Change-Id: I59a0f93f1255bf09cd7f51c30ce1e05e9f8345d3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33123
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33138

9 years agolttng: Increment the version numbers to at least SR1 numbers
Marc-Andre Laperle [Thu, 4 Sep 2014 21:01:47 +0000 (17:01 -0400)] 
lttng: Increment the version numbers to at least SR1 numbers

Change-Id: I3169329580cf77e01dbf0fee55fce2ce2f7aa229
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32887
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
This page took 0.077786 seconds and 5 git commands to generate.