deliverable/tracecompass.git
9 years agotmf: Bump checkpoint index version due to incompatible timestamps
Patrick Tasse [Tue, 28 Oct 2014 17:36:22 +0000 (13:36 -0400)] 
tmf: Bump checkpoint index version due to incompatible timestamps

TmfTimestamp serialization was incompatible due to removal of precision.

Change-Id: Iace77186f730971e0296c582097fc179f332d985
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35603
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agoss: Cleanup TransientState a bit
Alexandre Montplaisir [Tue, 28 Oct 2014 02:45:10 +0000 (22:45 -0400)] 
ss: Cleanup TransientState a bit

- Remove assertions (see bug 409346)
- Add more null annotations
- Update comments

Change-Id: I1d2edb3524cefa720365926b6d589141872779b2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35566
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agoss: Also search in the ThreadedHistoryBackend's interval queue
Alexandre Montplaisir [Wed, 22 Oct 2014 18:13:02 +0000 (14:13 -0400)] 
ss: Also search in the ThreadedHistoryBackend's interval queue

If a view, like a live-enabled time graph view, makes a lot of queries
close to the "current end time" while the history is being built, it
is very possible to miss some intervals due to them being in the
ThreadedHistoryBackend's interval queue. We should also search in that
queue for possible intervals.

Since this case is still relatively rare, it's usually faster to query
the history tree first, then go look through the queue, rather than
checking in the queue first every time (which can only be explored
in O(n)).

Fixes bug #443127.

Change-Id: I82e389cf95ce04002f61629d5a0d317a35a931ff
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35504
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Allow reordering columns in event table
Patrick Tasse [Wed, 22 Oct 2014 17:26:54 +0000 (13:26 -0400)] 
tmf: Allow reordering columns in event table

Change-Id: I7885463d90bcd223abe0ac915721490038c22923
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35357
Tested-by: Hudson CI
9 years agotmf: Add unit tests for time offset
Patrick Tasse [Tue, 21 Oct 2014 18:17:24 +0000 (14:17 -0400)] 
tmf: Add unit tests for time offset

Change-Id: Ib44c6acb6f8bb0e3d23a583e30e6fec7071686b3
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35558
Tested-by: Hudson CI
9 years agotmf: Update user guide for time offsetting
Patrick Tasse [Mon, 20 Oct 2014 20:39:23 +0000 (16:39 -0400)] 
tmf: Update user guide for time offsetting

Change-Id: I4cd45175c8030bf18dd3013bf5fc91b21676e09c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35557
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Change Offset Dialog advanced mode layout
Patrick Tasse [Tue, 21 Oct 2014 19:10:39 +0000 (15:10 -0400)] 
tmf: Change Offset Dialog advanced mode layout

Change-Id: I06d67eed0b6a8c8cc341a36079baa069507eb065
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35556
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Remove the precision concept from ITmfTimestamp
Alexandre Montplaisir [Wed, 22 Oct 2014 22:41:04 +0000 (18:41 -0400)] 
tmf: Remove the precision concept from ITmfTimestamp

Timestamp precision is a problem in tracers, not in a viewer.
We already have the notion of scale which kind-of does the same
thing (if a timestamp is specified up to milliseconds, we can
consider it precise up to milliseconds).

Not only this removes big chunks of unused code, it should speed
up timestamp comparisons a little bit.

Change-Id: I55253721396cb05610503abd81861f522d3ee223
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35426
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agoss: Remove checkValidTime from the backend interface
Alexandre Montplaisir [Wed, 22 Oct 2014 17:57:46 +0000 (13:57 -0400)] 
ss: Remove checkValidTime from the backend interface

This is merely an internal method that implementations *should*
normally have, but it is not meant to be used externally.

Change-Id: Iaf03df0ec515ba4ae42896042d2fc7840ee12661
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35503
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Support for state-system based views in live mode
Marc-Andre Laperle [Tue, 1 Apr 2014 22:38:05 +0000 (18:38 -0400)] 
tmf: Support for state-system based views in live mode

Change-Id: Ida82de56a3bb214e69f68c4c75b5404c925ad76a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35286
Tested-by: Hudson CI
9 years agolttng: Support for existing live sessions
Marc-Andre Laperle [Fri, 17 Oct 2014 16:59:00 +0000 (12:59 -0400)] 
lttng: Support for existing live sessions

With this change, it is now possible to create a live session from the
command line and connect to it using the Control view as a live session.
We use the live timer interval as an indicator of whether or not a
session is live. The information about the host and the port is not
available with 'lttng list' but only local host is supported for now
anyway (127.0.0.1). For the port, we try use the default (5344). For
now, if the default port is incorrect, an error message "The connection
could not be established" is shown. As a future enhancement, there
should be a dialog to configure the relayd connection independently from
the session.

Change-Id: I9a56426ca011441ed5ebb3d8f936ababf6cdbce1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35287
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Remove AutoCloseable from IAnalysisModule
Alexandre Montplaisir [Thu, 23 Oct 2014 21:33:19 +0000 (17:33 -0400)] 
tmf: Remove AutoCloseable from IAnalysisModule

While it was very useful for tests (every test manages its own module with
try-with-resources), in reality analysis modules are stored in the trace
but need to be exposed to external components. And the trace has no knowledge
of which types of modules it contains, so it cannot provide access methods. For
this reason it was more annoying than useful to have them AutoCloseable.

Change-Id: I62a1c588155c59a6a0047a52e2965e1f3acd5744
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35425
Tested-by: Hudson CI
9 years agotmf: Use the DebugSuite test runner for some tests
Alexandre Montplaisir [Fri, 24 Oct 2014 21:20:56 +0000 (17:20 -0400)] 
tmf: Use the DebugSuite test runner for some tests

We've had the DebugSuite for a while, which allows printing the name
of every test class being started. This is extremely useful for
debugging hanging tests when run with Maven.

We could now use this by default, so that the Hudson builds also print
that output. It will help pinpointing hanging tests there too.

The class is in tmf.core.tests, so for now only enable it for plugins
that depend on tmf.core.tests already. This is a good start, since so far
most hanging tests were in tmf.core.tests. We should move the suite to
the "common" package once we get around to creating that...

Change-Id: I775b8ed9b4b20962b0df9d1b4f84dd07556890d4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35498
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: enable SWTbot test for collapsing of repetitive events
Bernd Hufmann [Sat, 25 Oct 2014 00:53:43 +0000 (20:53 -0400)] 
tmf: enable SWTbot test for collapsing of repetitive events

Change-Id: I4bb26c59641964581ba6f4b3a2f7ac42a5d23826
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35509
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoss: Add a StateSystemUtils for advanced queries
Alexandre Montplaisir [Thu, 2 Oct 2014 21:59:10 +0000 (17:59 -0400)] 
ss: Add a StateSystemUtils for advanced queries

We want to offer convenience and advance query methods for the
state system, but these should not be part of the ITmfStateSystem
interface. That one should only be for the "basic" types. Everything
else should go in a separate utility class.

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

9 years agotmf: Fix NLS bundle for the time offset dialog
Patrick Tasse [Fri, 24 Oct 2014 20:27:26 +0000 (16:27 -0400)] 
tmf: Fix NLS bundle for the time offset dialog

Change-Id: I9e170fb689042f889db4d766bd52196027292728
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35496
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Axe the TmfEventTypeManager
Alexandre Montplaisir [Wed, 22 Oct 2014 17:14:03 +0000 (13:14 -0400)] 
tmf: Axe the TmfEventTypeManager

Track the available event types in each trace object instead. K.I.S.S.

Also removed the notion of "context" from TmfEventType, which is not
needed anymore.

Change-Id: I8dc1409abb08fd930dd1f8b01027ece488551ec1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35354
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agopcap: Fix a test so that it works in any time zone
Marc-Andre Laperle [Sat, 18 Oct 2014 03:07:23 +0000 (21:07 -0600)] 
pcap: Fix a test so that it works in any time zone

Change-Id: I79d1cff9cb6be30c73ec0d5c4ba05d682b919202
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35284

9 years agotmf: Make TmfTimePreferences completely static
Alexandre Montplaisir [Wed, 22 Oct 2014 13:40:53 +0000 (09:40 -0400)] 
tmf: Make TmfTimePreferences completely static

Marking the class final shows us that all the methods can be marked
as static, since they do not use any internal fields. This means
the getInstance() itself is unneeded.

Change-Id: Iaed5876fd3f6151fceb90991d5deb452c6e70ef3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35334
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agopcap: Fix tests always being skipped
Marc-Andre Laperle [Wed, 22 Oct 2014 04:26:37 +0000 (00:26 -0400)] 
pcap: Fix tests always being skipped

Change-Id: Ie04334f8617fe3db3ea8ea3210c1e37054d41560
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35285
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agoUpdate some class paths in plugin.xml files
Alexandre Montplaisir [Wed, 22 Oct 2014 13:27:00 +0000 (09:27 -0400)] 
Update some class paths in plugin.xml files

Probably due to some auto-resolved merge conflicts. Strange that they
didn't show up earlier.

Change-Id: I997f9182b288bd15ceac75204cbb7c9c9aede7ae
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35333
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agolttng: Mark a field private in the SWTBot test
Alexandre Montplaisir [Wed, 22 Oct 2014 13:23:03 +0000 (09:23 -0400)] 
lttng: Mark a field private in the SWTBot test

This fixes a "missing Javadoc" warning.

Change-Id: Icfc5c1272453c9b246a9f7512b1d2639d4b3f09d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35332
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
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>
This page took 0.063206 seconds and 5 git commands to generate.