Geneviève Bastien [Thu, 27 Jun 2013 15:47:17 +0000 (11:47 -0400)]
tmf: Add getSubField() method to ITmfEventField
This function allows to directly get a subfield, recursively for struct and
variant fields with many levels of embedded fields. Null is returned if
any level of field is not available.
Change-Id: I46691f62036f4e9826ee5f704efda74e71725acc
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/14281
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>
Alexandre Montplaisir [Thu, 11 Jul 2013 15:55:50 +0000 (11:55 -0400)]
lttng: Fix more API annotations
Change-Id: I5fa467efa3a53456255bb91423649e8e99bdfbf8
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14477
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Fri, 5 Jul 2013 22:50:28 +0000 (18:50 -0400)]
lttng: Temporarily update @since annotations for luna
As was done during the previous cycle (
a55a176d, etc.), fake all current
@since 2.x annotations to 3.0. This will ensure that the lttng-luna branch
will keep compiling.
When we ultimately merge this branch back into a 3.0 master, we should get
API errors to indicate where the APIs are actualy 2.x.
Change-Id: I68242175132387783fc36755f8360fcff9665793
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Fri, 5 Jul 2013 22:32:21 +0000 (18:32 -0400)]
Merge branch 'master' into lttng-luna
Conflicts:
lttng/org.eclipse.linuxtools.ctf.core.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFTrace.java
lttng/org.eclipse.linuxtools.ctf/feature.xml
lttng/org.eclipse.linuxtools.gdbtrace/feature.xml
lttng/org.eclipse.linuxtools.lttng2.kernel.core.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.lttng2.kernel.core/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.lttng2.kernel.ui/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.lttng2.kernel/feature.xml
lttng/org.eclipse.linuxtools.lttng2.ui/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.lttng2/feature.xml
lttng/org.eclipse.linuxtools.tmf.core.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.tmf.ui.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.linuxtools.tmf/feature.xml
Change-Id: Ia2f059338062068ca4d5b7cc25d6b2ac447ebba3
Bernd Hufmann [Mon, 17 Jun 2013 12:40:57 +0000 (08:40 -0400)]
lttng: Add Trace Viewer RCP application
This commit contains 3 new projects:
- org.eclipse.linuxtools.tracing.rcp.product for the product
definition
- org.eclipse.linuxtools.tracing.rcp.ui for RCP specific UI including
branding
- org.eclipse.linuxtools.tracing.rcp feature that defines the plug-in
dependencies of the RCP
Also, the maven build has been updated to be able to build the
Trace Viewer RCP for multiple platforms.
Change-Id: I1a1cd9cfd8fa2c1adab732d1f8b9c59ada9895b9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13849
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 3 Jul 2013 21:46:53 +0000 (17:46 -0400)]
lttng: Add a meta-plugin to run all the unit tests
Do not mention the new plugin in pom.xml's, this is for use from
within Eclipse only.
This also required changing many test plugins from fragments to
singletons, so that they can be accessed by the new separate plugin.
Change-Id: I3101e63e531dd91c9d56dc8d77175faf8645ebb1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14242
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Tue, 2 Jul 2013 14:25:46 +0000 (10:25 -0400)]
tmf : Add test to StateSystemTest
This new test will check if the very first interval gets set correctly
in certain cases. This exposed a bug with in-memory backends, which
was fixed in
9898079defaa94bc3f0cf60dc89b1e863ac304da.
Change-Id: I2c79530091eae5f761fa945214b9f46e1cc4457b
Signed-off-by: Jean-Christian Kouamé
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14116
Tested-by: Hudson CI
Jean-Christian Kouamé [Fri, 17 May 2013 16:04:01 +0000 (12:04 -0400)]
CTF : Handle traces with events without eventID
Bug 387039 : First, the eventID was set to null when the event was
created. We change it for -2 as default value when not set. Then, we
must change the way to look for packetIndexEntry to adapt it to the
particular case where there are many packetIndexEntry with the same
timestamp.
Change-Id: Ia3bf16cc1013e41c18b5305978d1b99c30624bdc
Signed-off-by: Jean-Christian Kouame
Reviewed-on: https://git.eclipse.org/r/12949
Tested-by: Hudson CI
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Simon Delisle [Thu, 9 May 2013 16:58:54 +0000 (12:58 -0400)]
Ctf: Callsite bug fix when position is negative (binarySearch)
Change-Id: Id1fdb06c717299f7b0fa8ad0576485d35003ce2b
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14109
Tested-by: Hudson CI
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Jean-Christian Kouamé [Tue, 14 May 2013 22:03:57 +0000 (18:03 -0400)]
ctf: Move integer pretty-printing to IntegerDefinition
Fixes bug 408046.
Change-Id: I4836f2026c70969a1d479cea2c66ef846cc95752
Signed-off-by: Jean-Christian Kouame
Reviewed-on: https://git.eclipse.org/r/14089
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Roland Grunberg [Mon, 24 Jun 2013 16:55:10 +0000 (12:55 -0400)]
Remove unused sourceTemplateFeature folder from projects.
Change-Id: I0d21d891f61096e024a2c40607fa4a1dfd7e31df
Reviewed-on: https://git.eclipse.org/r/14239
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Alexandre Montplaisir [Wed, 3 Jul 2013 19:07:37 +0000 (15:07 -0400)]
Revert "tmf: Add null annotations to tmf.core.statevalue"
This reverts commit
ba0b892f5a0ec84996f4ef3ed9faa09a034c542d.
This breaks compatibility with Eclipse < 3.8, which we'd like to have for a bit. Revert it temporarily until we can deal with it better.
Change-Id: I900a45d80f1c97aef9cc638db15afac212802b6d
Reviewed-on: https://git.eclipse.org/r/14237
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Roland Grunberg [Mon, 24 Jun 2013 16:15:03 +0000 (12:15 -0400)]
Provide necessary licensing files in features using license-feature.
Create org.eclipse.linuxtools.license.feature which packages
epl-v10.html and license.html files. Reference this feature using
'license-feature' in other features to have the necessary files appear
in binary/source features.
Change-Id: I2fd6ea0bbe47b290625920c0bf5edd35c5d360c4
Reviewed-on: https://git.eclipse.org/r/14014
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Bernd Hufmann [Fri, 28 Jun 2013 12:45:55 +0000 (08:45 -0400)]
Fix warnings about deprecated parameter in ant tasks of POM files
Change-Id: I6d50ee19547e7e40d4f57d9eca6fb88b0a29a0e4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14132
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>
Alexandre Montplaisir [Wed, 29 May 2013 21:01:01 +0000 (17:01 -0400)]
tmf: Add null annotations to tmf.core.statevalue
Introduce the use of the new amazingly-useful JDT Null Analysis
annotations. See http://wiki.eclipse.org/JDT_Core/Null_Analysis
Let's start by something small and isolated, like the TMF state
values.
Change-Id: I8ab350352ba330e8bd55d1da3a7f8c0f9db2edc8
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14084
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>
Jean-Christian Kouamé [Fri, 17 May 2013 20:14:02 +0000 (16:14 -0400)]
tmf: Show trace environment variables in the Properties view
Fixes bug 407756
Change-Id: Ie90a3094ea8adc335a82182127d7bc0e3b727616
Signed-off-by: Jean-Christian Kouame
Reviewed-on: https://git.eclipse.org/r/12829
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>
Geneviève Bastien [Wed, 1 May 2013 18:34:21 +0000 (14:34 -0400)]
TMF: Consolidate some view code into the AbstractTimeGraphView
This new view is a base view for all views using the TimeGraphCombo widget.
As a first step, the lttng2 kernel Control flow view and Resources view have
been modified to extend this abstract view.
Mostly all of the interface management code (build thread, zoom thread, signal
handling, etc) is in the base class. Final views need only implement to code
to fill the entries' list and events.
This patch includes:
- The abstract view class that all new time graph views may extend. The default
weight of each sash can be set in the child view.
- A TimeGraphEntry class that can be used as is if the view does not require
extra data of its entries
- Modification of the TimeEvent class to add a value to it.
- Added a ITimeGraphDrawingHelper interface to pass to the presentation
providers to help them get the information they need to know where to draw
some things (see ResourcesPresentationProvider)
It is a first step before adding new features to the time graph views. Some
more abstraction may need to be done as well as other reorganizing of the
code.
Also updated for the 2.1 API, added a ITimeGraphPresentationProvider2 interface
to avoid API breakage.
Change-Id: I73c9f1b4bf8ec265f1b02804fa7f819bd2b8dd7a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/12423
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Jean-Christian Kouame [Fri, 28 Jun 2013 19:06:35 +0000 (15:06 -0400)]
tmf : Fix binary search end time in InMemoryBackend
first interval was not always considered in memory backend request
Change-Id: I3741d182d362da835a08a1771fa87421744c9fff
Signed-off-by: Jean-Christian Kouame
Reviewed-on: https://git.eclipse.org/r/14117
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: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 26 Jun 2013 18:17:30 +0000 (14:17 -0400)]
tmf: Fix fake event problem in AbstractTmfStateProvider
For a given state provider, if the last event modifies the state
AND the user calls .waitForEmptyQueue() right before closing the
tree manually, the resulting history would have an incorrect end
time and it would be impossible to query at the timestamp of the
last event.
This was due do a "fake" synchronization event being set as the
provider's current event, so when closing the history it would
use its time stamp which is effectively 0.
Remedy this by using an internal event class explicitely for this.
Thanks to J.-C. Kouamé for finding this one!
Change-Id: I06227ca656a67991966b1d1dd15330cb97754fbe
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14080
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Fri, 17 May 2013 20:11:33 +0000 (16:11 -0400)]
TMF: Add functions to verify if events are present in a CTF Trace
These functions verify whether one, some or all events are present in the
metadata of a CTF trace. It is useful to verify the presence of events
before doing an analysis that requires them.
Change-Id: Ieed7f9bcd905bf354aa5550b10c6304e534e5728
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/12952
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: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Simon Delisle [Tue, 21 May 2013 19:22:27 +0000 (15:22 -0400)]
ctf: Fix formatting in CTFTrace
Change-Id: I416204b08281e0bb66b5c1389a4ec03b247a2828
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13032
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Matthew Khouzam [Fri, 21 Jun 2013 20:02:36 +0000 (16:02 -0400)]
ctf: Fix seek bug with multi-threaded access
Store the map of event definitions per stream reader, not per
trace. This allows multiple parallel stream readers to work
correctly (same with multiple CtfIterator's).
Fixes bug #405411.
Change-Id: I43e4e05b5d8313410905e90cb23badbd1d54b9f8
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13994
Matthew Khouzam [Tue, 25 Jun 2013 21:51:40 +0000 (17:51 -0400)]
ctf: Fix race condition in ctfiterator
You could advance an event while seeking, that is no longer possible
performance droped from 78000 events/s reading to 75000 events/s.
Potential hazard, threads can access the iterator and advance and seek
concurently. This is allowed by design, it's an iterator, it should be
wrapped in a safer candy coated shell so it doesn't melt in you hands.
Change-Id: I4df50389728f075f15312107f44847d61343366e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14060
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>
Alexandre Montplaisir [Fri, 21 Jun 2013 21:37:57 +0000 (17:37 -0400)]
lttng: Update plugins version to 3.0 for the Luna branch
Change-Id: I5b50cea6f0d0005a673e58b4cc8dba69c671dfe4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Thu, 20 Jun 2013 17:26:26 +0000 (13:26 -0400)]
lttng: Update plugins version to 2.1
(Pushed manually because Hudson CI was broken and veto-ing
any patch coming in...)
Change-Id: I60239715e771d6028ac0d7faa27aca7e30ac5d4a
Reviewed-on: https://git.eclipse.org/r/13962
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Roland Grunberg [Fri, 21 Jun 2013 18:18:37 +0000 (14:18 -0400)]
Revert "Bug 410367 - Add 'about.html' to 'src.includes'"
This reverts commit
398abd136aed831685ffca11ae2d6eba944e3a4b.
Jeff Johnston [Wed, 19 Jun 2013 19:54:22 +0000 (15:54 -0400)]
Bug 410367 - Add 'about.html' to 'src.includes'
- Fix feature source templates to get epl and license files included too.
- Fix tools.launch.ui, libhover.newlib, and rdt.proxy plugins to include
about.html with binary jar.
Change-Id: I39a122a2cd74c7244ea3635f80cf14346dbe5ae6
Reviewed-on: https://git.eclipse.org/r/13960
Tested-by: Hudson CI
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
IP-Clean: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
Alexandre Montplaisir [Thu, 20 Jun 2013 15:51:06 +0000 (11:51 -0400)]
tmf: Removed unused import
Change-Id: I93c22dbcd3b46ceba99e752dc8edf05f8ae34a8f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Tue, 18 Jun 2013 19:05:11 +0000 (15:05 -0400)]
Set JavaSE-1.6 Execution Environment in project Java Build Path
Change-Id: Ifebefd7070db0f2b9a364c2e4d75748ad6918a11
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13881
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Jeff Johnston [Tue, 18 Jun 2013 20:49:47 +0000 (16:49 -0400)]
Bug 410367 - Add 'about.html' to 'src.includes'.
Change-Id: Id599a09aa6d1c3dfae20164a3200c88ea732e26f
Reviewed-on: https://git.eclipse.org/r/13885
Tested-by: Hudson CI
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
IP-Clean: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
Bernd Hufmann [Fri, 7 Jun 2013 20:43:15 +0000 (16:43 -0400)]
tmf: Add guide about optional trace type attributes
Change-Id: Ic348fef1ead049688d819a51fdea6bb95f6ec01c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13661
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Matthew Khouzam [Fri, 7 Jun 2013 21:31:05 +0000 (17:31 -0400)]
tmf: Update batch import wizard messages
Change-Id: I591682a1f0785f2a310a62c9d00e59bccce5b043
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13663
Patrick Tasse [Fri, 7 Jun 2013 20:02:00 +0000 (16:02 -0400)]
Fix description of tracetype defaultEditor id attribute
Change-Id: I1f3dd838c3d0e3c92300d87fc262593beee030b3
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13659
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Patrick Tasse [Fri, 7 Jun 2013 15:58:01 +0000 (11:58 -0400)]
Rename TMF User Guide to Developer Guide and reorder sections
Change-Id: I6ebb946009c1396aaf15685a709c4aadf0ea6c2a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13655
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Matthew Khouzam [Wed, 29 May 2013 18:29:16 +0000 (14:29 -0400)]
tmf: document how to add a trace type
Change-Id: Ia9df95e282ad900963d9de2ee46950714363430c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13360
Bernd Hufmann [Thu, 6 Jun 2013 18:14:39 +0000 (14:14 -0400)]
tmf: Fix overwrite problem of batch import wizard
During batch import, when copying a trace, that is already in the
project as a link to an external location, with the same trace of
this external location then it used to wipe out the trace files in
the external location. This only happens when the trace is a
directory like the LTTng Kernel traces.
This commit fixes this problem.
Change-Id: I227f1eb07adb0b83699d8436f209badd0605770c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13624
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>
Alexandre Montplaisir [Fri, 31 May 2013 22:57:33 +0000 (18:57 -0400)]
tmf: Add state system doc to the user guide
Change-Id: Iaac27b3d60c71a14c416388cb782c4fcecc610d4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13461
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>
Alexandre Montplaisir [Tue, 4 Jun 2013 20:06:37 +0000 (16:06 -0400)]
lttng: Also initialize static state values
Instead of just defining the integers statically, we can also define
the matching state value objects themselves. This can potentially
save a lot of object allocations during state system construction.
Some allocations will still be needed for state values that are only
known at run-time.
Change-Id: I3839c7685f64adf5bec1a41bd6dc342d24fdb529
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13564
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Patrick Tasse [Tue, 4 Jun 2013 18:25:57 +0000 (14:25 -0400)]
Add component interaction section to TMF user guide
Change-Id: I93e5bfcb5c009ce81fa10d135e1f6f2852824e51
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13558
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Matthew Khouzam [Tue, 4 Jun 2013 17:42:49 +0000 (13:42 -0400)]
tmf: fix in batch import wizard custom trace update
The custom trace types can be programatically updated. The wizard will
now re-read the available trace types every time it is reloaded.
Change-Id: Idd497dcdd4b015398f3dc8b662effac4a4a94b00
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13554
Patrick Tasse [Tue, 4 Jun 2013 18:23:51 +0000 (14:23 -0400)]
Remove unused clear experiment signal
Change-Id: I6f616c4a7991b856ace1c44e298f5f3408269c84
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13557
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
Patrick Tasse [Tue, 4 Jun 2013 18:22:53 +0000 (14:22 -0400)]
Prevent broadcasting of range updated signal for streaming trace
Change-Id: Id0326bc28aab0739dc140f73ee1cd502f8dead65
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13556
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, 4 Jun 2013 15:40:07 +0000 (11:40 -0400)]
tmf: fix category of custom xml parser in batch import
Change-Id: Ia5f927a0ccc6a96b56f4b00aebbd2f0e913b726d
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13545
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 [Fri, 31 May 2013 17:18:23 +0000 (13:18 -0400)]
tmf: Fix exceptions in sequence diagram view during shutdown
- Fix NullPointerException caused by concurrent access
- Fix SWTException: widget is disposed
- Fix code indentation in TMfUml2SDSyncLoader
Change-Id: I7e2c011bfd85090f0e46f96de44035b02fb11996
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13443
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Marc-Andre Laperle [Wed, 29 May 2013 22:10:13 +0000 (18:10 -0400)]
Add a View guide to the TMF documentation
Change-Id: I7a99a17a3b87babd7c6bc413e54daabfa77bc869
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13374
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 [Mon, 3 Jun 2013 12:59:18 +0000 (08:59 -0400)]
tmf: Fix orignal trace import wizard (bug 409721)
The import used to fail at finish when no trace type was selected.
This commit fixes this bug.
Change-Id: I489e78f980d3d2f7eac96ede6ae931f30f9c893c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13494
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>
Patrick Tasse [Fri, 31 May 2013 19:18:52 +0000 (15:18 -0400)]
Fix Sonar warnings in callstack package
Change-Id: I955f5a184bb6084a8a883f4670c7bf1d1a3776f7
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13447
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Wed, 27 Mar 2013 17:38:32 +0000 (13:38 -0400)]
TMF: Fix for subtree expanding sync bug in timegraphcombo
Expanded state of elements in time graph viewer is taken from the value
of the expanded state of the tree viewer. Should work for both Linux and
Windows
Change-Id: I7bb82544e669cf73aafdd81f8993d1b7105a77b7
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11527
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Bernd Hufmann [Wed, 29 May 2013 13:11:59 +0000 (09:11 -0400)]
Fix for empty views that extend TmfView after restart (Bug 409345)
All views in Tmf/LTTng are affected by this problem:
- Add Handling of TmfTraceOpenedSignal in all relevant views
- The TmfUml2SDSyncLoader handles now the TmfTraceOpenedSignal
- TmfTrace is now registered as VIP listener for signals
Change-Id: Id0275bb44f72e4a05be8b91699958975c7b108f9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13336
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>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Wed, 29 May 2013 18:45:13 +0000 (14:45 -0400)]
tmf: ctf: update documentation to better reflect ctf architecture
Change-Id: I6c23357d49b977788ae73da0db09f7fc463bb439
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13362
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Wed, 29 May 2013 15:44:15 +0000 (11:44 -0400)]
lttng: Fix more Sonar warnings in LTTng Tracer Control
Change-Id: Id605ea90f7714e3662c207d2c2ad83dbbd29c5fc
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13343
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Wed, 29 May 2013 15:23:02 +0000 (11:23 -0400)]
tmf: Fix more Sonar warnings in Sequence Diagram Framework
Change-Id: I235bca865940386735cf9f9823da6ce9d1b0721d
Reviewed-on: https://git.eclipse.org/r/13342
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Wed, 10 Apr 2013 15:48:57 +0000 (11:48 -0400)]
tmf/lttng: Refresh compiler settings for Kepler
Change-Id: I1493ecf94b64f51105b5b9a7b2353f20ee808010
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13373
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Bernd Hufmann [Wed, 22 May 2013 11:26:05 +0000 (07:26 -0400)]
Remove profile lttngTests from lttng's pom.xml
This profile used to be there for conditional execution of
LTTng test cases. This is not needed anymore because these tests
are now automated and work on Hudson.
Change-Id: I83e72fdd57845e9c09145e79857c88908d43a507
Reviewed-on: https://git.eclipse.org/r/13047
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Mon, 27 May 2013 15:54:34 +0000 (11:54 -0400)]
tmf: update wiki for batch import trace wizard.
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Change-Id: Id605d0f628fa306dc87c5414161304ed5859326e
Reviewed-on: https://git.eclipse.org/r/13230
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>
Patrick Tasse [Wed, 29 May 2013 19:58:20 +0000 (15:58 -0400)]
Fix Sonar warnings in custom parser wizard package
Change-Id: Icd54d92d645633208bdd337e320753e57cdc5023
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13371
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Wed, 29 May 2013 18:22:08 +0000 (14:22 -0400)]
tmf: Fix some Sonar warnings in the state system code
Change-Id: I796bad9720a2fd6bc2be2b2d27bc8d52e70afbb0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13357
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Thu, 23 May 2013 20:45:18 +0000 (16:45 -0400)]
tmf: fix potential bug when selecting trace types in import wizard
Change-Id: I963b47cf18caba9d0ae215f74bd8861c2ea29175
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13347
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Fri, 24 May 2013 21:01:38 +0000 (17:01 -0400)]
tmf: fix bug where batch import trace does not show scan progress
Change-Id: I1fae04177d694264a02d0fb09679245478b1b668
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13341
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 [Tue, 28 May 2013 18:54:20 +0000 (14:54 -0400)]
Fix Sonar warnings in timegraph package
Change-Id: If20ef00dba5ac104f76a7f0b0e8a0095c7916652
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13294
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 [Tue, 28 May 2013 21:25:41 +0000 (17:25 -0400)]
Fix NPE on trace with obsolete persistent properties
Change-Id: Ic867f89b2446e60f5aca75e7fb563045950334fc
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13302
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Wed, 22 May 2013 21:31:11 +0000 (17:31 -0400)]
Tmf: fix missing titles to import wizard pages
improve comments
remove some lingering " "s and replace them with ' 's
Change-Id: Id100f8fb074f3ea69d6908ef9057efa9e23a25f5
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13301
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, 28 May 2013 19:29:48 +0000 (15:29 -0400)]
tmf: fix bug when importing and no project is selected
fix importing custom text and xml traces
fix importing single files in copy mode when one file is imported
several times, sometimes renamed after importing non-renamed versions of
the same trace
Change-Id: I70a13fdfd800bc46475040e6d73a86e19a6bbdc2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13289
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: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Alexandre Montplaisir [Fri, 17 May 2013 15:48:23 +0000 (11:48 -0400)]
ctf: Fix some Sonar warnings
Change-Id: I6414bc064c4ab55ec574f582d7901c20b906b404
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13239
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, 17 May 2013 22:14:32 +0000 (18:14 -0400)]
tmf: Make TmfLostEvent immutable
TmfEvent is now immutable, all its extensions should be too.
Change-Id: Ic01107c032c8a01271614934b0eb9dc182fc6b66
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/12957
Tested-by: Hudson CI
Matthew Khouzam [Thu, 16 May 2013 18:52:23 +0000 (14:52 -0400)]
tmf: fix import trace wizard changing trace types after directory
Change-Id: I20af2fc56cb58ba8caebf5af13acf5b16ad7eb00
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13280
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 [Thu, 16 May 2013 18:03:55 +0000 (14:03 -0400)]
Tmf: externalize a string
Change-Id: I59c4ca9ff7b8b0e0c5f8974e151c7e4693b44fb3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13274
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 [Thu, 16 May 2013 18:01:35 +0000 (14:01 -0400)]
tmf: Update import if a trace type is added after a directory
replace other occurance of " " by ' '
Change-Id: I5cf66324903236a4fd8c78c57dde81a3d8198a4b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13271
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Matthew Khouzam [Wed, 15 May 2013 19:03:46 +0000 (15:03 -0400)]
tmf: Bug fixes for batch import
Remove non-standard non-modal wizard.
Add cancelability to the directory add.
clean up some code, remove " " strings
merge a job that only calls a job into the top job
Change-Id: I18beb4a6054092388b180f42e91be6b8e598d728
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13246
Bernd Hufmann [Fri, 24 May 2013 19:43:35 +0000 (15:43 -0400)]
lttng: Update Control Flow and Resources view user guide
Change-Id: Idcde718294d0307ed3805ebf6f084ef7bb504bf6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13140
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>
Matthew Khouzam [Wed, 15 May 2013 19:05:07 +0000 (15:05 -0400)]
Tmf: Expand trace type list in batch import
Change-Id: Ia4bfa1e39dbb71532da9ec776c6f674876f38c83
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12843
Tested-by: Hudson CI
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 15 May 2013 22:52:31 +0000 (18:52 -0400)]
tmf: More trace manager unit tests
Also added a method in the manager to retrieve all the
currently opened traces.
Change-Id: Iaf69a89b0b5214a66e45e02d6388e97985eea549
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13099
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 [Fri, 24 May 2013 12:45:27 +0000 (08:45 -0400)]
tmf-tests: Handle NullPointerException in TmfEventParserStub
With commit
7e670c5, any exception in the TmfEventThread
will be logged in the plug-in's error log. There is a
NullPointerException in the TmfEventParserStub which was was
silently handled. With this commit the NPE will be prevented.
Change-Id: I1c5d34a5869d8f071847a0d3f23fde2de1b3867e
Reviewed-on: https://git.eclipse.org/r/13121
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Simon Delisle [Thu, 9 May 2013 15:12:39 +0000 (11:12 -0400)]
Generate trace in IOstructgenTest
Modification to be able to generate trace
Change-Id: I79e5100122f2be137da32625c0973f9418ae42e0
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12680
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: 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>
Alexandre Montplaisir [Wed, 22 May 2013 17:37:49 +0000 (13:37 -0400)]
tmf: Change SDView.isNeedInit() to protected
Change-Id: Ie0872f4bbdf00c56b2dbe3bfb42be4d369cb6b03
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13054
Tested-by: Hudson CI
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Thu, 23 May 2013 15:01:45 +0000 (11:01 -0400)]
lttng: Add Link with Editor section to LTTng User Guide
Change-Id: Ifb80dcbdb4405633e81cbcdb67746c2c3612404c
Reviewed-on: https://git.eclipse.org/r/13082
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Patrick Tasse [Thu, 16 May 2013 19:01:43 +0000 (15:01 -0400)]
Fix mouse wheel zoom and text control value handling in histogram view
Partial fix for bug 384423.
Add focus gained listener to child text controls of Histogram composite
that gives focus to canvas which handles mouse wheel events.
Provide the HistogramZoom instance owned by the full trace histogram as
a mouse wheel listener to the time range text control.
Update time range text control to prevent unnecessary reloading of the
time range histogram model when focus is lost without changing value.
Update current time control to prevent resetting of current event on
parsing error.
Fix possible SWT exception in histogram text control during Eclipse
shutdown.
Change-Id: Iefd4db5eafbe54e9386a9ec23b4ac1ecd2ce2a1b
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/12902
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 [Wed, 22 May 2013 19:51:42 +0000 (15:51 -0400)]
Close editors when experiment composition is changed
Fix for bug 325380.
Change-Id: I38115ff2e34b381001dd12840c217d13e6cc1b69
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13061
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 [Tue, 14 May 2013 21:24:14 +0000 (17:24 -0400)]
Update Add Bookmark handler activation conditions
Change-Id: I4623de25017d58759f37bc4a18ca1b63b71ea17f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/12797
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 [Thu, 16 May 2013 12:08:11 +0000 (08:08 -0400)]
tmf: API clean-up of sequence diagram framework
Throughout the sequence diagram framework, most member variables
were declared protected. However, in many cases getter and setter
methods exists and the member could have been declared private.
In some other cases, some of the attributes are internal data
and should not be be protected. This commit changes the modifier
of attributes to private. Getter and setter methods were added
where needed.
Change-Id: I7bf18335ff487c7a89b0d521e41b51e0bc3d1ad0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12880
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Thu, 16 May 2013 15:54:58 +0000 (11:54 -0400)]
lttng ui: Fix minor sonar warnings
Mainly fixes the ordering of modifiers, removes commented-out code
and change class with constants to an interface.
Change-Id: I6c5b6d7698c92640b4661720e190b77d7c3a7787
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12888
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Tue, 14 May 2013 19:59:12 +0000 (15:59 -0400)]
Update TMF Sequence Diagram content in TMF help plug-in
With this commit the tutorials comply with the TMF 2.0 APIs.
Change-Id: I8466f63c1acd1fd2035f11891da83070d1b55d23
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12879
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Tue, 21 May 2013 16:58:45 +0000 (12:58 -0400)]
Log exceptions in event thread
Fix for bug 343740.
Change-Id: I554f74bdeb4b2c5de1706798633ff702d6493bbc
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/13030
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Fri, 17 May 2013 20:53:44 +0000 (16:53 -0400)]
Fix update of fully visible row count on table column resize in Linux
Change-Id: I23215506eb0493f98e8b4ac46dbee1f7b13635a3
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/12955
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Fri, 17 May 2013 19:28:22 +0000 (15:28 -0400)]
Fix infinite paint loop introduced by commit
866cb82
Change-Id: I60bc075b3fe8c7ddef082aba8fe86e8433ea7f94
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/12948
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 [Fri, 17 May 2013 19:21:21 +0000 (15:21 -0400)]
tmf: fix comments about ITmfTrace.validate() return value
Change-Id: Ieb686dd9a776372a84115d79b5f7b5a5000b2bb6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12946
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Bernd Hufmann [Thu, 16 May 2013 17:45:07 +0000 (13:45 -0400)]
ctf: fix sonar warnings about redundant modifier in interfaces
Change-Id: I753bc49a37d8396b3f9a56f79c31866658422668
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12893
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Thu, 16 May 2013 17:33:04 +0000 (13:33 -0400)]
tmf: fix sonar warnings about redundant modifier in interfaces
Change-Id: I5eee2adfad2e2592212fc3d612a404d525c111ad
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12894
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Tue, 14 May 2013 13:15:50 +0000 (09:15 -0400)]
Add TMF Help plug-in to TMF feature
Change-Id: I2b993ea0fd23bd7346ae0bb185fb9faeecf3822a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12878
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 [Thu, 16 May 2013 17:58:00 +0000 (13:58 -0400)]
lttng: fix sonar warnings about redundant modifier in interfaces
Change-Id: I96081e313453e12fd30c0f6d14b60aca6d74ec4b
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12895
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Tue, 14 May 2013 19:15:56 +0000 (15:15 -0400)]
tmf: Specify extended trace properties with an interface
Introduce a new ITmfTraceProperties that traces can implement when
they can provide additional trace properties. Also make the the
Enviornment Variables view use this interface, so it is not specific
to CTF traces.
Change-Id: I9a6901f720bc028f28ce5c180b778701a8ec0f5b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/12789
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, 14 May 2013 18:55:07 +0000 (14:55 -0400)]
tmf: Consolidate all enviornment-related methods in CtfTmfTrace
Change-Id: I90d8fbdfb132533a26c8911982c6e77b505a6913
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/12788
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 [Wed, 15 May 2013 20:45:08 +0000 (16:45 -0400)]
Fix hiding of event table header row when selection is partially visible
Change-Id: I52843974153921737b2a1115f040dd69853d400e
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/12848
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 [Tue, 14 May 2013 22:36:41 +0000 (18:36 -0400)]
Remove UI dependencies in tmf.core.
Change-Id: I6b031a39e519b6347c8ae1dede967aad4eb069e3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12844
Tested-by: Hudson CI
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Thu, 16 May 2013 04:18:22 +0000 (00:18 -0400)]
Fix IllegalArgumentException in Colors view
The return value of ColorDialog.getRGB can return null.
Bug: 408074
Change-Id: I40277621ba3e63b610e1ad2e012263850c74f26e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12856
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Simon Delisle [Wed, 15 May 2013 20:21:58 +0000 (16:21 -0400)]
Formatting IOstructgenTest
Change-Id: I70589e68bd55808e3530fce25ce13f06219ae2b3
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12847
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Tue, 14 May 2013 20:20:32 +0000 (16:20 -0400)]
Sort file system elements in import trace wizard
Change-Id: I4e1eb3487c97f081c0a6322aba29d3bae9254f30
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/12794
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, 14 May 2013 20:04:18 +0000 (16:04 -0400)]
tmf: fix unused message warning for sequence diagram view
Change-Id: I8778e95957addf8f53f4c1507de7e6f681d29c1a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12792
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>
Matthew Khouzam [Mon, 13 May 2013 19:26:31 +0000 (15:26 -0400)]
tmf: Fix trace validation in the classic Trace Import
fix Bug 407571
Change-Id: Id916cce4e6b8b21c92460d3d09bd85ab4b72e947
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12653
Patrick Tasse [Mon, 13 May 2013 20:38:06 +0000 (16:38 -0400)]
Fix for experiment location hashCode and equals
Change-Id: Ib3456002492de585c53986c5c8384e227d5b9880
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/12769
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>
This page took 0.044952 seconds and 5 git commands to generate.