deliverable/tracecompass.git
8 years agoUpdate Oomph setup for 4.5 target and new 1.0.0 baseline
Marc-Andre Laperle [Mon, 27 Jul 2015 22:21:36 +0000 (18:21 -0400)] 
Update Oomph setup for 4.5 target and new 1.0.0 baseline

Change-Id: I3279d34c1b2aa592940bc0c816c8ce5bc2e83efd
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/52678
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
8 years agotmf: Fix TmfEventField#equals()
Alexandre Montplaisir [Tue, 30 Jun 2015 22:49:58 +0000 (18:49 -0400)] 
tmf: Fix TmfEventField#equals()

Since the getter methods are not final, they can be extended
by sub-classes. This means the equals() and hashCode() method
should use these instead of the direct fields.

In the case of fFields however, since it is not exposed
directly, we can mark its separate getter methods final, and
use the class attribute in equals() safely.

We also need to handle the case where the Object value could be
implemented as a [] array of any type. This will require special
care, since standard Object.equals() will not check the contents.

Change-Id: I21f20ebee9a7c6485df9d16859f736b8ca961587
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51213
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoAnalysis: Add unit tests for the graph base classes
Francis Giraldeau [Tue, 30 Jun 2015 02:10:24 +0000 (22:10 -0400)] 
Analysis: Add unit tests for the graph base classes

Change-Id: I2fa96a924d17e760191906fb75aa5a8e1a29876a
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/41478
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoAnalysis: Add the dependency graph plugin and base classes
Francis Giraldeau [Tue, 30 Jun 2015 01:47:24 +0000 (21:47 -0400)] 
Analysis: Add the dependency graph plugin and base classes

Adds a new plugin: org.eclipse.tracecompass.analysis.graph.core and the base
classes used to represent a dependency graph.

Change-Id: I8bd45263cbf02b42d62b44868409b50ac46125ac
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/41477
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agocommon: Add ObjectUtils with static methods deepEquals and deepHashCode
Patrick Tasse [Fri, 17 Jul 2015 16:16:23 +0000 (12:16 -0400)] 
common: Add ObjectUtils with static methods deepEquals and deepHashCode

These methods allow equals() and hashCode() to consider arbitrary
objects which may be arrays or collections of arrays with equal elements
to be equal, recursively.

Change-Id: Ic33f6451f5b535989ad8bed1cc35095bff500b0a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/52187
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoctf: fix parser not parsing "thing := keyword typealias;" regression
Matthew Khouzam [Thu, 23 Jul 2015 15:35:11 +0000 (11:35 -0400)] 
ctf: fix parser not parsing "thing := keyword typealias;" regression

This regression was introduced when dynamic scopes added stricter checks
to tsdl parsing. The checks are good, this fix will extract the pertinent
data before the check.

Change-Id: Id0e0571973569f219339b3733545286a0b53face
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/52447
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
8 years agoremote: add automatic archive extraction to remote import.
Matthew Khouzam [Mon, 20 Jul 2015 21:41:30 +0000 (17:41 -0400)] 
remote: add automatic archive extraction to remote import.

Change-Id: I05e062bf72cc7745b1fed0d659af593e3b99136c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/52269
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
8 years agoctf: allow traces to read timestamps in fields [bug 470845]
Matthew Khouzam [Thu, 9 Jul 2015 13:10:43 +0000 (09:10 -0400)] 
ctf: allow traces to read timestamps in fields [bug 470845]

This adds declaration looking up their sub-fields.

Change-Id: Ie2b40d418014893aa28bb9efb3c745de35411e69
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51654
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
8 years agotmf: Bug 473195: Invalid thread access closing editors in non-UI thread
Patrick Tasse [Tue, 21 Jul 2015 22:06:06 +0000 (18:06 -0400)] 
tmf: Bug 473195: Invalid thread access closing editors in non-UI thread

Change-Id: If216cc1032c9bca918a393142f0dca43ddebabbb
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/52316
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
8 years agotmf: Split ImportTraceWizardPage into multiple classes
Marc-Andre Laperle [Mon, 13 Jul 2015 06:11:34 +0000 (02:11 -0400)] 
tmf: Split ImportTraceWizardPage into multiple classes

This should make it easier to reuse some parts and also reduce the file
complexity.

Change-Id: I790f8c86a1e7e7011d9f8350d68de4bbc73f5e76
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51815
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agotmf: Make Filter and Colors tests close the views they opened
Marc-Andre Laperle [Sat, 11 Jul 2015 16:30:48 +0000 (12:30 -0400)] 
tmf: Make Filter and Colors tests close the views they opened

That way if the perspective checker runs again, it won't fail.

Change-Id: Iba279630f58ea18abb4b5be4abaa4b8f770cc396
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51773
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoreleng: Move the "performance" profile check inside the alltests plugin
Alexandre Montplaisir [Fri, 10 Jul 2015 19:29:05 +0000 (15:29 -0400)] 
releng: Move the "performance" profile check inside the alltests plugin

Right now, the alltests/pom.xml is used solely to run the
performance" profile, which runs the performance tests.

We can move the "if" inside the alltests plugin itself, so
that this pom.xml can be used for other profiles.

Change-Id: I7b03b1d5b1064b66e28226676849939fe2ca6975
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51760
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agotmf: Fix TestInvalidCtfTrace when running from RunAllSWTBotTests
Marc-Andre Laperle [Sat, 11 Jul 2015 15:32:36 +0000 (11:32 -0400)] 
tmf: Fix TestInvalidCtfTrace when running from RunAllSWTBotTests

Change-Id: If0a2977a71a427869bacdfe29742801aaac427bb
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51772
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
8 years agoreleng: Update tycho-eclipserun to use Eclipse 4.5
Marc-Andre Laperle [Fri, 10 Jul 2015 04:39:29 +0000 (00:39 -0400)] 
releng: Update tycho-eclipserun to use Eclipse 4.5

As far as I know, there hasn't been any changes to help index format
(Apache Lucene) but it's just less dependencies to download since we are
building against Eclipse 4.5 already.

Change-Id: I41ea76eca135de50fac321a85d9e150e51f317e1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51695
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoctf: make dynamic scopes work with definitions [bug 470846]
Matthew Khouzam [Wed, 8 Jul 2015 18:56:34 +0000 (14:56 -0400)] 
ctf: make dynamic scopes work with definitions [bug 470846]

Change-Id: I0838fb9f17ceab856f3009bdf340185b24e82f28
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51546
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
8 years agoctf: make IOStructGen support relative and absolute scopes [Bug 470846]
Matthew Khouzam [Fri, 26 Jun 2015 19:24:10 +0000 (15:24 -0400)] 
ctf: make IOStructGen support relative and absolute scopes [Bug 470846]

Change-Id: I1c20fdd7842badcbece63e5461c156da160ffc60
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50981
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoctf: set IOStructGen's default alignment to 1 [Bug 470846]
Matthew Khouzam [Fri, 26 Jun 2015 17:28:29 +0000 (13:28 -0400)] 
ctf: set IOStructGen's default alignment to 1 [Bug 470846]

Change-Id: I6a5a60501f2f77809df053c1ebf1f284e9f5ebef
signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50979
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
8 years agoctf: make declaration scopes support looking up concatenated scopes [Bug 470846]
Matthew Khouzam [Fri, 26 Jun 2015 15:20:10 +0000 (11:20 -0400)] 
ctf: make declaration scopes support looking up concatenated scopes [Bug 470846]

Change-Id: I97dbc4cf51668f118b379c86db82504789e46522
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50977
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
8 years agoctf: Add scope strings [Bug 470846]
Matthew Khouzam [Fri, 26 Jun 2015 14:49:50 +0000 (10:49 -0400)] 
ctf: Add scope strings [Bug 470846]

Change-Id: Ideefd263ec02b18f37ffca11848e5478ca92b38e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50976
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
8 years agoctf.core add root constructor to DeclarationScope in CTFTrace [Bug 470846]
Matthew Khouzam [Sat, 6 Jun 2015 03:00:19 +0000 (23:00 -0400)] 
ctf.core add root constructor to DeclarationScope in CTFTrace [Bug 470846]

Change-Id: I7c241c64eaf254bf2ed47db97e8d650d48624831
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49778
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoctf: make DeclarationScopes named [Bug 470846]
Matthew Khouzam [Sun, 7 Jun 2015 15:37:13 +0000 (11:37 -0400)] 
ctf: make DeclarationScopes named [Bug 470846]

This makes the Declaration Scopes be part of a tree. Each node is named,
and the root is the trace node.

Change-Id: I90c197364609917385498b828403100be234b8d3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49781
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoctf: update copyright header date in grammars
Matthew Khouzam [Fri, 26 Jun 2015 14:43:21 +0000 (10:43 -0400)] 
ctf: update copyright header date in grammars

Change-Id: I1631db8b78f0fc959570d9c3587240008a3216cc
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50975
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf: Fix exception importing empty archive or only folders
Patrick Tasse [Tue, 7 Jul 2015 14:38:40 +0000 (10:38 -0400)] 
tmf: Fix exception importing empty archive or only folders

Change-Id: Ia48a7a2b0abbffaa8eb09c21cd131f06c18341bf
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51500
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agotmf: Annotate methods in ITmfEventField
Alexandre Montplaisir [Mon, 6 Jul 2015 18:57:27 +0000 (14:57 -0400)] 
tmf: Annotate methods in ITmfEventField

Some methods in ITmfEventField can be annotated @NonNull to make
their usage easier.

getValue() and getField() should eventually be marked @Nullable,
but this will be a much larger undertaking, as most analysis
modules currently just get fields and values without even
checking them...

Change-Id: I564c6d067a62239cde5c67350ea709315bfe89f4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51212
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf: Fix flaky ImportAndReadSmokeTest test
Marc-Andre Laperle [Tue, 7 Jul 2015 23:47:55 +0000 (19:47 -0400)] 
tmf: Fix flaky ImportAndReadSmokeTest test

In this test, it was possible for SWTBotUtils.openEditor to timeout
because it would not find the right Tree and it would wait for a
TreeItem forever. Instead, we can use the SWTBot from the view to narrow
down where the Tree is searched and it returns the right one. I saw this
test being flaky on Windows.

Change-Id: I44e98b6e88d795fd8b0d38b75ad0506e849af4b5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51535
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agotmf: Fix StandardImportGzipTraceTest failing when running from RunAllSWTBotTests
Marc-Andre Laperle [Tue, 7 Jul 2015 23:11:39 +0000 (19:11 -0400)] 
tmf: Fix StandardImportGzipTraceTest failing when running from RunAllSWTBotTests

StandardImportGzipTraceTest should delete its test project. Otherwise, other
tests using the same project name "Tracing" will fail to run. Also fix path
in TmfTestTrace for the test to work.

Change-Id: I908e9aaded2b47762ee07b36384257545d680300
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51534
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agotmf: Bring back the API filter for UnsortedPropertySheetPage
Alexandre Montplaisir [Tue, 7 Jul 2015 19:46:08 +0000 (15:46 -0400)] 
tmf: Bring back the API filter for UnsortedPropertySheetPage

PropertySheetPage is marked @noextend, but arguably should not be.
See bug 109617.

I'm pretty sure we had such filter at some point, but it seems to
have been lost, and I could not find any references to it in the
git tree.

Change-Id: If373e480267fd311992a94965635d57ea5100e5c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51532
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agopcap: Fix pcap tests skipped when running from RunAllCoreTests
Marc-Andre Laperle [Tue, 7 Jul 2015 18:30:43 +0000 (14:30 -0400)] 
pcap: Fix pcap tests skipped when running from RunAllCoreTests

Change-Id: Ic28140a87d6417081d345640d9f2fe9ddc5b6c8c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51526
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agolttng: Add a timeout to ExperimentSyncTest
Alexandre Montplaisir [Tue, 7 Jul 2015 17:24:02 +0000 (13:24 -0400)] 
lttng: Add a timeout to ExperimentSyncTest

Under certain configurations, the testDjangoExperimentSync() can
deadlock and throw "GC overhead limit exceeded" errors. Add a
timeout to this test suite to catch this problem.

Change-Id: Ib90b16c680158aa0ad896e9fca4ed23efd09f726
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51518
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoIncrease RCP version number to 2.0
Marc-Andre Laperle [Tue, 30 Jun 2015 20:05:45 +0000 (16:05 -0400)] 
Increase RCP version number to 2.0

Change-Id: I8b6f2125cdfa0c3acd5114297b07b7cb703f8ad9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51132
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf: Fix FunctionNameMapperTest failing when running from RunAllCoreTests
Marc-Andre Laperle [Tue, 7 Jul 2015 05:08:53 +0000 (01:08 -0400)] 
tmf: Fix FunctionNameMapperTest failing when running from RunAllCoreTests

Change-Id: I2270bd713c89c895c153ba96f482eea8bb49e755
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51449
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agolttng: Fix SessionConfigGeneratorTest failing when running from RunAllCoreTests
Marc-Andre Laperle [Tue, 7 Jul 2015 04:14:25 +0000 (00:14 -0400)] 
lttng: Fix SessionConfigGeneratorTest failing when running from RunAllCoreTests

Change-Id: Iae9ca0699e83149fe9952bd3b550e38649fcd5e4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51448
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoctf: bug 471966: Fix file handle leak in CTF
Marc-Andre Laperle [Mon, 6 Jul 2015 22:26:54 +0000 (18:26 -0400)] 
ctf: bug 471966: Fix file handle leak in CTF

If something goes wrong in the CTFStreamInputReader constructor or one
of its calls, the file handles in this class are not closed. This is
because the object is not fully constructed yet therefore the caller of
the constructor cannot close it.

Change-Id: Ie03164888711dd49d7b30ce5d774b4e4cdef9228
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51426
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf: Make custom trace output column name @NonNull
Patrick Tasse [Thu, 2 Jul 2015 20:18:29 +0000 (16:18 -0400)] 
tmf: Make custom trace output column name @NonNull

Change-Id: Ibe9600a9b80833a860c361320d5d755d148e2711
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/51302
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoctf: support devices that are stored as enumerations Bug 471685
Matthew Khouzam [Thu, 2 Jul 2015 21:33:19 +0000 (17:33 -0400)] 
ctf: support devices that are stored as enumerations Bug 471685

Enums are actually more precise than ints, so let's keep that data.
A side effect is that this will support floating point devices, but
the information will be cropped to an integer level.

Change-Id: I61c1d98ed63bd18ff1d64ffea5b1f7a9da9c8d7a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51306
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoFix parent version number for alltests
Marc-Andre Laperle [Mon, 6 Jul 2015 14:34:22 +0000 (10:34 -0400)] 
Fix parent version number for alltests

Change-Id: I6a6d60c625ddcd2366fdaa5e37a451ec8e7e011e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51417
Reviewed-by: Hudson CI
8 years agotmf: Fix TmfEventsTable leaked
Marc-Andre Laperle [Fri, 3 Jul 2015 20:11:21 +0000 (16:11 -0400)] 
tmf: Fix TmfEventsTable leaked

Every time a trace was opened and closed, a TmfEventsTable is leaked (along
with others). Because its context menus are not disposed, the Display keeps a
reference to the menus which hold a reference to the table through menu
listeners.

Change-Id: I7e4bb1497282d33edb0844c85796e6e6ad145e0b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51359
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf: Fix context resource leak in raw event viewer
Patrick Tasse [Tue, 16 Jun 2015 21:30:45 +0000 (17:30 -0400)] 
tmf: Fix context resource leak in raw event viewer

Change-Id: I20dfb3f921d260771efee4b69abaa8d90ec9c44f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49466
Reviewed-by: Hudson CI
8 years agotmf: Add support for blending sub-pixel events in time graph
Patrick Tasse [Fri, 26 Jun 2015 15:03:30 +0000 (11:03 -0400)] 
tmf: Add support for blending sub-pixel events in time graph

This allows for many short time events mapping to the same pixel to be
blended in together instead of drawing only the first one and discarding
the remaining. This functionality is optional and off by default.

The Time Chart view is updated to use this scheme to allow the
highlighted ticks from a color settings filter to be noticeable even if
the time event is not the first event of that pixel.

Change-Id: I316f044157cef50f6744d128c3661964b97f09c1
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/51068
Reviewed-by: Hudson CI
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
(cherry picked from commit 37a507dca88f92e040df4d860191a88224fca382)
Reviewed-on: https://git.eclipse.org/r/51344

8 years agotmf: Dispose clipboard after Copy to Clipboard operation
Patrick Tasse [Mon, 22 Jun 2015 14:19:13 +0000 (10:19 -0400)] 
tmf: Dispose clipboard after Copy to Clipboard operation

Change-Id: Icc6ee4b8de1a936ef86c61f0e8b5b9e6afb0de71
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50633
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agotmf: Bug 470851: Trace time range should include lost event end time
Patrick Tasse [Tue, 23 Jun 2015 22:50:19 +0000 (18:50 -0400)] 
tmf: Bug 470851: Trace time range should include lost event end time

Change-Id: I273cf79f93f0718a30226d65e1558a7696ed3253
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50754
Reviewed-by: Hudson CI
8 years agotmf: Mark ITmfSourceLookup#getCallsite as @Nullable
Alexandre Montplaisir [Wed, 27 May 2015 19:57:44 +0000 (15:57 -0400)] 
tmf: Mark ITmfSourceLookup#getCallsite as @Nullable

Any event that implements ITmfSourceLookup may return null to
indicate there is no specific call site information for this
event.

Clarify this by marking the method @Nullable, which ensures this
case is handled gracefully.

Change-Id: I2c38e879bea8d90fb3a19aa7d16f6d6566cccb2c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50311
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agotmf: Bug 470830: Incorrect lost event count in histogram
Patrick Tasse [Tue, 23 Jun 2015 17:11:01 +0000 (13:11 -0400)] 
tmf: Bug 470830: Incorrect lost event count in histogram

Change-Id: I19a8b3455b50c0ad17a013ce6b3e6fb0a9b870ce
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50738
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoctf: Bug 470754: Incorrect time range in CTF Lost Event
Patrick Tasse [Mon, 22 Jun 2015 22:21:48 +0000 (18:21 -0400)] 
ctf: Bug 470754: Incorrect time range in CTF Lost Event

Change-Id: Ibdabcf68999cd4f801018c167364bfadf33d3edd
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50683
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agolttng: Really make lttng kernel event matching package internal
Geneviève Bastien [Tue, 30 Jun 2015 02:54:04 +0000 (22:54 -0400)] 
lttng: Really make lttng kernel event matching package internal

Simply renaming the package with 'internal' in the name did not make it
internal.

Change-Id: I4cbaae0df9e4f691600294e895077d952cbdea74
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/51083
Reviewed-by: Hudson CI
8 years agoreleng: Bump versions of parent modules
Marc-Andre Laperle [Mon, 29 Jun 2015 22:23:44 +0000 (18:23 -0400)] 
releng: Bump versions of parent modules

To make it clearer that this is targetting 2.0.0 release, bump the parent
modules to 2.0.0. We technically don't need to do that but it's less confusing
to see 2.0.0 when building from the top level.

Change-Id: Ie0b407ce726df749351dfba8aa0efdc9aa58b75a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/51069
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
8 years agoUpdate usage of IAdaptable#getAdapter
Alexandre Montplaisir [Mon, 9 Mar 2015 19:50:46 +0000 (15:50 -0400)] 
Update usage of IAdaptable#getAdapter

Generics were added to the APIs of IAdaptable and related
classes. Update our usage of these methods, as suggested in
http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg11590.html

Change-Id: I8fb374869567b5c2b7421b4773998c60e9fcc468
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/43472
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agotmf: Bug 470741: Missing lost events in scaled histogram buckets
Patrick Tasse [Mon, 22 Jun 2015 18:09:34 +0000 (14:09 -0400)] 
tmf: Bug 470741: Missing lost events in scaled histogram buckets

Change-Id: I8cf2c1a977845c9a60026178940bb09e75206b4c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50659
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoss: Introduce SegmentStore plugin
Alexandre Montplaisir [Mon, 15 Jun 2015 18:33:48 +0000 (14:33 -0400)] 
ss: Introduce SegmentStore plugin

Unlike the State System, which assigns single states to attributes,
the Segment Store is a database interface for storing segments that
may overlap each other. It is closer in intent to a spatial database.

Just like state system backends, we provide an interface that can be
implemented in different ways. A first basic in-memory implementation
is provided.

Change-Id: I20a4a27b66ae005e8a22070752d8cc0a132a36f5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50308
Reviewed-by: Hudson CI
8 years agocommon: Concurrency fixes in TraceCompassActivator
Alexandre Montplaisir [Mon, 15 Jun 2015 18:33:48 +0000 (14:33 -0400)] 
common: Concurrency fixes in TraceCompassActivator

The TraceCompassActivator class (which can be used as base for any
Activator in every plugin) tracks all the loaded activators in a map.

Add a bit of synchronization to make sure this map cannot be victim
of unexpected concurrent accesses.

Change-Id: Ia94899dfb140a5bf740e3cc6343f6d43579dd777
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50752
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoFix missing @since's and bump corresponding versions
Alexandre Montplaisir [Wed, 17 Jun 2015 00:16:24 +0000 (20:16 -0400)] 
Fix missing @since's and bump corresponding versions

Some API changes were introduced since the 1.0 release, this
patch bumps the verion numbers where appropriate and fixes
the @since annotations.

Change-Id: Ib0ce9860d1c05b94fb074972c817dfec736beace
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50309
Reviewed-by: Hudson CI
8 years agotmf: Fix SWTException in TmfEventsTable
Patrick Tasse [Tue, 16 Jun 2015 21:21:15 +0000 (17:21 -0400)] 
tmf: Fix SWTException in TmfEventsTable

The table can get disposed while the event request is being processed.
Attempting to get the display from the table will throw an exception.
Getting the display from the workbench will avoid this exception.

Change-Id: Id68b34be403c30359c8e56e88e2d894779804214
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49260
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agorcp: bug 471162: Add Error Log view to RCP
Marc-Andre Laperle [Wed, 17 Jun 2015 17:25:41 +0000 (13:25 -0400)] 
rcp: bug 471162: Add Error Log view to RCP

This makes it easier for users to understand when things go wrong and for
reporting issues. It will also help us while testing the RCP because we will
notice more easily when errors happen. This would have probably helped finding
bug 469809 earlier.

Change-Id: I2a6e7a752f9b53667ec58045ddb2406085ff2391
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50387
Reviewed-by: Hudson CI
8 years agoUse o.e.test and jdt.annotation from Eclipse 4.5
Marc-Andre Laperle [Fri, 26 Jun 2015 04:54:04 +0000 (00:54 -0400)] 
Use o.e.test and jdt.annotation from Eclipse 4.5

Also fix use of deprecated junit constructor. This is because o.e.test
*includes* org.junit and the Eclipse 4.5 repo only has junit 4.12 which
introduced the deprecation.

Change-Id: Id17e904674509a3a551f253f8b6927f023ba935c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50905
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoBuild using non-staging Eclipse 4.5 target
Marc-Andre Laperle [Fri, 26 Jun 2015 04:44:12 +0000 (00:44 -0400)] 
Build using non-staging Eclipse 4.5 target

Since staging will become Eclipse 4.6 (Neon) we should switch to building using
a more stable 4.5 target (for now).

Change-Id: I8bcfde64f769510150dc3517b9931521522efdbc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50904
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agotmf.ui: introduce TmfSimpleTableViewer
Matthew Khouzam [Tue, 17 Feb 2015 03:46:52 +0000 (22:46 -0500)] 
tmf.ui: introduce TmfSimpleTableViewer

A helper for jface tables with sortable columns. It provides the
following features:
 - Sortable columns
 - Movable columns
 - Resizable columns
 - Tracking last clicked columns

Change-Id: I3a7f6037891153022904a53563d223c4bf805816
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41994
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
8 years agoswtbot: Add Copy to Clipboard tests
Patrick Tasse [Mon, 22 Jun 2015 15:29:08 +0000 (11:29 -0400)] 
swtbot: Add Copy to Clipboard tests

Change-Id: I18e7f8a633918856dc934483c4c1aac41955912d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50653
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoctf: make parser support scoped typedefs [Bug 470846]
Matthew Khouzam [Thu, 11 Jun 2015 22:47:21 +0000 (18:47 -0400)] 
ctf: make parser support scoped typedefs [Bug 470846]

This is important if you want to have a root typedef struct for instance.

Change-Id: I9aff6a1049605f98cb1e16015b6170ea9801b9e0
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50055
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoctf: update postfix expression to accept chained CTF expressions [Bug 470846]
Matthew Khouzam [Thu, 11 Jun 2015 21:51:34 +0000 (17:51 -0400)] 
ctf: update postfix expression to accept chained CTF expressions [Bug 470846]

This updates the grammar to support absolute referencing

Change-Id: I952e846abc3bdcecdd40bc9e9dc9716bdefa9adb
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49961
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoctf: validate if metadata endianness is inconsistent.
Matthew Khouzam [Fri, 24 Apr 2015 14:12:27 +0000 (10:12 -0400)] 
ctf: validate if metadata endianness is inconsistent.

Change-Id: Ide73b0344e9aaf0058b6501d003f0e64f978fd2a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/46431
Reviewed-by: Hudson CI
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agorcp: Build proper .app on Mac
Marc-Andre Laperle [Mon, 22 Jun 2015 20:20:16 +0000 (16:20 -0400)] 
rcp: Build proper .app on Mac

Otherwise, the rcp doesn't start when building against Eclipse 4.5

Change-Id: I49773d350ad966f47e94a4da5892bf4135bda4f4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50669
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoswtbot: Add event table column header menu tests
Patrick Tasse [Tue, 16 Jun 2015 21:39:31 +0000 (17:39 -0400)] 
swtbot: Add event table column header menu tests

Change-Id: I6f6391bc138c80731707b96d1e16c75e539211ee
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50297
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
8 years agotmf.ui : Only update chart if not disposed
France Lapointe Nguyen [Wed, 10 Jun 2015 13:53:56 +0000 (09:53 -0400)] 
tmf.ui : Only update chart if not disposed

To fix a SWT error (widget is disposed) when chart is closed while the
trace is still loading.

Change-Id: I44015f742908395e68c30a3824bcdfb509a07d4c
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49923
Reviewed-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: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoreleng: adjust jacoco report path to new folder structure
Marc-Andre Laperle [Thu, 18 Jun 2015 17:48:10 +0000 (13:48 -0400)] 
releng: adjust jacoco report path to new folder structure

Change-Id: I182b8523651a914608e47a71803a0d9efc0e7d4a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50463
Reviewed-by: Hudson CI
8 years agoreleng: Use SWTBot snapshot build
Marc-Andre Laperle [Fri, 19 Jun 2015 13:37:15 +0000 (09:37 -0400)] 
releng: Use SWTBot snapshot build

This is necessary for us to consume a fix and a new feature required for
https://git.eclipse.org/r/#/c/50297/

Change-Id: Ieecad5c61d01ee7fcef6e50cc0642a6d5c19a5cf
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50526
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agolttng: Set keyboard layout in SWTBot tests
Marc-Andre Laperle [Thu, 18 Jun 2015 19:08:20 +0000 (15:08 -0400)] 
lttng: Set keyboard layout in SWTBot tests

Depending on the locale of the system, some tests like testKeyboardLeftRight would fail with a NPE.

Change-Id: If39e8faedffb8629b5cfd2b6e44a8bbd80b9990e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50470
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf.ui : Only update populated chart
France Lapointe Nguyen [Wed, 10 Jun 2015 13:56:34 +0000 (09:56 -0400)] 
tmf.ui : Only update populated chart

Check that there is at least one point in a chart to avoid AOOB

Change-Id: Id56153b4548a5ef713b1b0caf89976f3b0e348d6
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49924
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agolttng: add two benchmarks for TmfStatisticsModule
Alexis Cabana-Loriaux [Fri, 5 Jun 2015 20:45:33 +0000 (16:45 -0400)] 
lttng: add two benchmarks for TmfStatisticsModule

Change-Id: I932e095ee83aa4b0224963cfc8e4cd61dfbfda82
Signed-off-by: Alexis Cabana-Loriaux <alex021994@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49675
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoUpdate sync_settings.sh for the new directory layout
Alexandre Montplaisir [Mon, 15 Jun 2015 21:51:03 +0000 (17:51 -0400)] 
Update sync_settings.sh for the new directory layout

Change-Id: I4a80162f3cb196608df9bfce5fa84bba3431f2d9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoUpdate README to reflect new plugin organization
Alexandre Montplaisir [Mon, 11 May 2015 22:49:48 +0000 (18:49 -0400)] 
Update README to reflect new plugin organization

The components are easier to describe now that they are in
proper sub-directories.

Also updated the plugins.svg file to components.svg, and it
now displays the dependency graph between actual components.

Change-Id: Ia15cfa46cf2531e5a6f2c86396666eff51e49d66
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agodoc: Move the examples plugin to the doc/ directory
Alexandre Montplaisir [Mon, 11 May 2015 22:37:51 +0000 (18:37 -0400)] 
doc: Move the examples plugin to the doc/ directory

Change-Id: I9546d2febb09c416f9031fd1c2ac4d57726a2e60
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoCreate and populate new "releng" sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 22:26:40 +0000 (18:26 -0400)] 
Create and populate new "releng" sub-directory

Release-related plugins, like *.target/ and *.releng-site/ can
now be found inside a releng/ top-level directory.

The *.alltests/ and *.testing/ plugins have also been moved there,
it's not obvious where these should go, but this should be a
reasonable place.

Change-Id: I7c42040cc6801dacb5a88ef6cff57ab11c541ff9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agotmf: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 22:14:58 +0000 (18:14 -0400)] 
tmf: Move plugins to their own sub-directory

Change-Id: I63bc2b18ab7ee041c166690aed181b2b1cb57563
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoanalysis: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 21:57:57 +0000 (17:57 -0400)] 
analysis: Move plugins to their own sub-directory

The "analysis" component can host all analyses that do not
depend on a specific trace type.

Change-Id: I52b196e0e9ecae7e98593d5c3143996d923020dc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agolttng: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 21:48:31 +0000 (17:48 -0400)] 
lttng: Move plugins to their own sub-directory

Change-Id: I7a2ec6fb8489f0f337a6f6d7e543bfb248e6383f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoctf: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 21:22:32 +0000 (17:22 -0400)] 
ctf: Move plugins to their own sub-directory

Change-Id: I5eac1d897c78cec439ff951fec7582c1d5cd0045
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agorcp: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 20:07:45 +0000 (16:07 -0400)] 
rcp: Move plugins to their own sub-directory

Also moved the definition of the "build-rcp" Maven profile
into the RCP Parent's pom.xml, and updated the README.

Change-Id: I5c5f471ba1bbb6236cd549db3b12035682ee3039
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agostatesystem: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 20:02:35 +0000 (16:02 -0400)] 
statesystem: Move plugins to their own sub-directory

Change-Id: I64e398caf208278063f87a88c5925d463dcc13b1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agocommon: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 19:55:29 +0000 (15:55 -0400)] 
common: Move plugins to their own sub-directory

Change-Id: I98b57351b5aff035ddbf80449513190baa3f1d41
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agogdbtrace: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 19:47:36 +0000 (15:47 -0400)] 
gdbtrace: Move plugins to their own sub-directory

Change-Id: I6ef8d281b2de8d4097af519279100536b794865d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agopcap: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 16:48:15 +0000 (12:48 -0400)] 
pcap: Move plugins to their own sub-directory

The "alltests" plugin won't be able to find the pcap test
traces, but this will be rectified once that plugin is also
moved to a sub-directory (we will be able to have a relative
path that works for everyone).

Change-Id: Ic9c3644abfa5d97622769d23a855521e2d5c9371
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agobtf: Move the plugins to their own sub-directory
Alexandre Montplaisir [Thu, 7 May 2015 21:26:49 +0000 (17:26 -0400)] 
btf: Move the plugins to their own sub-directory

Change-Id: I4f5eed6c1da0b33081706ad9bc890c94817f7355
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agocommon: Generalize the BufferedBlockingQueue's concurrent test
Alexandre Montplaisir [Tue, 19 May 2015 19:58:36 +0000 (15:58 -0400)] 
common: Generalize the BufferedBlockingQueue's concurrent test

Provide a general concurrency test method, which can then be
used to try various combinations of producer, consumer, and
observer threads.

Change-Id: Ia7c47a44be45e7810800c70493ffe9357277ae3f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/48217
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agodoc: Update user guide for changes to event table
Patrick Tasse [Mon, 15 Jun 2015 17:58:04 +0000 (13:58 -0400)] 
doc: Update user guide for changes to event table

- Copy to Clipboard
- Hiding columns from header context menu
- Update default TMF and LTTng kernel columns

Change-Id: Ibe81141881bbbaef1efc02fa321f8a41488d5f69
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50208
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agorcp: Fix icon paths for new Tycho
Marc-Andre Laperle [Tue, 16 Jun 2015 04:37:19 +0000 (00:37 -0400)] 
rcp: Fix icon paths for new Tycho

This fixes the FileNotFoundExceptions since the upgrade to Tycho 0.23.0

Change-Id: I51960399c3ed3a321342360892986a10b3a73fa6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50226
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agotmf: Bug 468867: Time graph listener notifier interference from ext sync
Patrick Tasse [Fri, 29 May 2015 20:37:20 +0000 (16:37 -0400)] 
tmf: Bug 468867: Time graph listener notifier interference from ext sync

Change-Id: I2099016a56c4a13ce1661c6a84d8168486be15a0
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50146
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agotmf: Bug 452415: Remember last location for Open Trace
Marc-Andre Laperle [Thu, 11 Jun 2015 21:44:05 +0000 (17:44 -0400)] 
tmf: Bug 452415: Remember last location for Open Trace

Change-Id: Iffe079c1d292705c624701853c7374b602463ff1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50106
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoRevert "tmf: Bug 468867: Time graph listener notifier interference from ext sync"
Alexandre Montplaisir [Fri, 12 Jun 2015 21:08:38 +0000 (23:08 +0200)] 
Revert "tmf: Bug 468867: Time graph listener notifier interference from ext sync"

This reverts commit 3ad34c5d3fbfeee1eeeda5c4fe2afa02d3bc6b2a.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=468867#c4 .

Change-Id: Ia8815c6ca51172ce9166324fc1833361e7b58317
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50142
Reviewed-by: Hudson CI
8 years agotmf: Add Copy to Clipboard in TmfEventsTable
Patrick Tasse [Tue, 9 Jun 2015 19:07:04 +0000 (15:07 -0400)] 
tmf: Add Copy to Clipboard in TmfEventsTable

Change-Id: Ic2ca73787e294ba69fcaa4b111e5a21ff66bb9a1
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49834
Reviewed-by: Hudson CI
8 years agoctf: make magic numbers optional
Matthew Khouzam [Wed, 10 Jun 2015 19:34:59 +0000 (15:34 -0400)] 
ctf: make magic numbers optional

Change-Id: If86103a84c939e551889359e3d669c5a3cabb8c7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49962
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoctf.core: Make childTypeError return an exception instead of throwing it.
Matthew Khouzam [Sat, 6 Jun 2015 02:44:48 +0000 (22:44 -0400)] 
ctf.core: Make childTypeError return an exception instead of throwing it.

This makes return analysis easier for the jdt

Change-Id: I2c5ea78b9ef27de8e146cbb0a322fe84d458d379
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49777
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf.ui: make hiding column menu in the displayed order
Matthew Khouzam [Fri, 5 Jun 2015 13:36:48 +0000 (09:36 -0400)] 
tmf.ui: make hiding column menu in the displayed order

Change-Id: Ibd9622e89ecb615c279e66f7dcca925500f8f049
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49518
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
8 years agotmf: Bug 469809: Invalid thread access closing editors in non-UI thread
Patrick Tasse [Wed, 10 Jun 2015 17:23:56 +0000 (13:23 -0400)] 
tmf: Bug 469809: Invalid thread access closing editors in non-UI thread

Change-Id: Ia692b41efe429b96c995ba7bf7ed749d25ceff12
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49949
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agotmf: Fix synchronization between raw viewer and event table
Patrick Tasse [Thu, 4 Jun 2015 15:17:50 +0000 (11:17 -0400)] 
tmf: Fix synchronization between raw viewer and event table

The selected event can now be kept in synchronization even after using
the raw viewer scroll bar.

Change-Id: I1924cd65d79279266842c1bd4f7697e1c3bdbbef
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49456
Reviewed-by: Hudson CI
8 years agotmf: Periodically refresh raw viewer while scroll bar is dragged
Patrick Tasse [Wed, 3 Jun 2015 17:13:48 +0000 (13:13 -0400)] 
tmf: Periodically refresh raw viewer while scroll bar is dragged

Change-Id: Ifd5b3a4f751a75b223cf498defb23a1118c2c260
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49394
Reviewed-by: Hudson CI
8 years agotmf: Periodically refresh virtual table while scroll bar is dragged
Patrick Tasse [Mon, 1 Jun 2015 20:32:08 +0000 (16:32 -0400)] 
tmf: Periodically refresh virtual table while scroll bar is dragged

Change-Id: I9f0f93fa37c53f73cab6e203e6af0945a4fb58fb
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49138
Reviewed-by: Hudson CI
8 years agotmf: Bug 468867: Time graph listener notifier interference from ext sync
Patrick Tasse [Fri, 29 May 2015 20:37:20 +0000 (16:37 -0400)] 
tmf: Bug 468867: Time graph listener notifier interference from ext sync

Change-Id: Ibf072ff1bcd322dedcd3479cb2d08d051c332d50
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49009
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agotmf.ui: Bug 469644: Clear axises of chart when trace is closed
Matthew Khouzam [Mon, 1 Jun 2015 02:30:36 +0000 (22:30 -0400)] 
tmf.ui: Bug 469644: Clear axises of chart when trace is closed

It should be investigated if people would rather have NO axises
when they are cleared.

Change-Id: I566ba5abe15ad9cc5f7f2df5ed7ed74589e1cebb
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49049
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoUpgrade to Tycho 0.23.0
Marc-Andre Laperle [Fri, 10 Apr 2015 20:14:53 +0000 (16:14 -0400)] 
Upgrade to Tycho 0.23.0

This fixes bug 453474.

Change-Id: Ib6e74caf59f0c23c6ce8e2f683963a1f6e1eafe9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/45680
Reviewed-by: Hudson CI
8 years agoAdd a new target to specify the API baseline
Alexandre Montplaisir [Wed, 27 May 2015 00:09:40 +0000 (20:09 -0400)] 
Add a new target to specify the API baseline

Eclipse 4.5 now offers specifying API baselines using target files.
This is much more simple than having to install and maintain a
separate Eclipse installation!

Add a new .target, under a baseline/ directory (to not confuse them
with "real" targets listing build dependencies) which we can use
for setting the API baseline.

Change-Id: Ie83d6ee09de00d102a735da99cd50118c5efd1f5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/48703
Reviewed-by: Hudson CI
This page took 0.043529 seconds and 5 git commands to generate.