Geneviève Bastien [Mon, 15 Dec 2014 20:49:05 +0000 (15:49 -0500)]
TMF: Add utility method to return the result of an aspect for an event
This method avoids having to iterate through an event aspect iterable and
breaking as soon as it resolves to nonNull for a given event. The result of
the aspect's resolve(ITmfEvent) is returned. It can be null, but if it is
not, it can be safely cast to the aspect's return type.
Change-Id: I83cd2e56ad30c77608d9b184ede6d9df3240393a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/38301
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Wed, 14 Jan 2015 22:07:04 +0000 (17:07 -0500)]
os.linux: Rewrite a CPU usage test in a less insane way
Change-Id: Ia694681d6faaa2ce81b8de56c6b5816408f4d0ae
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39632
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Wed, 14 Jan 2015 20:23:37 +0000 (15:23 -0500)]
Fix path to look for Mylyn Wikitext in case of shared installations
${eclipse.home} works correctly in the case where the Mylyn plugins are under
the Eclipse installation but it does not work in the case of bundle pools,
for example /home/user/.p2/pool/plugins. Instead, ${osgi.syspath} can be used.
Change-Id: Ife437c6efe1b7677210cd5cb444cf689c4384874
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39626
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Wed, 14 Jan 2015 22:31:02 +0000 (17:31 -0500)]
ctf: Add flipping-endianness trace to the gitignore
Change-Id: Ib17ff7f179ecf01b10a0ebd96cabeb0cca01848f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39633
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Wed, 14 Jan 2015 19:32:06 +0000 (14:32 -0500)]
Fix references to linuxtools in ant build files
This prevented the "refresh after build" from working correctly.
Change-Id: I560a1c59db80c3cdf2b767543a82d209e61b305e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39620
Matthew Khouzam [Fri, 9 Jan 2015 15:24:36 +0000 (10:24 -0500)]
ss: make state system more inline with coding style
change variable names to be more fCamelCase
Change-Id: I31d9d5c712eb70c6286c5909e660263e1409f39b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39087
Marc-Andre Laperle [Wed, 14 Jan 2015 04:39:30 +0000 (23:39 -0500)]
Add test trace for flipping endianness (bug 453673)
Change-Id: I0e6028875683cc14489baf5f2fe8007c52b2dad6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39550
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 13 Jan 2015 11:58:39 +0000 (06:58 -0500)]
tmf: add schemas to build.properties file (bug 457322)
Change-Id: If5f30932e4c9225688a9dd01f9257acfc7b9ed62
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39471
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Mon, 12 Jan 2015 21:32:21 +0000 (16:32 -0500)]
Copyright header update, 2015 edition
Change-Id: I412ce918833500e1c8a9f864c25b3c487d384b15
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39427
Matthew Khouzam [Tue, 13 Jan 2015 01:08:59 +0000 (20:08 -0500)]
btf: fix order of modifiers in BtfEventPropertySource
Change-Id: Ie833ab7087eadaef7172c405ae7726622a57f71e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39443
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Francis Giraldeau [Wed, 24 Dec 2014 18:40:22 +0000 (13:40 -0500)]
TMF: Introduce a fast linear timestamp transform
The fast timestamp transform uses standard integer arithmetic to compute the
the transform, instead of BigDecimal, yet producing monotonic timestamp within
3ns of the original function.
Test that the fast transform yields about the same results as the original
function, either forward or backward, and also verify that the cache is
effectively used.
The benchmark results are:
Transform | time (ms)
-----------------------
original | 17310
fast | 256
This benchmark suggests that the fast transform is about 67 times faster than
the original transform.
Change-Id: Ifdf8e23b3e042bf1f2b0454e64a4ab4c47d408d4
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38770
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Fri, 19 Dec 2014 19:34:27 +0000 (14:34 -0500)]
tmf: Bug 422341: Mouse wheel on horizontal scroll bar a bit too small
- Remove the built-in horizontal scroll bar from the time graph control
- Add method to programatically scroll left or right in time graph
control
- Scroll horizontally instead of zooming on mouse scroll over horizontal
scroll bar, zoom on Ctrl+mouse scroll (Windows)
- Add a horizontal slider to the time graph viewer
- Scroll horizontally and ignore the slider's internal selection event
on mouse scroll, zoom on Ctrl+mouse scroll (Linux)
Change-Id: Ibee72b075c5344d1184fbd5f8fb75c6692f3fe21
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38590
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Fri, 9 Jan 2015 22:55:29 +0000 (17:55 -0500)]
Add SourceReferences to plugins
This allows the user to clone and checkout the source code of Trace Compass
without knowing where the repository is. See:
https://wiki.eclipse.org/PDE/UI/SourceReferences
One use case is to right-click on a plug-in under the Plug-in dependencies in
Package Explorer view and select Import from Repository. Note that for this
EGit needs to be installed.
What this patch does is to let Tycho generate the source references in the
MANIFEST.MF of the built jars. So to test this patch, one can build the update
site locally and inspect the manifests of the (non-source) jars.
Change-Id: Ie28c96a03df01fa9f15b13ccc6e0662f2cb3d0f4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39339
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Fri, 9 Jan 2015 00:15:09 +0000 (19:15 -0500)]
tmf: Re-organize the SWTBot test plugin
* Move each test family in packages named similarly to their
runtime equivalents.
* Move the things meant to be reused by other swtbot test plugins
in a "shared" folder.
* Simplify the ConditionHelpers class.
Change-Id: I00cce218695d73f02722a14d248b456242d091f7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39243
Reviewed-by: Hudson CI
Alexandre Montplaisir [Thu, 11 Dec 2014 15:14:27 +0000 (10:14 -0500)]
tmf: Remove equals()/hashCode() from TmfEventRequest
Separate event requests should never be considered "equal", the only
thing the method could do is "return (other == this);", which is pretty
much what Object.equals() does.
Change-Id: Ia5723b65402c27acec83e76196d6dbda22f710d7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37762
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Geneviève Bastien [Thu, 6 Nov 2014 15:11:01 +0000 (10:11 -0500)]
TMF: Add @NonNull annotation to some TmfTraceManager methods
And have get*TraceSet* all return Collections instead of sometimes Set,
sometimes ITmfTrace[], sometimes null
Change-Id: I16769cd1e3adb5bc3846d9c078b6ddf1dc77fd4a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/36041
Reviewed-by: Hudson CI
Marc-Andre Laperle [Fri, 9 Jan 2015 21:05:47 +0000 (16:05 -0500)]
tmf: Add missing test files in jars and make XmlAnalysisModuleSource safer
If the analysis.xml.ui.tests binary plugin is present in an installation,
XmlAnalysisModuleSource looks for an inexistant file and throws a NPE.
In this patch, the missing files are included and XmlAnalysisModuleSource
is made safer in case an extension throws an exception.
Change-Id: I28669c4d6f0ae61af15d1e6cc48a8c7a16e1d783
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39156
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39333
Reviewed-by: Hudson CI
Alexandre Montplaisir [Wed, 3 Dec 2014 22:07:46 +0000 (17:07 -0500)]
Extract the linux-kernel-specific things into their own plugin
This will allow better separation of analyses that do not depend on a
specific kernel tracer (LTTng, perf, ftrace,...) vs those that really
depend on LTTng.
Change-Id: I9a3e018df91c90cc33d3066f49b7ac5be8bdb3d4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38385
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Thu, 8 Jan 2015 06:05:45 +0000 (01:05 -0500)]
Support for upgrading Linux Tools features to Trace Compass
This patch modifies each feature's p2.inf files so that it can be upgraded from
the matching feature in Linux Tools.
The lines to add the Trace Compass repository are now only in the TMF feature
to avoid a lot of duplication and it is only necessary to put this in a "base"
feature that the user is likely to install. This is only a shorcut so that the
user doesn't have to add the update site manually.
Change-Id: I81a5e65c151995888df78f4b47282d6ad1cfcf06
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39164
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Thu, 8 Jan 2015 22:05:28 +0000 (17:05 -0500)]
lttng: Remove the lttng2.kernel.ui.tests plugin
It's empty (save for a dummy Activator test), and this plugin is
well covered by SWTBot tests already.
Change-Id: I16e21f542971bd912fe2848c99b8602d1d89b6d5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39242
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Mon, 15 Dec 2014 20:24:30 +0000 (15:24 -0500)]
TMF: Make the ITmfEventAspect#resolve nullable
A null value has the advantage to really show an aspect is not available for
a given event instead of having to find of dummy empty objects that we need to
compare with in most cases.
With the new common NonNullUtils class, it is now easy to convert a null value
to something useful, like a nonNull String, so it does not add useless null
checks to the code.
Change-Id: I9f41ec6522b5132244c630ce9a6b174599802954
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38297
Reviewed-by: Hudson CI
Geneviève Bastien [Mon, 15 Dec 2014 20:15:23 +0000 (15:15 -0500)]
common: Replace the String parameter in nullToEmptyString() by Object
Change-Id: I9deb9a2be7b39a45d90391716c02ffa7d2bc4b0a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/38296
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Mon, 15 Dec 2014 22:48:44 +0000 (17:48 -0500)]
tmf: Null-annotate state system API classes
The main culprits here are the createStateProvider() method, that need
to pass a @NonNull trace, but simply take the result of getTrace() which
is already marked @Nullable. Simply wrapping them in checkNotNull() calls
feels lazy, but it's still better than the current situation.
Change-Id: Ic1ceb149cbb06e6f91a3351ef757231907a67ae2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38308
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Mon, 5 Jan 2015 18:10:05 +0000 (13:10 -0500)]
tmf/ctf: Speed up CtfTmfEvent#getType
This is called once per event per analysis
Change-Id: I9d975031ea5649e74fca0916f5190d08f35844d0
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38995
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Mon, 22 Dec 2014 17:29:32 +0000 (12:29 -0500)]
tmf: clean-up event provider package cycle
Change-Id: Ia6a9339ef41fecaa5d8b9bff89c2b929dff8afa9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39131
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Fri, 19 Dec 2014 20:31:34 +0000 (15:31 -0500)]
[LTTng Control] Store error stream output in command result (Bug 455801)
Change-Id: I9487153bc9b3a9ae653157615fba1cf03f2e56fb
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38739
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Fri, 19 Dec 2014 16:27:19 +0000 (11:27 -0500)]
[lttng control] Use List<String> for control commands (Bug 455382)
By doing this, it's not necessary to surround commands with wildcards
and filters with quotes which made these commands fail using
org.eclipse.remote/Built-in SSH and org.eclipse.remote.Local.
For the PTP RSE adapter for org.eclipse.remote, the user has to enter
quotes otherwise the command will fail. The UI was changed to allow
quotes in the text boxes.
Change-Id: I2185c5b658f635ff491a6022fab206c208ca5d8f
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38738
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Mon, 5 Jan 2015 22:44:37 +0000 (17:44 -0500)]
tmf: Fix IndexOutOfBoundsException in OffsetDialog
Exception occurred when opening the dialog from an empty experiment or
trace folder.
Change-Id: I454f76f24b3af3602fd2c52111ad63b1aae190e0
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39008
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Fri, 12 Dec 2014 23:09:02 +0000 (18:09 -0500)]
Add source features to update site
Change-Id: I4893c6f1d9303332bc79038372159c1055093206
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38183
Reviewed-by: Hudson CI
Marc-Andre Laperle [Mon, 5 Jan 2015 20:22:20 +0000 (15:22 -0500)]
Fix build error related to null annotations
Change-Id: I05bd255254bf6542a35bf2ee3d34e297da976f8d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39000
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 2 Dec 2014 12:32:33 +0000 (07:32 -0500)]
tmf: Make Pair utility class non-null and immutable
Nullable generic types summon all sorts of hells with Java 8
type annotations. Making this class immutable and non-null
makes it much easier to handle.
Change-Id: I58007eaa488db337d0f34698e3144f232ee3c784
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37517
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Mon, 22 Dec 2014 18:47:58 +0000 (13:47 -0500)]
tmf: add utilities to support '\' and ':' in path manipulation
Change-Id: I52dcaaeebd33e58c32061307baec532e6bc219e7
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38691
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Mon, 22 Dec 2014 22:56:02 +0000 (17:56 -0500)]
Fix more cast warnings (errors) when targetting 4.5
Change-Id: Idb30ee34374e5c0efd005146ed80709ac260d806
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38700
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Thu, 4 Dec 2014 03:53:03 +0000 (22:53 -0500)]
TMF: Add tracing capabilities for analyses
Change-Id: Ic8eede9defc25eb604bb453f8d1efde7608a85f2
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/37599
Reviewed-by: Hudson CI
Geneviève Bastien [Thu, 4 Dec 2014 02:46:32 +0000 (21:46 -0500)]
LTTng: Add unit tests for the virtual machine analysis
Tests the virtual CPU state system and its integration with LTTng kernel
analysis.
Change-Id: I22467a6d6d502e60d87ee37322c4df83834f7575
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/37601
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Mohamad Gebai [Thu, 4 Dec 2014 02:40:56 +0000 (21:40 -0500)]
LTTng: Introduce the virtual machine analysis analysis and core model
This patch includes the core part of the virtual machine analysis:
* An experiment type for experiments containing guests and host traces
* A generic model for hypervisors to determine which virtual CPUs of which
guests run on which hosts
* The implementation of that model for the Qemu/KVM hypervisor
* The virtual machine analysis itself, tracking the state of the virtual CPUs
of the guests
Change-Id: I5763687fac627c78ae07b58ec60d907cf7339ff8
Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/37600
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Thu, 20 Nov 2014 21:04:08 +0000 (16:04 -0500)]
LTTng: Add analysis specific methods to LttngKernelAnalysis
Change-Id: Ie5ea536fcd050177a4dfcc8bcc08f33d1cd14783
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/36816
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Fri, 19 Dec 2014 22:49:32 +0000 (17:49 -0500)]
rcp: Fix not being able to print the Sequence diagram
Bug: 436440
Change-Id: I09b0169602b16eaef4759119d2cc32d6d3c0ac3a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38455
Reviewed-on: https://git.eclipse.org/r/38600
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 16 Dec 2014 20:59:50 +0000 (15:59 -0500)]
rcp: Add missing plugin dependencies to the RCP
Change-Id: Ic2a5352918db2a2875b7ecc2c3cc43ad5eb9f3ca
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38383
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Tue, 16 Dec 2014 19:50:44 +0000 (14:50 -0500)]
Upgrade to Tycho 0.22.0 (again) and newly released JBoss plugin 0.22.0
Change-Id: Iaf68a882135a13fc1184c90370b6fe0975f4ac6a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38377
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 26 Nov 2014 22:42:56 +0000 (17:42 -0500)]
tmf: Use TmfFilterMatchesAspectNode's in the event table
This will allow filtering/searching on aspects in the event table,
which is more flexible than fields with field IDs.
With this switch, we can now remove the notion of getFilterId() from
the event aspects.
Change-Id: Iecbc47de06c44ef2d114dc3225cd094c111f1f08
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37124
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Tue, 2 Dec 2014 13:58:28 +0000 (08:58 -0500)]
Use the NonNull utility methods where we can
This could allows us to bump the "check conversion of non-annotated
type to @NonNull" warning to error, but we can't at the moment because
of bug 453474.
Change-Id: If3265067e68627b6379770fb5503259760c67b18
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37618
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Marc-Andre Laperle [Fri, 12 Dec 2014 21:59:18 +0000 (16:59 -0500)]
Support for live sessions using LTTng MI (2.6)
Change-Id: I946559f931dd20cc954a4714e647e6fd67ef502e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38180
Reviewed-by: Hudson CI
Matthew Khouzam [Mon, 15 Dec 2014 11:25:52 +0000 (06:25 -0500)]
lttng.control: make live timer a long
Change-Id: Ia24d268ac4ead13fc86e057aebc236a43d23ec8a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38234
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Sat, 29 Nov 2014 16:43:53 +0000 (11:43 -0500)]
ctf: make StringDeclaration "static"
StringDeclarations are only really available in 3 flavors, so this
creates an immutable object of each type.
Change-Id: If06a89ad285f262a386379fe1fa74ea6bacf9863
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37316
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Matthew Khouzam [Tue, 25 Nov 2014 23:28:53 +0000 (18:28 -0500)]
ctf: fix checkstyle for ctf.core
Many magic numbers
Final classes
Change-Id: Id89c8028fe3e402130a31279ce564228a86fa87b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37088
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Mon, 1 Dec 2014 19:32:13 +0000 (14:32 -0500)]
Bug 453706 - Uncategorize RCP and Testing features
The RCP features should not be installed by users but should be available
for RCP extending Trace Compass. The Testing feature is also not meant to
be installed by users manually.
Change-Id: I208d49d8a10d7898969cad73b621b268756b43f5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37420
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Thu, 11 Dec 2014 21:06:17 +0000 (16:06 -0500)]
Remove Uncategorized category using JBoss plugin and downgrade Tycho
The JBoss doesn't support Tycho 0.22.0 yet.
Change-Id: I44dd080d8c0e6a9bdf071a7aa3005c00be4fdfb1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38070
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Simon Marchi [Thu, 11 Dec 2014 20:08:39 +0000 (15:08 -0500)]
Implement TmfRangeSynchSignal toString
I found it sad that TmfTimeSynchSignal had its toString but not
TmfRangeSynchSignal. This commit fixes the injustice.
Example of the result:
TmfRangeSynchSignal [source=\
org.eclipse.tracecompass.tmf.ui.views.histogram.HistogramView@
3a7b058e, \
range=TmfTimeRange [fStartTime=03:02:54.940 166 462, \
fEndTime=03:02:54.977 325 374]]
Change-Id: Ic3accae7610e454736497251c170fbdecb9b83fb
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/38067
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Thu, 11 Dec 2014 16:40:33 +0000 (11:40 -0500)]
Remove unintentional dependency to CTF in TMF feature
Change-Id: Iad0b96e142410072e2758e07035b97fa459e9dfa
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38059
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Thu, 11 Dec 2014 14:55:38 +0000 (09:55 -0500)]
tmf: Fold ITimeEvent2 into ITimeEvent
Also split the one method in ITimeEvent2 into two separate ones,
since the Pair object was never used, so we can return the two
separate values directly.
Change-Id: Ia711b9cacf803b3afab1982a831478aef0bc38e1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38039
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Thu, 11 Dec 2014 15:47:53 +0000 (10:47 -0500)]
tmf: Synchronize on a class literal, not on this.getClass()
Change-Id: I4612e842d8494d651c37bc77b4109f03dba4056a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38051
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Tue, 2 Dec 2014 13:58:28 +0000 (08:58 -0500)]
common: Add utility class for non-null things
These utility methods should help avoid the crufty
@SuppressWarnings("null")
@NonNull ret = ...;
return ret;
pattern we had been using so far.
Change-Id: I8c1aa8469dc466a1b42aae799b24789dc23837cf
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37516
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Bernd Hufmann [Wed, 2 Apr 2014 20:11:16 +0000 (16:11 -0400)]
tmf: Update TmfExperiment to new API in ITmfEventProvider
Change-Id: I3ab5f0c8c731921674e693622e5c92265a165ae9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35970
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Mon, 17 Mar 2014 01:49:38 +0000 (21:49 -0400)]
tmf: only dispatch events to relevant event providers
When coalescing request across event providers (e.g. Experiment and
traces) then the requests done on the traces are not interested
in events from other requests. Before this patch each implementation
of handleData() had to do this.
Change-Id: I1482c79ef3a0359b9b3526212c4555b57c102650
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/35969
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Fri, 14 Mar 2014 01:59:40 +0000 (21:59 -0400)]
tmf: add JUnits for coalescing across parent/children providers
Change-Id: I5cbb5a3784962048df5c251cf76912ba1dd6c847
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35968
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 11 Mar 2014 11:44:34 +0000 (07:44 -0400)]
tmf: coalescing across event providers
Change-Id: I971854ba0f062acc0a3480bba90b02ee42082131
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35967
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 11 Mar 2014 20:02:48 +0000 (16:02 -0400)]
tmf: update TmfTraceManager for new API in ITmfEventProvider
Change-Id: I98ff0a37290be4dae1de63ec852beb3d170edd8f
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35966
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 11 Mar 2014 14:09:24 +0000 (10:09 -0400)]
tmf: Add parent/child API to the ITmfEventProvider interface
Change-Id: I2fec1da979033454552c45b52e4e2e3153295cd0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35965
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Mon, 8 Dec 2014 21:10:55 +0000 (16:10 -0500)]
tmf: Fix possible concurrency issue with event request IDs
Protect accesses to the static field with a static lock, to make sure
that all requests really have different IDs. Now that coalesced
requests are put in a Set, the IDs matter.
Change-Id: Iccb226aa6969c8150e0c8cc506b8c68a94e902ee
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37759
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Tue, 9 Dec 2014 20:20:18 +0000 (15:20 -0500)]
Re-enable the "unused method paramater" error
Revert of commit
a6503a11.
Now that bug 439750 was fixed, and a new separate "unused exception parameter"
compiler option was added, we can re-enable the previously-used setting of
"unused method parameters".
This should not break existing 4.4 installations, since the old option didn't
check for exception paramaters at all. Only requirement would be for 4.5 users
to update to the latest integration build.
Only one such error slipped in while the option was disabled, which is honestly
not that bad!
Change-Id: I9d14daea3f004ed000ab9f9b72e46b5954579a8d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37892
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Mon, 8 Dec 2014 21:38:29 +0000 (16:38 -0500)]
Add BTF feature to update site and RCP
Change-Id: Ia1770a3d35e6bd592f8dc8063b951a4375e4de2b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37761
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 9 Dec 2014 03:11:30 +0000 (22:11 -0500)]
rcp: Avoid deleting the index.php on the server
Only include the tar.gz and zip files, which should cover only
the RCP archives.
Change-Id: I39a635da606265f311fe23de2e52a8d5f2bbb962
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37782
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Mon, 8 Dec 2014 03:52:07 +0000 (22:52 -0500)]
tmf: Fix supplementary files always being imported in trace package
Change-Id: Ia7cb4f8434e1221c9a4c1e49e9ce49895a8ec0e1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37765
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Mon, 8 Dec 2014 03:34:46 +0000 (22:34 -0500)]
Add utility method to open a trace in the editor using SWTBot only
Change-Id: Ia98e7c029b46fdae4489e24ddfc0ee8c41963eb3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37715
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37764
Reviewed-by: Hudson CI
Alexandre Montplaisir [Mon, 8 Dec 2014 21:22:41 +0000 (16:22 -0500)]
Delete extra "linuxtools" image
A o.e.linuxtools plugin sneaked its way into the tree in
80f680b!
The exact same picture is already part of the corresponding tracecompass
plugin, so we can safely delete it.
Change-Id: I45ce43ffd3395aeb0cefa7318c0c953ccb4f5fde
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37760
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Thu, 4 Dec 2014 00:07:13 +0000 (19:07 -0500)]
common: Add a new "common" plugin for shared functionality
More and more we're seeing functionality and utils classes duplicated
across plugins. It's making sense to have a central, common plugin that
everybody else can depend on.
Change-Id: I8d98518acb81c43766d1782432180a1eb7a5e12f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37617
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Mon, 8 Dec 2014 19:04:15 +0000 (14:04 -0500)]
tmf: Remove whitespaces in tmf.core/about.html
This plugin is often used as a template when creating new ones, we
should stop copy-pasting those whitespaces!
Change-Id: I382b1a6e75f72dbf144567bf9f39a54ed5fc28db
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37756
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Bernd Hufmann [Sat, 6 Dec 2014 01:58:53 +0000 (20:58 -0500)]
tmf.ui: fix callsite and model lookup regression
The notion of ITmfCallsite is lost when an event is cached as it is now
an CachedEvent which does not implement ITmfCallsite. This patch checks
if the event is cached, and if so, resolves the parent event to
validate.
Change-Id: I99733958bd1ac797fca32c8b293e709f4ddc3cc5
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37120
Tested-by: Hudson CI
Bernd Hufmann [Fri, 14 Nov 2014 19:19:33 +0000 (14:19 -0500)]
rcp: Add version to splash screen
Change-Id: I00936d216604a8bebd8cc2d4f0c079ea7c31f004
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36514
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Fri, 5 Dec 2014 20:23:51 +0000 (15:23 -0500)]
rcp: Remove the symlinks for the nightly downloads
Turns out symlinks don't work on downloads.eclipse.org, probably
for good reasons, so we'll just upload the archives and display
a PHP page that lists them.
Change-Id: I2e337c84ce50e107bed3f05bcb93ab47b54f82dc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37693
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Wed, 26 Nov 2014 23:16:07 +0000 (18:16 -0500)]
tmf: Split off TmfFilterMatchesNode in two
Add new TmfFilterMatchesFieldNode and TmfFilterMatchesAspectNode, which
both extend TmfFilterMatchesNode (which is now abstract). This will allow
using filtering on aspects.
The aspect node is not integrated yet in the Filter View, but it could be
eventually.
Change-Id: I7206c0508eed4fbb16cc22fef97900ca31220328
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37123
Tested-by: Hudson CI
Alexandre Montplaisir [Fri, 28 Nov 2014 22:05:16 +0000 (17:05 -0500)]
rcp: Add a "deploy-rcp" profile to deploy nightly RCP builds
This can be added to the Hudson job to put nightly RCP builds
on download.eclipse.org.
It can be used locally (by overriding 'rcpDestination') but is not
of much use since it doesn't do much more than just copying files.
So I don't think it's worth documenting in the README.
Change-Id: Ic5db3f2fad8f9baec0e96b5d6c041ac09bd8ad9c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37309
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Wed, 3 Dec 2014 18:25:47 +0000 (13:25 -0500)]
tmf.ui: convert long list of catches to a multi-catch
Change-Id: Ifc29e2d334fa940aa165dd461fbd9c3ff7d5bc8a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37514
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Markus Schorn [Fri, 28 Nov 2014 10:20:01 +0000 (11:20 +0100)]
Bug 453499: Allow for programmatically adding a connection to the
Control UI
Change-Id: I0b0dab26c455c371d7fab8fb0aaedf2f4401c19d
Signed-off-by: Markus Schorn <markus.schorn@windriver.com>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37481
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Mon, 1 Dec 2014 19:51:53 +0000 (14:51 -0500)]
ctf: Support changing endianness of a trace, fix bug 453673
The issue is that IOStructGen assumed the endianness of a trace did
not change half way through the tsdl file. Now the elements are progressively
loaded and thus the endinanness is updated as need be.
Change-Id: I8cefbf2f1a841a1decb0722b50cd9ec447bcc2be
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37424
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Alexandre Montplaisir [Tue, 2 Dec 2014 11:58:50 +0000 (06:58 -0500)]
tmf: Use full attribute path for default state system aspect names
The full path is much more informative than only the "basename", and
is much less likely to clash if many aspects are created for the
same state system.
Change-Id: Id0ce0cbc598ec0c59301316621c5450bfa8fb924
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37515
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Wed, 3 Dec 2014 20:04:22 +0000 (15:04 -0500)]
TMF: Change some constant names to comply with a naming convention
Change-Id: If742b4c47aa421991c53dac17d103f9b81c60f8b
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/37519
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Geneviève Bastien [Wed, 29 Oct 2014 17:06:08 +0000 (13:06 -0400)]
lttng: Add unit tests for the CPU usage analysis
The unit tests make use of the XML development trace.
Also correct the fact that a process that hasn't run yet started at -1 instead
of 0. There probably was a reason in the original implementation, but 0 works
fine now.
Change-Id: I3196155c050db32fd6b954abfd73252c1dc89aa3
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35647
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Mon, 1 Dec 2014 16:32:02 +0000 (11:32 -0500)]
TMF: Change timestamps scale of TmfXmlTraceStub to nanoseconds
The reason is wasn't so before is that custom XML traces did not support that
input format, but we can convert manually.
Change-Id: I25f1fa1f8a5ad874f87bccfdbe35a883820fbe45
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/37419
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Thu, 20 Nov 2014 18:47:14 +0000 (13:47 -0500)]
TMF: Add support of aspects to TmfXmlStubTrace
Change-Id: Id729a9284477a44fd1e142e6fd19e3bad3b1894a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/36803
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Wed, 12 Nov 2014 23:37:24 +0000 (18:37 -0500)]
tmf: Add a "Trace" Event Table column for experiments
Also reworked some internal methods in TmfEventsEditor to not return
a table object directly, but rather just a set of event aspects.
This way we can add this "Trace" column only for experiments.
Change-Id: I21536cd11da28f30b1f822a495cd06a4d922064c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37122
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Thu, 27 Nov 2014 23:52:26 +0000 (18:52 -0500)]
rcp: Update picture for the About window
Change-Id: I1c2d27c4c0f4d6b84d10c8f801b093ad9ac3b6fc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37219
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Fri, 21 Nov 2014 20:15:33 +0000 (15:15 -0500)]
TMF: Add some @NonNull annotations to the AbstractTimeGraphView
Change-Id: I772295648eabab3ec3aec16365989478c32e7eff
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35845
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Wed, 5 Nov 2014 17:05:31 +0000 (12:05 -0500)]
TMF: Add a request log message when a request is sent to a provider
Change-Id: Ie2afa3ab84bf393a7de2a6fe46fcee50181b4ac1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35977
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Wed, 2 Jul 2014 19:23:59 +0000 (15:23 -0400)]
TMF: Change event matching key from a list to a plain old java object
This improves performance of the event matching and trace synchronization
Change-Id: Ib8fcb3152e3907d1218bc568bc51f77d7c32c1a1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/36668
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Mon, 3 Nov 2014 20:35:06 +0000 (15:35 -0500)]
tmf xml: Add a few package-info to tmf.analysis.xml.core.model.*
To add NonNullByDefault to classes of the XML model
Change-Id: Ib0e371146aabcc082fcee5d8a61e6b21210abf16
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35848
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Mon, 1 Dec 2014 22:48:24 +0000 (17:48 -0500)]
tmf: Fix AbstractTracePackageWizardPage tree viewer check integrity
Grayed state did not propagate correctly to parent elements.
Change-Id: I3bab56b7b1d8c1b9906356f8e098e1c6fb006500
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/37432
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Fri, 28 Nov 2014 22:37:11 +0000 (17:37 -0500)]
tmf: Bug 451240: Mouse wheel inactive on time graph scale and scroll bar
- Add a mouse wheel listener to the time graph scale to zoom
- Remove the mouse wheel event filter that was added when time graph
control had focus, and replace it with a listener to prevent horizontal
scrolling on mouse wheel events.
Change-Id: Ib2bb917a8e447929843117e9cf55eadac3ed7e6d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/37311
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Tue, 18 Nov 2014 20:51:39 +0000 (15:51 -0500)]
TMF: Remove dependency to CtfTmfTrace for TCP event match definitions
And move them out of the API to internal.
Change-Id: I7e0140f0fa6bf68cf741607077b28475f8ad9f67
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/36671
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Thu, 30 Oct 2014 12:38:22 +0000 (08:38 -0400)]
lttng-control: fix enable events when filtering in tree (bug 450526)
Change-Id: Ie5f79499fd83131e83067c7a33f54f185f2e1100
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36409
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Markus Schorn [Mon, 24 Nov 2014 08:20:59 +0000 (09:20 +0100)]
Bug 448058: Update lttng user documentation: Using Remote Services
instead of RSE
Change-Id: I2e9e7682ed611d25ff1a463b4460ac93c2915212
Signed-off-by: Markus Schorn <markus.schorn@windriver.com>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37114
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Fri, 14 Nov 2014 19:31:51 +0000 (14:31 -0500)]
tmf: Execute TmfEventTable's request handler only on success
The handler for the TmfTimeSynchSignal in TmfEventsTable sends an event
request to "position" the experiment to the correct timestamp/event. This
request executes a seek() on the experiment itself, and is located in the
handleCompleted() callback.
It should be moved to the handleSuccess() callback instead: this
repositioning of the experiment should only be done when the request
finishes succesfully. It should not be run if the request was cancelled,
for example because the executor was flooded with requests and cancelled
some of them.
Partial fix for bug 451615.
Change-Id: I905bb5d19aa0fe40f9d63bfd2e4f60d90aba3050
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36517
Tested-by: Hudson CI
Geneviève Bastien [Wed, 19 Nov 2014 15:59:30 +0000 (10:59 -0500)]
lttng: Remove dependency to CtfTmfEvent in analyses
Change-Id: I944f49f1bf8d2b9cb3933a3a20c0d4a86d806ae9
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36704
Tested-by: Hudson CI
Geneviève Bastien [Fri, 28 Nov 2014 15:49:58 +0000 (10:49 -0500)]
TMF: Change the return type of the CPU aspect to Integer
Change-Id: I8f58d1d72b9ae984d0833d3f15af9793d4d2057f
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/37290
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Mon, 24 Nov 2014 16:28:09 +0000 (11:28 -0500)]
Upgrade to Tycho 0.22
Change-Id: Id5bd57f9dd1197ac6ecbae7720fc18b4e981f73c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36944
Tested-by: Hudson CI
Alexandre Montplaisir [Fri, 14 Nov 2014 17:30:14 +0000 (12:30 -0500)]
tmf: Use a CountDownLatch instead of Object.wait() in TmfEventThread
The current way to manage paused requests in TmfEventThread uses
a wait()/notify() on a custom Object. Since this object is not used
for anything else, we can replace its with a CountDownLatch, which
does the same thing without requiring an additional synchronized lock.
Change-Id: Ie69612769e3554d6e71d030230b409d8a0145450
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36516
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Fri, 7 Nov 2014 23:27:28 +0000 (18:27 -0500)]
ctf: test reading all downloaded traces once
Change-Id: I28e5feef958ab974f411d43ee6e98ed74ac0ca9b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36179
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Fri, 21 Nov 2014 02:02:50 +0000 (21:02 -0500)]
tmf: Make ITmfTrace.getEventAspects() @NonNull
It's easier to deal with empty collections than dealing with
null/non-null references (for Collection.addAll() and such).
Change-Id: I9e8d0091e099027b5da0c15881b73130b4ef2e9d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37121
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Matthew Khouzam [Wed, 26 Nov 2014 06:52:19 +0000 (01:52 -0500)]
ss: remove e.printStackTrace()s from HT_IO
Change-Id: Ieab2def800f88e50548d8f94b1a39c41e401247c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37047
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
This page took 0.044923 seconds and 5 git commands to generate.