Francis Giraldeau [Tue, 25 Mar 2014 16:00:48 +0000 (12:00 -0400)]
TMF: Add get parent to state system
It is possible to get the children of an attribute. This patch add also
required methods to query the parent attributes.
* Add getParent() method to Attribute, AttributeTree and StateSystem
* Add unit test to check the functionality
* Provides the required documentation
Change-Id: I635326068c2a298b32952599e09b2426b2e1fbb0
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/24026
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: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Patrick Tasse [Mon, 24 Mar 2014 17:34:10 +0000 (13:34 -0400)]
tmf: Fix time graph combo freezing when expanding parent of many items
When expanding an item in the time graph combo, the expanded state of
every child item needs to be synched between the tree and the time
graph, due to inconsistent behavior between platforms. When the parent
has hundreds of child items, this can take several seconds due to the
inefficient searching for the item corresponding to a time graph entry
in both the tree and the time graph, for getting and setting the
expanded state.
For the tree, instead of gettting the expanded state of each item from
the tree viewer using the model element, the set of expanded elements
is retrieved once and the expanded state can be deduced by the presence
or absence of a model element in this set. Furthermore the synching of
expanded state is only performed for child items that have children
themselves.
For the time graph, the item model is changed to use a map from time
graph entry to time graph item, which greatly reduced the time necessary
to find the item corresponding to an entry. The expanded item index is
also stored directly in the item which avoids the need to iterate to
find an expanded time graph entry's index.
Change-Id: Icefc393be8a5e2ee1a98b98a2c6b126da7490035
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/23817
Tested-by: Hudson CI
Patrick Tasse [Fri, 14 Mar 2014 20:37:30 +0000 (16:37 -0400)]
tmf: Improve time graph combo responsiveness
- Optimize computation of visible expanded items list and prevent
unnecessary recomputation.
- Optimize alignment of tree and time graph item heights and only align
currently visible items.
- Remove the paint listener used to align item heights and add a common
method to simultaneously align the top index and the item heights when
necessary.
Change-Id: I4aedb6ca5973f867288a8334d92c53e688b775fe
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/23413
Tested-by: Hudson CI
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-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>
Bernd Hufmann [Fri, 21 Mar 2014 20:20:15 +0000 (16:20 -0400)]
tmf: Fix potential memory leak by dispose histogram data model.
It removes the references to trace objects.
Change-Id: I58f7793d79c4c6dc766eef119f29ed1d0c2063ed
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23736
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Xavier Raynaud [Fri, 21 Mar 2014 00:32:50 +0000 (01:32 +0100)]
add key shortcut for zoom control
Change-Id: I0d6aef31b8ad27d073708883d44e614c0cc7f345
Reviewed-on: https://git.eclipse.org/r/23687
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
IP-Clean: Xavier Raynaud <xavier.raynaud@kalray.eu>
Tested-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Marc-Andre Laperle [Wed, 19 Mar 2014 04:56:33 +0000 (00:56 -0400)]
lttng: Move createSession parameters into SessionInfo class
Change-Id: Iaa45647fcfa69fd3e62fdb56baf68070b27cad27
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23591
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, 21 Mar 2014 13:37:10 +0000 (09:37 -0400)]
tmf: Use ConcurrentHashMap in TmfStatisticsTreeNode
Since multiple threads can update the statistics when using
experiments with more than one trace the tree node structure needs
to thread-safe. Using a ConcurrentHashMap instead of a regular HashMap
avoids ConcurrentModificationException for the current way this class
is used in TMF.
Change-Id: I38127466066660f82fb9cddd1465cb5e62c114c6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23719
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Thu, 20 Mar 2014 18:17:14 +0000 (14:17 -0400)]
tmf: dispose viewer in TmfStateSystemExplorer when view is closed
By doing that the viewer is deregistered as signal handler.
Change-Id: I2766d32053c11cd7c8bb14d45bf7f5a479bdaa88
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23670
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Bernd Hufmann [Fri, 21 Mar 2014 20:22:58 +0000 (16:22 -0400)]
tmf: fix memory leak in TmfTrace by clearing analysis modules map.
Change-Id: I54d6078d2c2e447263f4fede6978f781ef37cc31
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23737
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Mon, 17 Mar 2014 20:56:00 +0000 (16:56 -0400)]
tmf: add test to check if views are populated in a given perspective
Test tracing perspective
Test kernel perspective
Fix perspective id
Change-Id: Ia671ad54215899fb5a5d578cc592f33669088065
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23510
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Tue, 18 Mar 2014 19:47:31 +0000 (15:47 -0400)]
TMF: fix bug in XML getChildElements to return only the children of a node
The getElementsByTagName() method used returns all sub elements with the given
tag under the calling element. The returned nodes are not just the children,
but also the grand-children and grand-grand-children. We want only the
children.
Change-Id: If9ea54ec738580320684533c7fe1a094295b9761
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23561
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Matthew Khouzam [Wed, 12 Mar 2014 20:32:05 +0000 (16:32 -0400)]
ctf: move ArrayDefinition.isString to be part of the declaration
Multiple definitions of the same ArrayDeclaration will all return the
same value. The method makes more sense to be in ArrayDeclaration.
Change-Id: I245dba73c7f726ed9a792a6e443e0fe4cbec0e6a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23283
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Geneviève Bastien [Tue, 11 Mar 2014 17:16:46 +0000 (13:16 -0400)]
TMF XML: Add unit tests for XML file extension point
Change-Id: I7d2314167177c45c1e2ae42806f7492833e2cf78
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23213
Tested-by: Hudson CI
Geneviève Bastien [Tue, 11 Mar 2014 17:14:57 +0000 (13:14 -0400)]
TMF XML: Add support of the XML file extension point to the modules source
Change-Id: I2f651ec4e6698d5edcfa1f6f279ffa979328d545
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23212
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>
Geneviève Bastien [Tue, 11 Mar 2014 17:13:02 +0000 (13:13 -0400)]
TMF XML: Add an extension point to let plugins advertise builtin XML files
Plugins will be able to pre-package some XML-defined analysis and views using
this extension point.
Change-Id: I433b91c76b513ce3298d4ef7d3e6a9ec6fd0890d
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23211
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>
Geneviève Bastien [Fri, 14 Mar 2014 19:31:54 +0000 (15:31 -0400)]
TMF: Fix a bug where the experiment trace type is not refreshed right away
Change-Id: I82b2589e978e3a466c260105ca0605253d70200e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23407
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Mon, 10 Mar 2014 19:05:09 +0000 (15:05 -0400)]
TMF: Add interfaces for XML-defined components
One interface is for all XML-defined top level components, such as state
providers and eventually view items. Another interface is specific for
XML-components dealing with state systems
Change-Id: I4295beabe2d237b089543e18cfb0d4029baae490
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23156
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Geneviève Bastien [Mon, 10 Mar 2014 18:55:22 +0000 (14:55 -0400)]
TMF: Add some utility methods to XmlUtils
Change-Id: Ic81b17b6d89342fb41cd9f5898830ef20e8c1b93
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23155
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Fri, 14 Mar 2014 21:16:40 +0000 (17:16 -0400)]
tmf: Increase delay until ProjectModelTestData times out
Change-Id: I08c3bffd36041a8464b6b303573cca4f550993e8
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23417
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, 14 Mar 2014 21:43:36 +0000 (17:43 -0400)]
lttng: Update README following removal of the license feature
Change-Id: Ibf251b3f14bee179af5aca264a101dfd3429de9a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/23419
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Fri, 14 Mar 2014 20:45:08 +0000 (16:45 -0400)]
tmf: make CustomTxtParserInputWizardPage.Java more inline with coding style
Change-Id: I148b64419154691beb6de0fb976c6f7a172b3dc7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23412
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Thu, 27 Feb 2014 20:09:57 +0000 (15:09 -0500)]
tmf: replace find() with matches() in CustomTxtTrace.java
This should provide a nice performance boost and make the regexes less
ambiguous.
With matches, the reader will match per line instead of searching for a
match. this can save up to an order of magnitude in reading.
Change-Id: I267426a9f2ab672590e35edafef2913ac32ac8f2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22637
Matthew Khouzam [Thu, 13 Mar 2014 21:41:40 +0000 (17:41 -0400)]
ctf/tmf: make CtfIterator more inline with code style
Change-Id: I5c5f808b671642bf37e91c8a7bbdb43481edaa40
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23354
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Fri, 14 Mar 2014 12:01:18 +0000 (08:01 -0400)]
tmf: use TmfTraceManager.getTraceSet() in CallStackView
instead of using duplicated code.
Change-Id: Id1dad9619d915b686ac6c1b3d665baf735e0de82
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23389
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Geneviève Bastien [Mon, 10 Mar 2014 18:33:29 +0000 (14:33 -0400)]
TMF: Refactor XML schema files
Change-Id: I36d912469345e34f49b1d22c8b317473e7783e71
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23154
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Thu, 13 Mar 2014 21:55:26 +0000 (17:55 -0400)]
ctf/tmf: Make CtfTmfEventType more inline with coding style
Change-Id: I325c3bf2e65d93df701164b90d65ecdcd71f1695
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23361
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Thu, 13 Mar 2014 21:53:19 +0000 (17:53 -0400)]
ctf/tmf: make CtfTmfEventField more inline with coding style
Change-Id: Icd2cbf4262d9109e505bea4c2ef0a8ec761c45a8
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23360
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Thu, 13 Mar 2014 21:50:33 +0000 (17:50 -0400)]
ctf/tmf: Make CtfTmfEvent more inline with coding style
Change-Id: Ibc660e5572fd772a21546fceae59d1030a6299ff
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23359
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Thu, 13 Mar 2014 21:48:25 +0000 (17:48 -0400)]
ctf/tmf: Make CtfTmfContext inline with coding style
Change-Id: Ibbd979d5ea2361f0de8eb418c38fda937eb5e526
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23358
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Matthew Khouzam [Thu, 13 Mar 2014 21:45:38 +0000 (17:45 -0400)]
tmf/ctf: Make CtfLocationInfo inline with code style
Change-Id: I40b698178df4a01b68a0575a9fee6f1371879a64
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23357
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Thu, 13 Mar 2014 21:44:07 +0000 (17:44 -0400)]
ctf/tmf: Make CtfLocation more inline with code style.
Change-Id: I8fe1eaa819ef437b300ea785ee6b14d0c495f8d3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23356
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Tue, 11 Mar 2014 18:52:46 +0000 (14:52 -0400)]
tmf: use Boolean.parseBoolean() for isDirectory attribute
Change-Id: I71875c74b0cb47a1d79a72c96fcb7fd427d63377
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23216
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexander Kurtakov [Thu, 13 Mar 2014 17:19:56 +0000 (19:19 +0200)]
Use CBI license feature.
Change-Id: Ia423ae0a80efac36c3170f1adc1e1127e08eb4c3
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/23345
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
IP-Clean: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
Bernd Hufmann [Thu, 13 Mar 2014 13:04:37 +0000 (09:04 -0400)]
tmf: move the TMF statistics analysis module to tmf.core plug-in
and use the analysis output extension point to register the view to
the module.
Change-Id: Ic9f8fa68a4740f7787761f5861021b3bf263e2bf
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23322
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Thu, 13 Mar 2014 12:14:59 +0000 (08:14 -0400)]
tmf: don't execute statistics analysis module for experiments
because it's not used.
Change-Id: I6ac3a898ad720c99a751893c7738dda2a9ce85b8
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23316
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Wed, 12 Mar 2014 20:13:10 +0000 (16:13 -0400)]
TMF: Change cast in analysis output to fix warning in luna
Change-Id: Id5cd7be0d4eb65f6ae793f8de50555ef056062df
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23279
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Geneviève Bastien [Mon, 10 Mar 2014 17:34:53 +0000 (13:34 -0400)]
TMF: Add rebuild() method to abstract time graph view
It is useful when some action in the view requires the view to rebuild the
list of entries, for a same trace.
This patch also adds a getPresentationProvider() method to the time graph
view so concrete classes may make changes to the presentation provider.
Change-Id: Ida104642607b98d4d285bcc54a8e86dd73602506
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23147
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Bernd Hufmann [Thu, 13 Mar 2014 13:07:39 +0000 (09:07 -0400)]
tmf: remove warning in HistogramBucket class
Change-Id: I980b64e880ed434ee83bd5ce2f2252ff8eb42fe8
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23323
Reviewed-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
IP-Clean: Xavier Raynaud <xavier.raynaud@kalray.eu>
Tested-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Bernd Hufmann [Wed, 12 Mar 2014 12:42:27 +0000 (08:42 -0400)]
tmf: fix minimum total size in AttributeTree
The fix will prevent that the state system for the experiment
statistics is rebuild every time.
Change-Id: I7c494d3a515bc16ea9313ece370b727fd4947e6c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23244
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Wed, 12 Mar 2014 22:59:21 +0000 (18:59 -0400)]
gdbtrace: Remove unused import
Change-Id: Ie808fe5f2b590e3560c328f486525c59597970a1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23286
Tested-by: Hudson CI
Geneviève Bastien [Wed, 12 Mar 2014 21:16:19 +0000 (17:16 -0400)]
TMF: Fix a NPE when no tracetype extension is specified in UI for experiment
Change-Id: I026ae7249716e06d5612cf428f4180deec51caac
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23281
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Geneviève Bastien [Mon, 10 Mar 2014 18:11:35 +0000 (14:11 -0400)]
TMF: Add possibility to add new module listener to analysis manager
Also cleanup the source and output initialization
Change-Id: I61f363a798734757f9ac3d991a34fd0c13ee6143
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23153
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Geneviève Bastien [Mon, 10 Mar 2014 17:47:09 +0000 (13:47 -0400)]
TMF: Force getId() from IAnalysisModule to be NonNull
Change-Id: I5658b167767fc17bfda397aeee1623ae1f053a80
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23146
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Geneviève Bastien [Mon, 10 Mar 2014 17:43:40 +0000 (13:43 -0400)]
TMF: Add the possibility to set properties on analysis outputs
Change-Id: If77d58ccb7d8105d9600e6a673e1c1392e944425
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23145
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Wed, 12 Mar 2014 12:19:23 +0000 (08:19 -0400)]
tmf: reactivate persistent experiment index
The assignment of the traces of an experiment where moved after the
super.initialize() method call. This lead to the in-memory being used
instead of the persistent index.
Change-Id: I4280929453a3f3f951f1e6897c4b72511c547517
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23242
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Marc-Andre Laperle [Mon, 10 Mar 2014 22:56:19 +0000 (18:56 -0400)]
tmf: Cancel modules when disposed
When running org.eclipse.linuxtools.lttng.alltests, the uml tests wait
forever because an analysis is running and never gets canceled. I think
modules should get canceled when disposed.
Change-Id: I745c32eae93ffad41e107ef8c29d02001d76e288
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23168
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
Alexandre Montplaisir [Wed, 12 Feb 2014 19:43:24 +0000 (14:43 -0500)]
tmf: Export xychart packages in tmf.ui
Change-Id: I93f3e10617e8a061a686313926434e163aa6ce81
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22046
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Alexandre Montplaisir [Fri, 7 Mar 2014 21:21:03 +0000 (16:21 -0500)]
ctf: Specify a timeout for the CTF testsuite download
The default timeout of the Ant "get" task is reasonable, but the
default for "exec" (which we use for pulling the CTF testsuite) feels
like 5 minutes. This makes building offline, or behind a proxy, a bit
more painful.
Shorten the delay to 20 seconds.
Change-Id: Ic0751330c4c747fee4344d549257f7a6ab556d0d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/23070
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Mon, 10 Mar 2014 19:56:27 +0000 (15:56 -0400)]
gdbtrace: Fix table scrolling back to beginning
Instead of selecting the frame at the end of the populate cache,
select the frame at the end of indexing.
Change-Id: I1974ed4fc3a0c07ca2447f72f3888ea9d58505ff
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23151
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Thu, 6 Mar 2014 22:57:43 +0000 (17:57 -0500)]
gdbtrace: Prevent hang when a lot of commands are sent to GDB
This can happen when commands are sent to GDB on the UI thread
and the GDB traces console gets full. The UI thread is responsible of
doing the "flush" of the console buffer so if the UI thread waits for
the flush it will wait for itself forever. The solution is to not send
GDB commands on the UI thread.
Bug: 415728
Change-Id: I6eacb9680f4966183a24c5ad915e4ddff256f40d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23019
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, 7 Mar 2014 21:02:34 +0000 (16:02 -0500)]
tmf: Don't use assumeTrue() in @BeforeClass in ctfadaptor tests
The behavior of a failed assumeTrue() placed within a @BeforeClass
method is really inconsistent between Eclipse and Maven. It can lead
to test failures, when it should really only skip the class.
Change-Id: Ibcd42a56ffd6280ad6682a57c587ddcd2a634e3f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/22697
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Tue, 4 Mar 2014 18:06:17 +0000 (13:06 -0500)]
tmf: Fix Unsafe cast error when targetting Luna
Change-Id: Iaeeaec5f5ee20c640084b84108bfabc3b48aff6a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22878
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Marc-Andre Laperle [Thu, 6 Mar 2014 22:56:50 +0000 (17:56 -0500)]
gdbtrace: Use preference for gdb path
This allows changing the gdb path when opening the gdb trace so that
different versions can be tested more easily.
Change-Id: Iec7e68996b40f43f13f97f2303788e1d19b3aebd
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23018
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Thu, 6 Mar 2014 22:54:58 +0000 (17:54 -0500)]
gdbtrace: Use original trace type id
This also fixes the selectexecutable command not being visible.
Change-Id: Ic8997e996ff90d12b2298073fe6503d278519611
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23017
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Wed, 5 Mar 2014 14:29:10 +0000 (09:29 -0500)]
TMF: Move the LTTng ust memory usage analysis to the core plugin
And use the analysis output extension point to hook the view to it
Change-Id: I5a4a77e3870e5311ca5bf9efb3a7a655c4fdd9f0
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/22935
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Thu, 6 Mar 2014 13:12:37 +0000 (08:12 -0500)]
tmf: Fix exceptions in TmfTraceManagerTests
This Junit tests causes NullPointerExceptions and
IllegalStateExceptions in the TmfStatisticsModule and
TmfStateSystemAnalysisModule because the trace object is null. This
happens because the job that executes analysis was scheduled but
the acutal test case is finished. This patch fixes the time issue
in the test case and not the concurrency issue of these analysis
modules.
Change-Id: Iead1d372e3596d0abb0e9857c56d0872228e4e22
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22988
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Thu, 6 Mar 2014 05:29:46 +0000 (00:29 -0500)]
ctf: Fix failing tests on Windows
Bug: 429726
Change-Id: Ia11ddfba59a299b150d3022b50de84c2011ad5b6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22960
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Thu, 6 Mar 2014 14:13:32 +0000 (09:13 -0500)]
tmf: Exclude experiment types from automatic trace type detection
Change-Id: I179897039617a6549d6341d41512dedbc60769c0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22989
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Wed, 26 Feb 2014 15:46:19 +0000 (10:46 -0500)]
TMF: Add identifier type to analysis output schema
Change-Id: Ifc2ffba86cfe43ac22ffb855af2620a8d8337cc6
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/22578
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Xavier Raynaud [Thu, 6 Mar 2014 09:33:25 +0000 (10:33 +0100)]
update documentation according to #428919 (multi-trace histogram)
Change-Id: Ia80bd140a8e56bb8e4e1f623a73c5d17e7f33603
Signed-off-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-on: https://git.eclipse.org/r/22964
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 [Wed, 5 Mar 2014 15:00:02 +0000 (10:00 -0500)]
tmf: add swtbot tests for custom text parser
This test adds a complex parser then validates the generated XML.
Then it removed the parser and re-validates the xml.
Change-Id: I3f93cb8ff3e45db63b6badf9aa5793c7ff3f4807
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22832
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Mon, 3 Mar 2014 20:22:23 +0000 (15:22 -0500)]
tmf/lttng: add swtbot helper
Make common functionalities part of a helper class
instead of re-implementing them.
Change-Id: I339adf2607a073395ffba471648c37367780b513
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22831
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Xavier Raynaud [Wed, 5 Mar 2014 10:21:39 +0000 (11:21 +0100)]
fix #428919: Support multi-trace histograms
When displaying a multi-trace experiment, colorize the histograms,
in order to know the origin of the events.
Change-Id: I9436a4b8d08250e41b7e68a46757b85a9797d658
Signed-off-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-on: https://git.eclipse.org/r/22442
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 Mar 2014 12:15:13 +0000 (07:15 -0500)]
tmf: Delete experiment supp files when adding/removing trace
This commit brings back the fix for Bug: 421372. The original fix got
lost during a merge operation.
Change-Id: I2497278ebb7e29cc69542432949ef02195ecff09
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22844
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Tue, 4 Mar 2014 21:28:42 +0000 (16:28 -0500)]
tmf: Add a getSubAttributes() with regex to the state system
This allows a bit more fine-grained control than getQuarks("*").
Change-Id: Ia925e98a15748eb67f7792108063c649d392e4d2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/22885
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Marc-Andre Laperle [Fri, 28 Feb 2014 20:05:42 +0000 (15:05 -0500)]
tmf: Fix various leaks in Histogram
Fix Image and Color leaks in Histogram class. Also fix Font leak in
HistogramTextControl. HistogramTextControl's derived classes were
overriding dispose without calling super but those were not necessary to
begin with.
Bug: 428491
Change-Id: I23a9b85a26f00b809a1748e886202a5de07cd35e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22696
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 Mar 2014 12:25:45 +0000 (07:25 -0500)]
tmf: Fix NPE for persitent experiment index when using text traces
For text traces the end of a trace is indicated by a NULL_LOCATION.
The NULL_LOCATION has a null pointer for the location info object
(=TmfLongLocation). In an experiment some traces are finished being
read before other traces. When a checkpoint needs to be created
with a NULL_LOCATION for some of the traces an NullPointerExeption
is generated when serializing a checkpoint to the persistent index.
Change-Id: I16aa3afd1d7ab633b53916f7f3a01aefa9094560
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22846
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Geneviève Bastien [Wed, 15 Jan 2014 16:16:10 +0000 (11:16 -0500)]
Tmf: Add unit tests for experiment types
Change-Id: I9a01a985914c9cfe5adad60b0c27dab338f09886
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/20673
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Wed, 15 Jan 2014 16:14:41 +0000 (11:14 -0500)]
TMF: Add support of experiment types to events editor
Change-Id: I26520606e652336f2c30f2e85de8eae62781ac76
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/20671
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Wed, 15 Jan 2014 16:08:01 +0000 (11:08 -0500)]
TMF: Open experiments with the right experiment type
Change-Id: I4733515b190e6d5cb36887352ad46d55e7a66162
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/20670
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Wed, 15 Jan 2014 16:05:46 +0000 (11:05 -0500)]
TMF: Add possibility to select experiment type from UI
Modified trace type contribution item to element contribution item to add
experiment types to the list and show only trace or experiment type depending
on the selected element. Add the menu items for the experiment type selection.
Change-Id: Id566ce7c30a89d5371c2c311d7d96c1f065bf7fa
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/20669
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Tue, 25 Feb 2014 19:39:19 +0000 (14:39 -0500)]
TMF: Allow experiments to have analysis and display them in UI
Initialize and execute the analysis when an experiment is opened. They are
also displayed in the UI, under the experiment.
Change-Id: I6afd5e8043734ba12bc0fc90bebffa418ba4b6da
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/22540
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
Geneviève Bastien [Wed, 15 Jan 2014 15:48:25 +0000 (10:48 -0500)]
Tmf: Move some TmfTraceElement methods to parent class
Experiment elements and trace elements now behave more alike, as a first
step to have full support of experiment types.
Change-Id: Iad5e2c973300f6f1ce155513e10ce1b390231223
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/20668
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Wed, 15 Jan 2014 15:30:06 +0000 (10:30 -0500)]
Tmf: Add support of experiment types to TmfTraceType and TraceTypeHelper
Categories and experiment types are populated from the configuration elements
defined in the plugin.xml files
Change-Id: I7b08c9970880a7ee2846f9b471e3115aa60e684a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/20667
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Wed, 15 Jan 2014 15:02:39 +0000 (10:02 -0500)]
TMF: Add default constructor to experiment and method to initialize it
The experiment behavior is thus equivalent to that of the trace and we can
eventually instantiate an experiment in the UI, just as we can a trace, using
an experiment constructor from a configuration element.
Change-Id: Ib7957a3b6458e424bd34d82d4757174233edec04
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/20666
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Tue, 25 Feb 2014 16:50:11 +0000 (11:50 -0500)]
TMF: Rename the TmfWithFolderElement class to TmfCommonProjectElement
Because this class will do much more than just folder related operations.
The new name is more adequate
Change-Id: I994b2f8f5f78d78ff722e2242b15b411566aa7f3
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/20665
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Tue, 14 Jan 2014 20:56:37 +0000 (15:56 -0500)]
Tmf: Add the experiment type to the trace type extension point
This will allow to define experiment types using the same extension point as
the trace type, so the same handlers and contribution items can be used.
Change-Id: I8ae7da262e2a1e7eab78cf9e763f1fbc0babf5fb
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/13787
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 [Fri, 28 Feb 2014 22:49:28 +0000 (17:49 -0500)]
tmf: Set focus on the event table after searching
Bug: 425055
Change-Id: I92488750b2783fffe76b5004cf97eefc3abc49e6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22705
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, 25 Feb 2014 19:33:57 +0000 (14:33 -0500)]
tmf/lttng: Update 2014 copyrights
Change-Id: I17af85215fcb78096519160b19e91a4f77c7c287
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/22535
Marc-Andre Laperle [Fri, 28 Feb 2014 23:51:40 +0000 (18:51 -0500)]
tmf: Create/Open default project if necessary when opening a trace
Bug: 422619
Change-Id: Iafb2a6fbace303e12b32d0f20e98bca126896dfc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22709
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 [Fri, 28 Feb 2014 21:56:06 +0000 (16:56 -0500)]
tmf: Fix Image leak in TmfAnalysisOutputElement
Bug: 428490
Change-Id: Idf0d9eb1ca7f536aa4a058747c7a9fa7090a299b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22702
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 [Fri, 28 Feb 2014 20:32:42 +0000 (15:32 -0500)]
tmf: Fix Font leak in TmfEventsTable/TmfRawEventViewer
Bug: 428493
Change-Id: Id665a5b0256a57d7926f30b848c9ca089fcc47bc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22698
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, 28 Feb 2014 11:48:15 +0000 (06:48 -0500)]
tmf: Show all traces of an experiment in statistics view (Bug 429087)
Change-Id: I9aeae0d44cbaf647ffd9284a1cabc82ee20356a8
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22666
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Wed, 26 Feb 2014 05:33:16 +0000 (00:33 -0500)]
tmf: Add persistent index support to TextTrace
Change-Id: I55d9529b56c1716032c9105bb02de61e7f396b96
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22544
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Thu, 27 Feb 2014 19:30:43 +0000 (14:30 -0500)]
tmf: Remove dependency to ctfadaptor from the state system
Change-Id: I79b7cf539eba6ace434fc7dfbb32bc3386c68b8c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/22640
Tested-by: Hudson CI
Geneviève Bastien [Wed, 29 Jan 2014 20:52:23 +0000 (15:52 -0500)]
TMF: Add unit tests for XML state providers
Change-Id: I219ea02913f1d9505e8bc894523e1a73722b5cd5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/21484
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, 29 Jan 2014 20:50:57 +0000 (15:50 -0500)]
TMF: Introduce the XML state provider for data driven analysis
This patch presents how to define by XML a state provider for a trace. It
contains a test file that works for the test CtfTmfTraces.
Change-Id: I4b2db36beb2185049c96344a5faff12d51996317
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/19910
Tested-by: Hudson CI
Florian Wininger [Tue, 14 Jan 2014 02:51:44 +0000 (21:51 -0500)]
TMF: Add XML state provider schema definition and test file
This patch adds to the XSD the schema definition for a full XML-defined state
provider. The valid test file is also augmented to use that definition.
Change-Id: Ib75082f04fae69f62f6c7990ee8c92ea4cc042e5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/20595
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Fri, 21 Feb 2014 23:42:30 +0000 (18:42 -0500)]
tmf: Fix most Number unboxing problems
Based on the patch at https://git.eclipse.org/r/#/c/19470/
Don't enable the new warnings, but at least fix the most obvious
problems that the patch exposed.
Change-Id: I3f5d9165cb6db8a2697c87193ea35cf90c89a9b0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/22398
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, 25 Feb 2014 22:07:38 +0000 (17:07 -0500)]
tmf: Replace "find" with "matches" for TextTrace.java
This means that if a pattern is not 100% correct, it will
fail to read an event. However, performance should increase.
If we have for example a pattern (\\d\\d)\s(\S+)
and "123 blabla" will work with find(), returning "23 blabla"
but will fail with matches().
Change-Id: I54e259f31b44fa2996316150665e5ca011576825
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22539
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Wed, 26 Feb 2014 21:59:35 +0000 (16:59 -0500)]
lttng: Update remaining time stamp url in help
Change-Id: I55feb118bcc56b06f455a0d33a768b58ae1fb325
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22597
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, 25 Feb 2014 19:36:19 +0000 (14:36 -0500)]
tmf/lttng: Refresh help projects after building help files
Before this patch, to build the html, it was necessary to do
Build Project manually then Refresh the project manually. With
this patch, it is not necessary to Refresh the project manually
after building the project.
Change-Id: Id67039f3554d3a4cfab19dd987292126f4aed365
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22536
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, 18 Feb 2014 21:26:51 +0000 (16:26 -0500)]
tmf: Remove deprecated methods/classes from tmf.ui
Change-Id: I147d7f96b6a6d224a03a249444406ee334251901
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/22191
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, 18 Feb 2014 21:17:08 +0000 (16:17 -0500)]
tmf: Merge ITimeDataProvider2 back into ITimeDataProvider
Was TODO for 3.0
Change-Id: Ic29c6db1947b0c5375f17dce8ca43389bab0ef66
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/22190
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, 25 Feb 2014 15:36:35 +0000 (10:36 -0500)]
ctf: make DeclarationScope.java more inline with coding style
Change-Id: Ib2dfc791dc56d3d9b34a838b3912731b51f56617
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22515
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Tue, 25 Feb 2014 15:42:58 +0000 (10:42 -0500)]
ctf: make IOStructGen.java more inline with coding style
Change-Id: I3d3671d43ec24bd046e0d1c8b5bb11089bd2110d
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22519
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Tue, 25 Feb 2014 15:26:23 +0000 (10:26 -0500)]
ctf: Make EventDefinition.java more inline with coding style
Change-Id: I009d8d59d7d372bd0208c4799b716a05000620d4
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22513
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Tue, 25 Feb 2014 23:40:21 +0000 (18:40 -0500)]
tmf: Update documentation to reflect recent changes in time stamp handling
Change-Id: Id6220e6758717b120916714c0abd48521a3e5bc1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22542
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Mon, 17 Feb 2014 20:11:58 +0000 (15:11 -0500)]
TMF: Changed the state system explorer to use an abstract tree viewer
This adds the possibility to sort columns. And we don't need to worry about
which thread runs the code.
Change-Id: Iee53523f05eb3a3bdc6bf4d4226cc22a93bf9864
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/22185
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
Geneviève Bastien [Mon, 17 Feb 2014 15:26:19 +0000 (10:26 -0500)]
TMF: Add an abstract tree viewer class
Provides default functionalities for all tree viewers, like how to set the
column data, basic classes to manage the content of the tree, provide easy
abstract method to fetch the data to fill the tree.
Change-Id: I0b19027f24f9e612304bb89f32a03f8c67d8edf7
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/22184
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.045319 seconds and 5 git commands to generate.