Alexandre Montplaisir [Wed, 16 Oct 2013 23:18:56 +0000 (19:18 -0400)]
ctf: Add advanced trace tests
Using a more exotic test trace.
I'm not exactly sure why a string field ends up in-between the variant
selector and its value, but this is how they are printed by Babeltrace,
so I assume we're doing the right thing.
Change-Id: I4bd0f35d31a7c592fafd64b3321f182f9de71c79
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17550
Matthew Khouzam [Thu, 17 Oct 2013 15:37:15 +0000 (11:37 -0400)]
tmf: update batch import wizard to show file sizes
Change-Id: I970c569860f81a2bd33a3ab227aa7ff3db2679b8
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17690
Tested-by: Hudson CI
Matthew Khouzam [Fri, 4 Oct 2013 20:39:44 +0000 (16:39 -0400)]
ctf: add synthetic LTTng kernel trace
This will allow us to have much more control over testing the parser
and it allows scalability testing too.
Change-Id: I433709dafab8fd5c8d412cb9b4b632ade03f18a9
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17050
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Mon, 18 Nov 2013 06:38:51 +0000 (01:38 -0500)]
lttng: Bump the target definition sequence number because of RSE change
The sequence number needs to be changed so that PDE reloads the target
definition properly in certain cases. In Eclipse 4.4 it can lead to
non-obvious
errors, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=420322
Change-Id: I8fac34ba6c0edc3d3f243d70ec8b76bc6ddab9e9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18483
Matthew Khouzam [Wed, 6 Nov 2013 22:01:26 +0000 (17:01 -0500)]
ctf: Move non-aligned reads to a unified method
* Clean up integer reading
* Clean up string reading
* Clean up enumeration reading
* Clean up float reading
* Clean up structure reading
Change-Id: I3627f0c1aaecbaa84d861cba05c0681a7b267388
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17465
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Etienne Bergeron <etienne.bergeron@gmail.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Thu, 14 Nov 2013 23:32:33 +0000 (18:32 -0500)]
lttng: Add icons to build.properties in UST UI plugin
Change-Id: Idfc348d1f281f609e12ae82118998c7b36fc858e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18415
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Fri, 15 Nov 2013 13:32:06 +0000 (08:32 -0500)]
tmf/lttng: Add Export To Text feature to User Guide
Change-Id: Iff24f9af28fd0f97c0568bfb764d996ededa7b8b
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18428
Tested-by: Hudson CI
Reviewed-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
IP-Clean: Xavier Raynaud <xavier.raynaud@kalray.eu>
Tested-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 12 Nov 2013 19:26:18 +0000 (14:26 -0500)]
lttng: Add o.e.l.lttng2.ust feature to Linux Tools and LTTng releng
Change-Id: I3e00018fc190fa0883c4b6674987f33a772618f2
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18312
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Xavier Raynaud [Thu, 14 Nov 2013 11:58:46 +0000 (12:58 +0100)]
TMF: Export trace to text
Add a command to export traces to text.
If a filter is applied, only filtered elements are exported.
Change-Id: Ie213eda715f68104572704cb3c08226aa5c52a85
Signed-off-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-on: https://git.eclipse.org/r/17813
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Thu, 14 Nov 2013 14:06:52 +0000 (09:06 -0500)]
lttng-rcp: fix group-ids in pom.xml files
Change-Id: I13c40fce900473cee2a44051150e61f7353b04fa
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18384
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 12 Nov 2013 19:54:22 +0000 (14:54 -0500)]
lttng-rcp: build rcp plug-ins and features by default
This allows us to notice errors during every Gerrit contribution and
build. Note that the product is not build by default (yet).
Change-Id: Ic2e5e0aef7d43c80027b0fbc6a5829916bea2e5d
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18314
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Tue, 12 Nov 2013 19:48:26 +0000 (14:48 -0500)]
lttng: Use RSE SDK in target definitions so that sources are available
Change-Id: I73b42b577193da2b05ef7b6d14912bb9e08b466c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18313
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Thu, 24 Oct 2013 18:59:39 +0000 (14:59 -0400)]
lttng: Disallow adding contexts on events for v2.2 or later (419455)
Change-Id: Ib68015ed1fb4b3bccfa18f010763a7c82ddf5806
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17744
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Sat, 9 Nov 2013 02:03:57 +0000 (21:03 -0500)]
lttng/tmf/gdb: Remove not needed epl-v10 and license html files.
Since there is a shared license feature no need to have epl-v10.html
and license.html files in each feature project. All build.properties
file have been also updated for that.
Change-Id: I2e1265a95d73932672fa4fe9941541f7839523c9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18243
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Tue, 5 Nov 2013 19:57:10 +0000 (14:57 -0500)]
lttng: Add possibility to select/deselect all in remote import dialog
Change-Id: I41c32e3d214b422795679ba1d2e425eb8af58e5b
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18099
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Marc-Andre Laperle [Wed, 6 Nov 2013 22:50:50 +0000 (17:50 -0500)]
tmf: Fix display of title in the SelectSupplementaryResources dialog
Change-Id: I659333998e5a22da8aea35741675f6d12c666388
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18157
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Tue, 29 Oct 2013 15:54:00 +0000 (11:54 -0400)]
tmf: add title to trace type selection dialog
Change-Id: I71ad373debffd63dc5f7263e0c850a3ad0c259f1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17854
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Tue, 29 Oct 2013 22:15:41 +0000 (18:15 -0400)]
tmf: Add open trace with trace type hint
Allows for better automation of trace opening if
you know your trace type in advance.
Change-Id: I5a9c0213ee54df921b3008cc7bdd99cf1da8f5ff
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17865
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Tue, 5 Nov 2013 13:31:29 +0000 (08:31 -0500)]
lttng: Provide detailed progress information for remote import
Change-Id: Ib1e6c1ddae38c407a39b56fbb2cfd0e313621b3b
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18080
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 5 Nov 2013 20:30:40 +0000 (15:30 -0500)]
lttng: Fix display of titles of all dialogs of the LTTng Control
Change-Id: Ibcc2ad1d9cef3152bf24d632f79939ebdbedb341
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18102
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Bernd Hufmann [Mon, 4 Nov 2013 19:53:19 +0000 (14:53 -0500)]
tmf: Fix concurrency issue of TmfEventThread (bug 421016)
Change-Id: I4f8daf1fad5f24576e9b9db14a92edae2be8db70
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18061
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Bernd Hufmann [Mon, 4 Nov 2013 19:26:22 +0000 (14:26 -0500)]
tmf: Update the suspend and resume handling of requests
The new implementation handles the event before suspending the thread
requested by the request executor. In the previous implementation the
thread is suspended before handleData() which causes unnecessary
handling of data if the request is canceled during the time the
thread is suspended.
Change-Id: I25e143db734ebf524630651e4ac779a7b4657e6a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18045
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Thu, 31 Oct 2013 20:08:59 +0000 (16:08 -0400)]
tmf: Move default tracing project name to common constants
Currently, the default tracing project name "Tracing" is defined
in the RCP only. It makes sense to also create a default project in
other cases such as when importing a trace with no projects in the
workspace so the name needs to be accessible to other plug-ins.
Change-Id: I8739e651217f8b369a37d8b4784df5d9f8110e18
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17944
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Fri, 1 Nov 2013 22:54:12 +0000 (18:54 -0400)]
tmf: Optimize the ETERNITY time range
TmfTimeRange.ETERNITY is often used in requests and the like, when
you do not want to filter on timestamps at all. Implement it as
a subclass which does not even bother checking the range borders,
since any other timestamp or time range is definitely included.
Change-Id: I45c80523b054c33bd96f859355b795be38f7e760
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17981
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Fri, 1 Nov 2013 18:50:46 +0000 (14:50 -0400)]
tmf: Fix zero timestamp being included in all time ranges
For some obscure unknown reason, if a timestamp's value was equal
to 0, the TmfTimeRange.contains() method would always consider that
timestamp to be included in the time range, which is obviously wrong.
Change-Id: I61afea2eb05ede61b02dbaaed388e1a49c041fa2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17980
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Fri, 1 Nov 2013 19:41:26 +0000 (15:41 -0400)]
TMF: Fix concurrency issue in TMF scheduler tests
Change-Id: I4b360b8d1e5e064e0a9470ed8f450f52b969d189
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17971
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: 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>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Wed, 30 Oct 2013 03:08:50 +0000 (23:08 -0400)]
tmf: Fix ArrayIndexOutOfBoundsException in Batch import on Mac
Bug: 420693
Change-Id: Ifad8934a4c85bf7885a7c7c20cb99d179c6898a3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17868
Tested-by: Hudson CI
Marc-Andre Laperle [Wed, 30 Oct 2013 01:19:29 +0000 (21:19 -0400)]
tmf: Use a common method to get opened tmf projects
Change-Id: I2caf2ef68ab336c1263e2b2bd883648cde081fa5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17867
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Tue, 29 Oct 2013 20:25:07 +0000 (16:25 -0400)]
tmf: Fix SD unit tests with GTK3
Using a very recent Eclipse integration build (which now uses the GTK3 SWT
backend), two of the Sequence Diagram unit tests fail because of invalid
parameter values.
This patch fixes the test by clamping the height/width area values to 1.
Exceptions can then only be thrown for run-time problems (like getDisplay()
returning null), so we let those go as runtime exceptions.
Change-Id: Idccbb3490e6a0ed9dc83c1f7582c61251ec09142
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17857
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Wed, 23 Oct 2013 21:04:17 +0000 (17:04 -0400)]
tmf: Bug 420220: TimerThread leak
Change-Id: I5d82dc669dd6f1a4023072e18fe775d5a3414f9d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/17707
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 29 Oct 2013 18:13:52 +0000 (14:13 -0400)]
lttng-rcp: remove unnecessary maven nature of branding project
Change-Id: If039938f8bc6fcefd31048f3958ede114a69cb2a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17852
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Sat, 19 Oct 2013 02:51:52 +0000 (22:51 -0400)]
tmf: Use long[] instead of List<Long> in CTF integer-array fields
Fixes a warning with Eclipse 4.4, as it doesn't like unchecked conversions
from non-generics types (here Object) to a type with generics.
Change-Id: I7645b61aebea8e76642572c8ad02d37abb1552d6
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17549
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Thu, 24 Oct 2013 18:35:11 +0000 (14:35 -0400)]
lttng: fix property display of function probe event Bug 419454
Change-Id: I4355b74e53c0241acf7f314477c7ea1695b91e21
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17745
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Thu, 24 Oct 2013 20:28:43 +0000 (16:28 -0400)]
[TMF] Don't enable OK button in delete supp files dialog unless something is selected
Bug: 420332
Change-Id: I66b4ab6e5b6529251db4657bf8ab21646e59de2d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17748
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Marc-Andre Laperle [Wed, 23 Oct 2013 18:18:11 +0000 (14:18 -0400)]
[LTTng] Fix BufferOverflowException batch importing LTTng UST trace
Bug: 420203
Change-Id: Id0d793b39ad28c80fd04d61bcd2646b419656e9e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17699
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 23 Oct 2013 05:50:28 +0000 (01:50 -0400)]
[TMF] NPE in BatchImportTraceWizard.recurse
Put the absolute path of the file in the map to make it consistent with
how we query the map.
Bug: 420132
Change-Id: Id995ab06e31e0dd9b01c2c31f4d929f6b75aa944
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17676
Marc-Andre Laperle [Wed, 23 Oct 2013 03:57:04 +0000 (23:57 -0400)]
[TMF] Don't swallow exception in Batch import "startUpdateTask"
One of the tasks in Batch import swallows exceptions making it much more
difficult to figure out what went wrong. Another one was being printed
to standard output.
Change-Id: Ife9c61dee1e57db4af11986739b712ca43c1f7c9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17675
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Wed, 16 Oct 2013 23:08:39 +0000 (19:08 -0400)]
ctf: Drop the get-traces.sh script
We have a get-traces.xml Ant script already, which is slightly more
portable. No need to keep two redundant scripts in sync.
Change-Id: Ic17334d1309e8e822b1c7a545cfda35b985fe5e4
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/17548
Marc-Andre Laperle [Mon, 21 Oct 2013 18:26:34 +0000 (14:26 -0400)]
lttng-rcp: Use tar.gz on Mac, it is supported by default
Change-Id: Id7a224cf842d721e7804b34a627c3930bf986808
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17601
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Fri, 11 Oct 2013 23:01:11 +0000 (19:01 -0400)]
Add ... to Configure min max because it's a dialog
Change-Id: I789ab46612905c6ddbd52196cc87b6095c640094
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17320
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Tue, 17 Sep 2013 12:58:10 +0000 (08:58 -0400)]
lttng-rcp: create separate RCP branding feature
Having a separated branding feature makes it easier to build
other RCP products based on the LTTng tracing RCP using own
product definition and branding.
Also update the LTTng releng to provide the RCP feature on the
LTTng update site.
Change-Id: Id265e3f2e71247c55ed1590aedecca6d312b3bbb
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16647
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Wed, 3 Apr 2013 17:26:39 +0000 (13:26 -0400)]
tmf: Split the statistics in two separate providers
Use separate state providers and backends (and so, two separate .ht files)
to store the statistics information. This will make it easier to eventually
swtich the event-types provider to a partial history backend - two one-liners
basically (or do we say one two-liner?)
Change-Id: If11956af12795a406f42c05b2cd67f82867850da
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11458
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Tue, 15 Oct 2013 20:31:55 +0000 (16:31 -0400)]
tracing rcp: Press F1 to get help
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Change-Id: Ie5a150637e3e20e614fe31f8e4ecf8913afb7abf
Reviewed-on: https://git.eclipse.org/r/17473
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Wed, 16 Oct 2013 22:34:32 +0000 (18:34 -0400)]
ctf: Take alignment into consideration for Strings too
The alignment was not taken into consideration at all when reading
strings. It seemed to work so far for standardly-aligned fields, but
it stopped being the case with funky alignments.
This seems to fix bug #419536.
Change-Id: I4bbcb4dff2e8b68f0d86557d84b158131a9945d7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17438
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Wed, 16 Oct 2013 22:32:07 +0000 (18:32 -0400)]
ctf: Log errors when events cannot be read
This lets the user have a way of knowing something when wrong when
reading the trace, instead of silently gobbling the exception.
Change-Id: I8aef2cddde147a95075e9935aafc62e993a9cdcd
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17437
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Jérémie Galarneau [Wed, 16 Oct 2013 20:51:55 +0000 (16:51 -0400)]
Fix Float reading in CTF traces
Ensure that the BitBuffer's potision is aligned properly with respect
to the FloatDeclaration's alignment constraints before reading the
value.
Reference bug #419536
Change-Id: Ia0e5aadb7baa7899cbddaded1bfe593ea734e89c
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Reviewed-on: https://git.eclipse.org/r/17432
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 16 Oct 2013 22:00:02 +0000 (18:00 -0400)]
ctf: Clamp float and integer declaration alignments to 1
Alignments < 1 don't make much sense, so make sure the stored value is
always at least 1. StructDeclaration was doing this check, but Integer
and FloatDeclaration were not.
Change-Id: Iedb42a6fdda8706b7e8f522df10f67f2145bbba2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17434
Tested-by: Hudson CI
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Fri, 20 Sep 2013 21:12:25 +0000 (17:12 -0400)]
tmf: Add unit tests for lost event statistics
Dropped the core.statistics messages file, use the string defined
in the CTF plugin for lost event names (it shouldn't really be
externalized).
Change-Id: I7f6a3ecb7b3be5c7a665a44a8c2882d3bb42419f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16664
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Alexandre Montplaisir [Mon, 7 Oct 2013 22:28:22 +0000 (18:28 -0400)]
tmf: Dipose traces in CtfTmfTestTrace
Automatically dispose existing traces in CtfTmfTestTrace. This ensures
much more consistent behavior between tests. This required fixing some
tests that did bad assumptions.
Change-Id: I962044e741bd1e12505761d3d4257c0d76cfc5e4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17137
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Mon, 7 Oct 2013 20:31:33 +0000 (16:31 -0400)]
tmf: Don't use .deleteOnExit() in unit tests
deleteOnExit() guarantees the file will be deleted *when the JVM exits*.
However, in most cases with unit tests, you want to clean up at the end
of the test, and not wait until the whole test run is over. This gives
more consistent behavior when running different tests in a different order.
So instead use a simple .delete() in @AfterClass methods.
Change-Id: I07f277dbe85b66659ca66c996b232cd64bb6868f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17136
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Fri, 4 Oct 2013 19:44:19 +0000 (15:44 -0400)]
[TMF] Remove TmfStringLocation
TmfStringLocation is not used except in tests and since we expect all checkpoints
to be of the same fixed size, it doesn't really make sense to keep this class around anymore.
Change-Id: I870c72fe6a26dd15cec7249393221cc9907bc340
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17047
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Wed, 2 Oct 2013 19:17:35 +0000 (15:17 -0400)]
[TMF] Handle custom traces in TmfTraceType in a more consistent way
Instead of storing the custom trace types by human readable name, store them by traceId like the other trace types.
The trace Id is the canonical name + the definition name. This makes it consistent with TmfTraceElement.getTraceType.
Also, consolidate code that can reuse TmfTraceType.setTraceType.
Change-Id: Iac81c8d4fdf18eb83a84052c4c47d70d94cd64d5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16977
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Wed, 29 May 2013 21:01:01 +0000 (17:01 -0400)]
tmf: Re-add null annotations to tmf.core.statevalue
Revert the revert in
9885a77c775e59e8ad72d5cc4495f4d1fea1c964.
Current master doesn't compile with Eclipse < 3.8 anymore, so since
this is our new oldest-supported version, we can put the null
annotations back in (those also require >= 3.8 to even compile).
Since the package is only needed at compilation and not at runtime,
it should not be added to the dependencies in MANIFEST.MF, but to
the build.properties file. As indicated in
http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_null_annotations.htm
Change-Id: I96a8bfd8f43296cf4eee196d0e44641f2822153c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16527
Tested-by: Hudson CI
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 2 Oct 2013 23:33:54 +0000 (19:33 -0400)]
[TMF] Fix current API errors for version 2.2
Change-Id: I1267e65ee6805431dbb97f5072afc4e5978c06a9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16978
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Tue, 24 Sep 2013 17:53:17 +0000 (13:53 -0400)]
Bug 416316 - New > Tracing Project appears in unrelated perspectives
Only enable the wizard in tracing related perspectives.
Change-Id: If448514e7edcadde723abe9ca6c53848dc3fb467
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16730
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Jean-Christian Kouamé [Fri, 16 Aug 2013 17:52:14 +0000 (13:52 -0400)]
tmf : Update the histogram to handle lost events correctly
Add a checkbox to toggle displaying the lost events
Display the lost events' bars in the histogram
Change-Id: Iba72f479455cadc4150efadf695f943a6572f3d2
Signed-off-by: Jean-Christian Kouamé <kadjo.gwandy.jean-christian.kouame@ericsson.com>
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
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/15555
Bernd Hufmann [Mon, 19 Aug 2013 16:59:04 +0000 (12:59 -0400)]
lttng: Add snapshot support - LTTng Tools v2.3
Support for commands
- lttng create <session> --snapshot OPTIONS
- lttng snapshot list-output
- lttng snapshot record
Not supported
- lttng snapshot del-output
- lttng snapshot add-output
- lttng snapshot record OPTIONS
Change-Id: Id8b8a6bc487c0fe792ffe74981f42dbc1d42a81c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16644
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Matthew Khouzam [Thu, 26 Sep 2013 20:25:38 +0000 (16:25 -0400)]
tmf: Fix in-memory backend to use a TreeSet insead of a list
The query performance is superior and it handles receiving different
attributes with different end times out of order. (within the spec)
Change-Id: Iba72f479455facedecacaadf695f943a6572f3d2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16816
Tested-by: Hudson CI
Geneviève Bastien [Thu, 12 Sep 2013 19:42:34 +0000 (15:42 -0400)]
Tmf: Rework test trace stub for non-ctf traces
Change-Id: Ica47ed67824ea77d975c683fd0794ef6e6840d35
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/16423
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 18 Sep 2013 22:23:45 +0000 (18:23 -0400)]
Add .DS_Store to gitignore
This file is a hidden file created on Mac that contains extra folder information and should be ignored.
Change-Id: I4cb5cc410ada33fb6d6090a8ab0ff842ca4b3844
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16573
Tested-by: Hudson CI
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Thu, 15 Aug 2013 20:11:32 +0000 (16:11 -0400)]
tmf: Add unit tests for lost events in CTF traces
Adds a small UST trace with lost events to the test traces.
Change-Id: Ibe4ff49e665879d1472084aa0fdc461c2b80f872
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16144
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Wed, 11 Sep 2013 19:31:47 +0000 (15:31 -0400)]
Bug 417036 - [TMF] Legacy import: Trace type is not set after importing custom trace
Change-Id: I1db889718bf5985b6b0e3ae6395dd958a399ef6e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16342
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Wed, 4 Sep 2013 14:45:20 +0000 (10:45 -0400)]
lttng-rcp: Fix installation problem from p2 update site
Change-Id: I5d719bf68d2c2c140474fc59bdb3c79c2ce8c9cf
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16114
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Thu, 5 Sep 2013 19:21:20 +0000 (15:21 -0400)]
Bug 416665 - Fix Delete Supplementary Files not showing in menu
Change-Id: I07f7911413de0861804d43e115fc7b2c4220e703
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16169
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Fri, 30 Aug 2013 18:36:07 +0000 (14:36 -0400)]
tmf: Add copyright headers to tests
Change-Id:I3ec67a7a3ea32ee3264d5910592486cd522058c8
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16012
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Wed, 4 Sep 2013 19:12:58 +0000 (15:12 -0400)]
tmf: Rework test trace classes
Currently, test traces are accessed using array indices, which is simple
but scales very badly. It's also very confusing when writing a new trace
and wanting to decided which test trace to use.
Rework the test trace classes by replacing them with enum's that do the
same thing. Unfortunately, you cannot extend enums, so duplication of the
names is needed, but everything else is centralized in one place.
Change-Id: I6e598048531682428c1142c18d1760c21de5aeac
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16143
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Alexandre Montplaisir [Tue, 10 Sep 2013 16:41:14 +0000 (12:41 -0400)]
tmf: Move statevalue unboxing method implementations to the base classes
Made the default methods in TmfStateValue always throw exceptions.
Implementations can then override those for the types they support. Also
added some messages to the unboxing exceptions, to help when debugging.
Tweaked IntegerStateValue's so that they can be unboxed into a long,
since this will always be safe. The opposite however is not permitted.
Change-Id: I492a53e8daf1141c8aefa1c0ad1f005af8e77c30
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16294
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Marc-Andre Laperle [Fri, 6 Sep 2013 21:30:34 +0000 (17:30 -0400)]
Add target platforms for Eclipse 3.8, 4.2, 4.3 and staging (4.4)
Change-Id: Ieccda11821094229414af01505ffdb1d269b1fe7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15906
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Marc-Andre Laperle [Wed, 4 Sep 2013 22:52:04 +0000 (18:52 -0400)]
Bug 416578 - [TMF] Select/Deselect All buttons in delete supplementary files
Change-Id: I47db7273801dd829807b63aa99044521892163cf
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16146
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Wed, 4 Sep 2013 20:29:47 +0000 (16:29 -0400)]
Bug 416574 - Fix NPE when deleting supplementary files in experiment
Change-Id: I7ba4577b8cdfe64af000589ff0e354ea3aa8f05b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16139
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Fri, 30 Aug 2013 18:36:23 +0000 (14:36 -0400)]
tmf: Bug 416187: Multiple editors opened with same trace name
Change-Id: Ic411244d74202208f1f7505ca09795e88915050b
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/16014
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Fri, 30 Aug 2013 18:25:21 +0000 (14:25 -0400)]
tmf: Bug 416167: Buggy trace freezes UI when restored at start time
Change-Id: I48ab2f7d32542daaa054861c3eaaac9142754b94
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/16013
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Thu, 29 Aug 2013 17:29:33 +0000 (13:29 -0400)]
tmf: Bug 415707: Trace already opened should not be re-opened
Change-Id: I661e2d5fc27e456aa47e91bb6edeafd51d027e59
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15983
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Tue, 9 Jul 2013 22:40:43 +0000 (18:40 -0400)]
tmf: Update statistics providers to handle TmfLostEvents
We do not want to count the "lost" events in the events total,
but it's interesting to show them like any other event type.
refs bug #408373.
Change-Id: I70956a78a2fb150fe47f259b4136332f705ef147
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14519
Tested-by: Hudson CI
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Thu, 15 Aug 2013 05:38:14 +0000 (01:38 -0400)]
ctf: Use "meta events" for lost events (bug 408373)
Instead of sending one event object for every single event reported as
lost in a CTF trace, only send one CTFEvent indicating how many events
were lost, in which time range.
On the TMF (ctfadaptor) side, we add a new CtfTmfLostEvent class to
wrap those. This way, only one entry shows up in the Events table,
indicating how many events were lost at that point in the trace.
Change-Id: I0c70ec2d5fc77134b67426d053a4d2353e710ab8
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Signed-off-by: Jean-Christian Kouamé <kadjo.gwandy.jean-christian.kouame@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15491
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Wed, 28 Aug 2013 15:19:57 +0000 (11:19 -0400)]
lttng: Bug 416062: Control Flow arrows don't follow through idle state
Change-Id: Ib42709cf5ad4aafff96091690d9f2c7477772cde
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15939
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexander Kurtakov [Thu, 29 Aug 2013 12:34:22 +0000 (15:34 +0300)]
all-tests: Run with less dependencies.
Instead of relying on sdk.[ide|feature] run the tests with
platform.[ide|feature]. There shouldn't be any difference for the tests
as what the sdk adds is the source bundles which are not used by the
tests. This should have some minimal effect to reduce our already way
too long build time.
Change-Id: I57bbc8c5ccb6e0a4575224134e184e13ae581b8f
Alexander Kurtakov [Tue, 27 Aug 2013 19:09:38 +0000 (22:09 +0300)]
releng: Update maven plugins used.
* tycho 0.18 -> 0.18.1
* jacoco-maven-plugin 0.6.2 -> 0.6.3
* maven-site-plugin 3.2 -> 3.3
* maven-project-info-reports-plugin 2.6 -> 2.7
* maven-javadoc-plugin 2.9 -> 2.9.1
* maven-antrun-plugin 1.2 ->1.7
Change-Id: I938a1081f25caeccaeec1bdcad770cd8e2ceadfb
Reviewed-on: https://git.eclipse.org/r/15910
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
IP-Clean: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Jeff Johnston [Tue, 27 Aug 2013 20:43:43 +0000 (16:43 -0400)]
Update parent poms to 2.2.0-SNAPSHOT
- update top pom.xml to properly default Kepler
- update SystemTap feature and ide plug-ins to 2.1.0
Change-Id: I5eeba68b42cf9601f523c822d7dd1a414ece762c
Reviewed-on: https://git.eclipse.org/r/15916
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Patrick Tasse [Fri, 23 Aug 2013 22:08:27 +0000 (18:08 -0400)]
lttng: Update User Guide for time graph arrows
Change-Id: I54cebd26dfc8f9f130d35fc3d842e17e57aab440
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15865
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Tue, 27 Aug 2013 13:04:35 +0000 (09:04 -0400)]
tmf: update developer guide for time range selection
Change-Id: I33e2bf0003f6c8db6c0aada689bef6ba75fee7e6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15888
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Fri, 23 Aug 2013 20:10:28 +0000 (16:10 -0400)]
tmf: Fix for bug 415795: IndexOutOfBoundsException in time graph combo
Change-Id: I8e89eaf0b86b40039a320ba98192198415e5d540
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15821
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Thu, 15 Aug 2013 20:30:18 +0000 (16:30 -0400)]
TMF: Add tmf.ui unit tests for project model
Change-Id: I4524bf0cdc472815d8e9ddf2049469bbaca1b291
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/15518
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Thu, 15 Aug 2013 20:29:19 +0000 (16:29 -0400)]
TMF: Add a getTrace() method to TmfTraceElement
This will return the corresponding opened and instantiated trace from the
trace manager.
Change-Id: Ief78119ee4d75906c881ce2347a420d50b072399
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/15480
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Bernd Hufmann [Wed, 21 Aug 2013 19:26:30 +0000 (15:26 -0400)]
lttng: fix NPE in channel dialog without kernel tracer (bug 415617)
It also fixes the enablement and selection of the per PID/UID
buffer buttons for the case a kernel tracer is not available.
Change-Id: I01ce496914c70f5330beab478c0ce4528cf8df59
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15754
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Wed, 21 Aug 2013 15:03:23 +0000 (11:03 -0400)]
lttng: select loglevel by default for UST events (bug 415589)
Change-Id: Ib949b855224070e9060fecee31931b3a7eefa0f2
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15719
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Wed, 21 Aug 2013 14:02:54 +0000 (10:02 -0400)]
lttng: fix empty string handling in dialogs (bug 415580)
Change-Id: I9839ec7d8238556809cad48a39e44d72736c4544
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15713
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Wed, 21 Aug 2013 12:52:29 +0000 (08:52 -0400)]
[lttng] fix for NPE when creating a tracing session (bug 415571)
Change-Id: I1676c120680a3afb9b9952f6990c0663a76be1d4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15700
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Wed, 21 Aug 2013 16:00:55 +0000 (12:00 -0400)]
tmf: Fix missing @since annotation in TmfTraceType
Change-Id: I779247fd226c031aa6f683255de92096a6c5f3b5
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15740
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Wed, 21 Aug 2013 00:58:44 +0000 (20:58 -0400)]
lttng: fix JUnit tests failures introduced by commit
44908fc1
Change-Id: I3b9e71360e53c4e1f3df2a8d78d53b3a240b50b2
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15682
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Wed, 7 Aug 2013 17:24:57 +0000 (13:24 -0400)]
lttng: update enable channel for UST buffer type
- Update implementation as preparation for LTTng Tools 2.3 which
has a different default buffer type for UST.
- Add JUnit test
- Update user guide
Change-Id: I42901637579015366eb6f09a71c9e9540e1c86ef
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15424
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Fri, 5 Jul 2013 17:39:21 +0000 (13:39 -0400)]
lttng: Fix Resources view event list
With the fix to the event iterator (
42acdc2), it is no longer required
to add 'null' events in the zoomed event list for all empty ranges to
hide underlying events in the full range event list. This simplifies the
building of event list in the Resources view.
If required, 'null' events are added at the start or end of the list to
properly identify the time range that the list represents.
Adds an interface to TimeEvent to split an event while keeping it's
class type and value.
Some trace specific fields are moved out of the generic TimeGraphEntry.
Change-Id: I6b3058227e64e456601b40fa2ea6c0afe3886f14
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/14326
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Tue, 20 Aug 2013 13:10:49 +0000 (09:10 -0400)]
tmf: import bug fix
fixed an error using the api introduced with "file->open"
Change-Id: I9c9ef366f43708ec826642f106047dc0dd088f21
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15652
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Thu, 15 Aug 2013 19:02:36 +0000 (15:02 -0400)]
lttng: improve import from control view (bug 412337)
- Import dialog selects by default all traces
- Import dialog selects default project with name Remote. It will
be created if needed.
- For Kernel traces trace type "LTTng Kernel" will be set
- For UST trace trace type "Generic CTF Trace" will be set
- Trace name in project will be constructed with information about
session, kernel or ust, ust buffer type (UID or PID) etc by
concatenating the names of directories within a session.
- For network traces now the Batch Import Trace Wizard will be opened
instead of the legacy trace import wizard
Change-Id: Ife7c57868d2a4f2b5cbc6b1b6461a677b3998ea8
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15543
Tested-by: Hudson CI
Patrick Tasse [Fri, 9 Aug 2013 18:40:41 +0000 (14:40 -0400)]
tmf: Fix Call Stack view event list
With the fix to the event iterator (
42acdc2), it is no longer required
to add 'null' events in the zoomed event list to hide underlying events
in the full range event list. This simplifies the building of event list
in the Call Stack view.
If required, 'null' events are added at the start or end of the list to
properly identify the time range that the list represents.
Change-Id: I90ab8f91cc6991472a9ea5196a8e5cbee5a55565
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/14599
Tested-by: Hudson CI
Patrick Tasse [Mon, 19 Aug 2013 16:48:40 +0000 (12:48 -0400)]
tmf: Fix StringIndexOutOfBoundsException in time graph
The Utils.formatNs method is fixed to not throw an exception when the
parameter is Long.MIN_VALUE.
The TimeGraphViewer is modified to ensure the time range variables are
kept to 0 when there is no valid time range set (including when the
requested time range is invalid as in [+inf,-inf]). The range is
prevented from going out of bounds due to adjustment for the minimum
time interval.
The TimeGraphControl is modified to disable mouse time selection and
status line updates when the time range is 0.
Change-Id: I62dfe520913d160dac37526f1c02396c34f67830
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15614
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Thu, 15 Aug 2013 18:27:17 +0000 (14:27 -0400)]
Fix some warnings when compiling with 4.4 targetting 4.3.
Change-Id: Ic6268a479c5e720ce9f59867973d20611b1b10f3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15514
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Simon Delisle [Fri, 12 Jul 2013 17:21:28 +0000 (13:21 -0400)]
Tmf: Benchmark for the request scheduler
The benchmark has three tests. The first one is the latency (time
between the creation of the request and the beginning of its execution).
The second one is the average waiting time for a request. The last one
is the total completion time.
Change-Id: Icc8cb47111221aaefb871faab97bb49c8bdf0b03
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14520
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Tue, 13 Aug 2013 23:01:35 +0000 (19:01 -0400)]
lttng: Set API builder settings as project settings
This is pretty much the same as the default project settings, but
if somebody somehow changed the settings for their workspace, they
will at least get the one we expect for the plugins here.
Change-Id: I77a371123e4eff73e70bba4a4e4404c2f19ebe10
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/15450
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Simon Delisle [Wed, 14 Aug 2013 18:35:31 +0000 (14:35 -0400)]
Ctf: add removeIterator() to prevent OutOfMemory exception (Bug 414998)
Change-Id: I0a42a1b4d7eb14b37bc97471dba1b4aae44d2f4c
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15487
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
This page took 0.04714 seconds and 5 git commands to generate.