Patrick Tasse [Tue, 20 Oct 2015 16:51:05 +0000 (12:51 -0400)]
tmf: Improve bookmark and marker handling
- Support goto marker without rank (with time and duration) in event
table.
- Update goto marker handling to broadcast time/time range selection.
- Execute pending goto marker handling after trace opened signal sent.
- Add initial value to AddBookmarkDialog.
- Use AddBookmarkDialog in event table.
- Improve format of bookmark location string.
- Add interface for marker attribute strings.
- Fix handling of marker changes when trace is closed or deleted.
- Support ADDED resource change delta and consolidate handling of all
deltas from the same resource change event.
- Add methods to add or remove one or more markers in event table.
- Support location attribute as int (backward compatible) or String
value in trace package import operation.
Change-Id: I64fa20af7c7c3bc7854c92184df2b86d1831f850
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/58543
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 20 Oct 2015 19:59:25 +0000 (15:59 -0400)]
tmf: Also dispose the inner table of TmfSimpleTableViewer
Calling dispose() on a TmfSimpleTableViewer does not clear it from its
view, because the inner Table object also needs to be disposed.
Change-Id: I3b05643e93223e4a4a24fd0f1ef5399905e05c4c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/58777
Reviewed-by: Hudson CI
Bernd Hufmann [Tue, 29 Sep 2015 14:34:31 +0000 (10:34 -0400)]
lttng: Add possibility to remove latency listener from latency view
Also, store the listener in a ListenerList instead of a HashSet.
Change-Id: Ia8a7d272db34f09bfc457f74c98b5b928b6a82d7
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56962
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Thu, 9 Jul 2015 17:14:04 +0000 (13:14 -0400)]
Remove duplicate groupId and versions in pom.xml files
If a groupId or plugin version is defined in a parent pom, it
is not necessary to repeat it in its children.
Change-Id: Idcff9cd6cd8154cc06aebde0152f1e7c23665b1b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51680
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Mon, 26 Oct 2015 13:18:05 +0000 (09:18 -0400)]
analysis: Change visibility modifiers in segment store analysis module
Change-Id: I3c16dceccf12a7124898116bee7dd6653e701fd0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58925
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Tue, 13 Oct 2015 11:31:04 +0000 (07:31 -0400)]
lttng: fix NPE when segment selection is null
Change-Id: I1ac9dd36c0465b3261805f362c41a595a55f5df5
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58061
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Thu, 22 Oct 2015 17:40:50 +0000 (13:40 -0400)]
pcap: fix sonar warnings for null references
Change-Id: I8f1834d47609e3a4aeb2792f0fafe609ae7326fb
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58757
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Thu, 22 Oct 2015 17:34:53 +0000 (13:34 -0400)]
control: Unlock lock in all cases
Change-Id: Id49c4e71254020df236be3e61cd32cabf029175e
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58756
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Fri, 16 Oct 2015 18:06:04 +0000 (14:06 -0400)]
lttng: Provide tooltip for latency scatter chart
Change-Id: I42b32fa02eeb2bcbd1c4edb65c2d37fadb0e0cbe
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58544
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Fri, 4 Sep 2015 00:09:21 +0000 (20:09 -0400)]
lttng: Create TmfCallsite's from the debug info analysis
Change-Id: I95e9257be38ddc3f27a26a07626bf02f4630dff2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/56190
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Bernd Hufmann [Fri, 23 Oct 2015 14:30:02 +0000 (10:30 -0400)]
analysis: Dispose the segment store when disposing the segment analysis
Change-Id: If157a9cff7db60f14d686868524eb0101fbec2e6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58820
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Fri, 4 Sep 2015 22:34:08 +0000 (18:34 -0400)]
lttng: Add a LttngUstEvent class for LttngUstTraces
This class will support ITmfSourceLookup, now done through the
UST debug info analysis.
Change-Id: I904f7e8eb1811ab1f74ba95165d3d9167548ca3d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56192
Reviewed-by: Hudson CI
Alexandre Montplaisir [Fri, 4 Sep 2015 21:32:13 +0000 (17:32 -0400)]
ctf: Assign a CtfTmfEventFactory to each trace
A singleton factory means we cannot possibly extend CtfTmfEvent,
because the sole factory can only generate CtfTmfEvent objects.
To rectify this, we can turn the factory into a standard non-static
class, and have each trace take ownership of its event factory. This
means that sub-classes of CtfTmfTrace will be able to provide their
own extension of CtfTmfEventFactory if they want to generate other
event types.
Bug: 476679
Change-Id: I66e9cd49044edd2a77276d779d0f563a2e20d520
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56191
Reviewed-by: Hudson CI
Bernd Hufmann [Mon, 19 Oct 2015 20:00:34 +0000 (16:00 -0400)]
analysis: Add abstract latency scatter chart view and use it in LTTng
Change-Id: I55d1e9ea96281f6f059c0310a50b3481f1294660
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58360
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Thu, 15 Oct 2015 12:55:28 +0000 (08:55 -0400)]
lttng: Add latency statistics
Change-Id: I49863b3046717b3bba81443fc05305d78a80b302
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58262
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Wed, 14 Oct 2015 11:06:09 +0000 (07:06 -0400)]
tmf: add comparator getter to ISegmentAspect interface
Change-Id: Ida38b31726076eaa5b3b465933033cf6e22b0ac7
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58261
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Tue, 13 Oct 2015 18:17:11 +0000 (14:17 -0400)]
analysis: introduce abstract latency analysis table
Change-Id: I29a893ad5ae3cca3bdf8450921467249a8bfd5a9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58093
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 6 Oct 2015 12:59:55 +0000 (08:59 -0400)]
lttng: provide a system call column for in Latency Table
It uses the newly created ISegmentAspect interface
Change-Id: I6bcdf746b396a4a79f10a22233d5cd994d778ad6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57515
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Tue, 6 Oct 2015 12:58:33 +0000 (08:58 -0400)]
tmf: Introduce ISegmentAspect interfaces
Similar to ITmfEventAspect the interface ISegmentAspect provides means
to describe and retrieve the content beyond the data that is provided
by ISegment.
Change-Id: I67facc1212ba222c2012389c25e84d861d1fe190
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57514
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Tue, 6 Oct 2015 10:50:12 +0000 (06:50 -0400)]
analysis: add abstract latency analysis module and use it in LTTng
Change-Id: If1431cc9b31837a0a546ad952526f0e7b47d61f5
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57513
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Francis Giraldeau [Thu, 22 Oct 2015 01:23:57 +0000 (21:23 -0400)]
analysis: basic checks for acyclic property of TmfGraph
The TmfGraph is Directed Acyclic Graph (DAG). This patch adds three
checks:
* verify that a node is not linked to itself (this was possible because
the timestamp is greater or equal to itself).
* assert that getHead() will terminate in the special case where the
tail points to the head indirectly.
* fix infinite loop bug with TmfGraph.scanLineTraverse() with a
specific graph.
Change-Id: I68a3eaed2c1098df1547d1fba34c35bc1d038404
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/58682
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Fri, 16 Oct 2015 01:50:21 +0000 (21:50 -0400)]
analysis: add critical path icon
Change-Id: Id4926070cd1c4a36f6288f6cd1b1beaba6e93233
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58292
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Francis Giraldeau [Mon, 9 Feb 2015 03:52:06 +0000 (22:52 -0500)]
lttng: Add the link between the control flow view and the critical path
A parameter provider listens to the selection of the Control Flow View
and passes that selection as a parameter to the critical path analysis
Change-Id: I2866ffe27d715d76db6d401d97273a0020f25ab4
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/41482
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Francis Giraldeau [Mon, 3 Aug 2015 14:03:49 +0000 (10:03 -0400)]
analysis: Add the critical path view
Added in a new org.eclipse.tracecompass.analysis.graph.ui plugin
Change-Id: Id1f9691273c35e3e91b3ef57c000a37ee8bc4ad1
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/41481
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 21 Oct 2015 22:09:34 +0000 (18:09 -0400)]
lttng: Fix a package dependency in control.core
Change-Id: Ieab9d01b146073d16ff92c35cb9f303eac196142
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58675
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 21 Oct 2015 21:25:47 +0000 (17:25 -0400)]
ctf: Fix ExperimentBenchmark use of tracecompass-test-traces
The way it was used, it was trying to parse the root of the experiment
as a CTF trace.
Change-Id: If575a1ef26a9de56c99bcea21fc5e12ae38e0131
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58673
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Wed, 8 Apr 2015 14:12:17 +0000 (10:12 -0400)]
tmf.ui: Move TmfEventsTable listeners from anonymous to nested classes
The listeners are pretty big and make the code harder to read. This patch
puts them together at the top of the file so that the constructor is simpler.
Change-Id: Ib0ab2d86afec4a26eb725556eb52e046b6b7850f
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/45464
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Tue, 23 Dec 2014 21:17:36 +0000 (16:17 -0500)]
ctf: cache file name
Java File.getName() gets a path and does a substring on it,
this operation is called on a per-event level and should be cached.
Change-Id: Ib8bd18df3bc0ac307f65fde615d151c832918a64
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38740
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Wed, 13 May 2015 20:31:47 +0000 (16:31 -0400)]
Build whole project with Java 8
Change-Id: If94b76f857f73c91a8dd22aa1d04c7168f1f3c51
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/57248
Reviewed-by: Hudson CI
Bernd Hufmann [Mon, 19 Oct 2015 16:48:58 +0000 (12:48 -0400)]
analysis: add plug-ins for timing related analyses (e.g. latency)
Change-Id: Id5e4e73e7f128ed47bd293dacf13365f66c42695
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58480
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Francis Giraldeau [Wed, 4 Feb 2015 04:28:57 +0000 (23:28 -0500)]
TMF: Add extension point for parameter providers
It associates a parameter provider to an analysis. Previous way was to
register the parameter provider in the plugin's Activator, but in case
of lazy
loading of the plugin, it sometimes was not registered.
Change-Id: I409593d23971b41b0efc777b69a4aaa469da9339
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/41120
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Francis Giraldeau [Mon, 9 Feb 2015 03:49:33 +0000 (22:49 -0500)]
lttng: Add unit test for the dependency graph
Change-Id: I9233317d3feb240ecf5d98be3c11aeebd68c448f
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/41480
Reviewed-by: Hudson CI
Francis Giraldeau [Mon, 9 Feb 2015 03:46:04 +0000 (22:46 -0500)]
lttng: Add the dependency graph model and handlers for an LTTng kernel
trace
Change-Id: I0ec0ee9e141e13117ef2367059ad709afb74a130
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41479
Reviewed-by: Hudson CI
Matthew Khouzam [Mon, 19 Oct 2015 03:15:56 +0000 (23:15 -0400)]
Analysis: Bug 453362 - Display Soft IRQ names in Resources View
Softirqs have pre-defined names in the Linux kernel, this patch displays
a description based on them in a the Resources View.
Change-Id: I0f8d301967f34d327e7a8e487619d10c3152b3ba
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58411
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Bernd Hufmann [Tue, 20 Oct 2015 13:50:53 +0000 (09:50 -0400)]
control: Bug 480217: Update MI XSD file for LTTng 2.7 targets
With the new XSD it is possible to use the Control view with LTTng 2.7
targets. All existing features that are supported in the Control view
right now will work again.
A basic test case was added to verify the XSD validation a basic lttng
session created with the Control view for a 2.7 target.
Change-Id: I72e4e89b6d461f0bfa45a13fb8dbf26a6a162223
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58514
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Sat, 17 Oct 2015 02:38:48 +0000 (22:38 -0400)]
analysis: remove useless //$NON-NLSes
Change-Id: I8c2042e98c7672e3b738f4e4d7e00020135114d2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58390
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Sat, 17 Oct 2015 02:35:45 +0000 (22:35 -0400)]
analysis: add javadoc to LinuxValues.java
Sources LKML and LWN to find human readable explanations of all the flags.
Change-Id: Icd0f44afeb3bf443f16d984f034d088aa2ba8a74
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58389
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Fri, 16 Oct 2015 01:35:36 +0000 (21:35 -0400)]
analysis: fix typo in javadoc
Change-Id: I5cf3a98cc6cc8ddf1400c09eaff5bd9fd508c1b1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58291
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Francis Giraldeau [Thu, 15 Oct 2015 16:07:05 +0000 (12:07 -0400)]
analysis: Add definition for extended events and fields
Change-Id: Ibf340e974aa9eef007facf7b29717fc125683667
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/58260
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Fri, 16 Oct 2015 17:39:57 +0000 (13:39 -0400)]
tmf: Bug 479994: TmfTraceSelectedSignal not sent when editor reused
This ensures that TmfTraceSelectedSignal is sent when a trace editor is
reused with a TmfEditorInput after being initially opened with a
FileEditorInput, for example by clicking on a bookmark.
Change-Id: I9cf4d5f002856ff0f3320c4c2dd958b3a25964a4
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/58356
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Wed, 8 Jul 2015 19:26:20 +0000 (15:26 -0400)]
lttng: Add unit tests for the debug-info analysis
Change-Id: Ib1e302945f0c231d509e8c5a12d3528a33e4119e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51664
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Mon, 21 Sep 2015 19:04:26 +0000 (15:04 -0400)]
ctf: Depend on the tracecompass-test-traces project
Instead of a manually downloading the test traces, we can have the tests
depend on the new tracecompass-test-traces project, which ships all test
traces used by Trace Compass tests in jars.
The test-traces's p2 repo is now part of the target definitions.
Change-Id: I7a1ef80263c2a1e49202d889754e04b2ba44ff3f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/56466
Reviewed-by: Hudson CI
Francis Giraldeau [Tue, 30 Jun 2015 02:16:12 +0000 (22:16 -0400)]
Analysis: Add unit tests for the critical path module
Change-Id: If3c2cc85675314b5278c2dfedf4dd4dec554eaab
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/51082
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Francis Giraldeau [Tue, 30 Jun 2015 01:52:14 +0000 (21:52 -0400)]
Analysis: Add the active path module
This module computes the active path from a execution graph. The active
path of a given task has all the blockings replaced recursively by the
edges representing the cause of the wait at the system level.
Change-Id: Ie19b461ebe5ad595bca43b55f380ce28db416445
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/51081
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Wed, 27 May 2015 21:49:39 +0000 (17:49 -0400)]
lttng: Introduce a debug-info analysis for UST traces
This UST-specific analysis will track the loading and unloading
of shared libraries, and will allow to match an instruction pointer
from an event context to the corresponding binary or library.
Once we have the correct binary (executable or .so) identified,
we can match it to an actual binary file with debug information,
and retrive the corresponding address/filename/line number, just
like is currently done with the Callstack view.
For now, the analysis will only map an instruction pointer to
the corresponding binary file. A future step will use CDT
binary parsing facilities to get the function name and line
number corresponding to the instruction pointer.
Change-Id: I6127e89cc5d3d8c7abff01610b8a6dc9a612f149
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51662
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Francis Giraldeau [Thu, 15 Oct 2015 14:51:27 +0000 (10:51 -0400)]
Add linux softirq ids
The SoftIRQs are pretty much cast in stone on linux. This patch adds the
definition, as they are found in the softirq_entry event and vec field.
Change-Id: If4b3931d777eda540e3f2090939cd59ecd8d1643
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/58256
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Matthew Khouzam [Wed, 14 Oct 2015 01:56:39 +0000 (21:56 -0400)]
lttng: Add time alignment work to scatter chart
Removes adjustRange() on the X-axis because it can change the desired
range when no data point exists at the range bounds.
Changes TmfCommonXLineChartViewer to use X-axis range for time alignment
instead of first and last data points.
Change-Id: Ia15eff9a258da0b20d0204c25f003768adc6b5e0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57011
Reviewed-by: Hudson CI
Francis Giraldeau [Thu, 15 Oct 2015 14:34:46 +0000 (10:34 -0400)]
Make the file formattable and adjust header
Trivial code cleanup patch.
Change-Id: I6fe8b28fb885c34d3a9dd7d7bd52bf02de78f723
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/58255
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Matthew Khouzam [Mon, 21 Sep 2015 20:18:01 +0000 (16:18 -0400)]
Introduce Latency scattergraph
Change-Id: I0adfe61c72dc5769f96921f10f810d457aa16133
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/54310
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Cédric Biancheri [Fri, 25 Sep 2015 15:31:43 +0000 (11:31 -0400)]
tmf: Add the possibility to choose the root node for synchronization
The root node in the spanning tree used for synchronization was
always the first hostId in lexicographic order.
Now the user can choose the trace that will be used as reference
for the synchronization.
When the user wants to synchronize an experiment a window similar
as the one used to add a trace to an experiment is shown.
The first trace is selected by default.
Change-Id: Iaaeb4c7905dc6171d9f8a40c4dbf4e8ba65d5ebd
Signed-off-by: Cédric Biancheri <cdc.biancheri@gmail.com>
Reviewed-on: https://git.eclipse.org/r/56769
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Wed, 14 Oct 2015 02:41:42 +0000 (22:41 -0400)]
analysis: add icons for analyses
Change-Id: I494ca354404aa85e9af240567b7981e2921bb069
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58121
Reviewed-by: Hudson CI
Matthew Khouzam [Wed, 14 Oct 2015 00:12:10 +0000 (20:12 -0400)]
analysis: Fix TreeMapStore's serialization
Change-Id: Ia6c3299d8e0e940cae52118c14ca04c16aedd049
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58118
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Matthew Khouzam [Wed, 14 Oct 2015 03:03:04 +0000 (23:03 -0400)]
analysis: add latency table icon
Change-Id: I2565d266495f6db2a555cfa1840ff66d3fa8e924
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58122
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Wed, 14 Oct 2015 03:06:54 +0000 (23:06 -0400)]
ust: add memory analysis icon
Change-Id: I3affe2d06c1ac80cf99408d37b55d6525c4e4294
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/58124
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Mon, 25 May 2015 16:31:13 +0000 (12:31 -0400)]
Add null-checks for Map.get()
Map.get() can return null, and this can mean two different things:
1) The value associated with this key is 'null'.
2) There is no such key in this map.
Java 8 type annotations (Map<K, @NonNull V> for example) can cover
for the first case, but not the second! Map.get() can *always*
return null, no matter the map declaration. The enhanced null analysis
reveals that.
Many places in the code call Map.get() without null-checking, we can
fix these cases in advance. In many cases, this also exposed places
where iterating on map entries should have been done instead of
iterating on keys and doing a lookup.
Change-Id: I8b94a7ed7193f41479b3b0bc9b5990213b9718a3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/52015
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Thu, 9 Jul 2015 18:30:50 +0000 (14:30 -0400)]
Add a script to check for outdated Maven dependencies
We already have a Hudson job that runs this, we could commit
the script in the git tree so that it can be run locally.
Change-Id: Iefcae17dad4639e917e3440bce6929811773bd9c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51682
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Tue, 6 Oct 2015 21:55:14 +0000 (17:55 -0400)]
tmf: Allow refreshing manually all ITmfTraceEditors and traces under experiment
This is a follow-up to the comments in https://git.eclipse.org/r/#/c/57465
Change-Id: Ia6e8ecc056a5c662255c35f029f72bbe1cc2785a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57559
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Marc-Andre Laperle [Tue, 6 Oct 2015 22:21:41 +0000 (18:21 -0400)]
Update Oomph setup file with Trace Compass 1.1.0 baseline
Change-Id: Ibf9ccc8474731010dc59e5a3a3d2d1d562c088b2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57562
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Marc-Andre Laperle [Tue, 6 Oct 2015 22:00:11 +0000 (18:00 -0400)]
tmf: Fix minor typo in test
Change-Id: I50db090d9eeaccbbad5fc57d753bbc33770f4bf2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57560
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Tue, 6 Oct 2015 20:21:15 +0000 (16:21 -0400)]
tmf: Fix time-axis alignment for cases where the series is not sorted
The time-axis alignment code for XY chart viewers (SWTCharts) assumes
that the series in the chart will be sorted and that the last item in
the series will be the one with the highest value. Since SWTChart
allows specifying series values in no specific order, this should be
handled properly in the time-axis alignment code.
We do not have any views right now that shows this behavior but if
you want to see this bug, you can try this patch in combination with:
https://git.eclipse.org/r/#/c/57011/
Change-Id: I8a850f9a12f945fe5616b0b82176d98ea45c33ae
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57552
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Tue, 6 Oct 2015 21:21:01 +0000 (17:21 -0400)]
Remove tracecompass-baseline-1.0
Change-Id: Ia04f2a5b1a3cbe3576579712e458f39efc9bbd35
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57557
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Sun, 20 Sep 2015 18:06:21 +0000 (14:06 -0400)]
releng: Upgrade jboss repository-utils to 0.23.2
This is the latest stable version available for the plugin.
We need to use skipBuildInfo otherwise some extra json files
are generated.
Change-Id: I437afd1483705311cdf36961f23d6c8df105c054
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56317
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Marc-Andre Laperle [Mon, 5 Oct 2015 21:45:49 +0000 (17:45 -0400)]
Change some @since to 1.1 for things that were really added in 1.1
Change-Id: I57e900622e1e31984233391beebe3ce5a0cb6e07
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57456
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Marc-Andre Laperle [Mon, 5 Oct 2015 20:20:49 +0000 (16:20 -0400)]
Add Trace Compass 1.1 baseline, fix some API errors
Change-Id: I356706eae6fd2afb85f0f32fae91291c7e11dcad
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57447
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Thu, 1 Oct 2015 02:03:24 +0000 (22:03 -0400)]
tmf.core: make ITmfCallsite getFileName @NonNull
Change-Id: Ie93ca879cb2954bb86eaf68f3dea40fb056b6c2e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/42916
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Tue, 15 Sep 2015 14:40:18 +0000 (10:40 -0400)]
tracecompass: update pom sonar plugin
This should add support for sonar 5.1+ if eclipse.org upgrades to it.
Change-Id: I02d8887d1f8b95a0b5696564d447ee341f643b21
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/55990
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Thu, 1 Oct 2015 22:31:24 +0000 (18:31 -0400)]
tmf: Link bookmarks with resource markers in abstract time graph view
Change-Id: I5a0c8f03df5606c2bb42517bae10b7f52e539fcc
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/57254
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Wed, 30 Sep 2015 22:32:15 +0000 (18:32 -0400)]
tmf: Support user bookmarks in time graph
Adds the Toggle Bookmark, Select Previous Bookmark and Select Next
Bookmark actions to the time graph viewer and the abstract time graph
view.
Adds an Add Bookmark dialog.
Adds an ITimeGraphBookmarkListener interface.
Uses the old Previous/Next Event icons for the Previous/Next Bookmark
actions, and modifies the Previous/Next Event icons.
Change-Id: Ic7e51c4cf7aab4f78b49ec7bc9e2b87faff9f325
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/57135
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Tue, 29 Sep 2015 21:01:27 +0000 (17:01 -0400)]
tmf: Add SWTBot tests for manually refresh of traces
Change-Id: I6e52066382b958e2c50ebdd9982e8651bdc87889
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57138
Reviewed-by: Hudson CI
Patrick Tasse [Tue, 15 Sep 2015 19:16:05 +0000 (15:16 -0400)]
swtbot: Add some failure messages to test conditions
Change-Id: I725b75e7f66447532b3eacd5bd86518ebfee8c8c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/56017
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Fri, 25 Sep 2015 23:52:27 +0000 (19:52 -0400)]
tmf: Add command to manually refresh traces
At the moment, only the events table will be refreshed.
Change-Id: I7b9933d8e52e7e7fc821a3b41f1e688bf4c81d09
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57137
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Jean-Christian Kouame [Wed, 30 Sep 2015 14:30:46 +0000 (10:30 -0400)]
tmf: Delete unused code in GraphNode
Change-Id: Iab9a0769235f3b05ed25100e3c821d283a6e0422
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57087
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Wed, 8 Jul 2015 20:15:24 +0000 (16:15 -0400)]
lttng: Add utility methods to get CTF tracer versions
It's not uncommon to check for tracer names and versions of CTF
traces. We can offer convenience methods to do so, instead of
having to parse the environment metadata every time.
Change-Id: I9c4cbc7e36d24d972889f6c4bbc16d2db852f741
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51661
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Thu, 1 Oct 2015 04:58:26 +0000 (00:58 -0400)]
lttng: Use SWTBotJunit4ClassRunner in CallStackViewTest for screenshot on fail
Change-Id: I078f3c1ca4c18fd0f9d5a247f42ea71ae1f3823d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57145
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Jean-Christian Kouame [Wed, 30 Sep 2015 17:20:20 +0000 (13:20 -0400)]
tmf : Redefine CompareTo() in EventOccurrenceObject
Change-Id: I6251531e51ff398afdcc892d915092203f011dec
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57108
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Fri, 25 Sep 2015 22:41:06 +0000 (18:41 -0400)]
tmf: Support markers in abstract time graph views
Change-Id: Iadbe8cd42681fec05ca295b095b60e333edb6865
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/56753
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Jean-Christian Kouame [Wed, 30 Sep 2015 14:14:03 +0000 (10:14 -0400)]
tmf: Avoid duplicate literals in GraphNode
The string literals have been extracted into a constant variable
Change-Id: I4f48ca60faac42186bba26f9f9513993409d2bbe
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/57085
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Jean-Christian Kouame [Tue, 29 Sep 2015 17:32:10 +0000 (13:32 -0400)]
tmf.ui : Iterate in OffsetTraceHandler using the entryset instead of the keyset
Change-Id: I2c7c510feec20793570faa6723a7c8e1e0ed1ab6
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56992
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 23 Sep 2015 19:16:59 +0000 (15:16 -0400)]
Use pde.junit runtime from target to allow e4.5 tests to run on Eclipse 4.6
Fixes trying to run tests with Eclipse 4.6 targetting Eclipse 4.5 using Java 7.
Whitout this change, the runtime from Eclipse 4.6 gets picked up and it
requires Java 8.
Change-Id: I8597ee30fd094bad5b004e21d3fa5b939ca49b7a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56563
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 27 May 2015 19:42:27 +0000 (15:42 -0400)]
ctf: Remove the callsite support
The existing support for CTF callsites was based on an out-of-tree
branch of LTTng-UST. This branch was since then abandonned, and
callsites (now rather called "debug info") will be implemented
differently.
This makes CtfTmfEvent not extend ITmfSourceLookup, because for
all intents and purposes it should never have. Correct source
lookup will be added with the new support.
Change-Id: Ic8b9c133965a1230f7754bbdcb7bc933414f38b2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50310
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 23 Jun 2015 00:15:48 +0000 (20:15 -0400)]
lttng: Move the UST Callstack analysis to use ILttngUstEventLayout
The UST callstack implementation was defining the event and field
names it's looking for on its own. This is bad and prone to future
breakage.
Instead, integrate these event definitions in the LttngUstEventLayout,
and move the analysis to use these instead.
Change-Id: I098d8569ab2c9c0d2ffd0975aba528a177a02af2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50686
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Jean-Christian Kouame [Tue, 29 Sep 2015 17:04:21 +0000 (13:04 -0400)]
tmf.ui : use an entryset instead of a keyset in the GraphNode
Change-Id: I1175efa2bae9b933d1abcbb041c0fbc9ce198e9d
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56991
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Bernd Hufmann [Fri, 25 Sep 2015 19:55:43 +0000 (15:55 -0400)]
tmf: Bug 478578: Add weak binary validation to text trace types
Change-Id: I0e693ff8f03907b7b3fc4c2f2dafcf547c2db698
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56936
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Bernd Hufmann [Mon, 28 Sep 2015 20:07:15 +0000 (16:07 -0400)]
lttng: Support for cancelling of latency request
Change-Id: I86a113c3ed322e673cb0f21c1fbdff472c0b3958
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/56897
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Fri, 31 Jul 2015 12:12:18 +0000 (08:12 -0400)]
lttng: Improve and speed-up control tests handling
For each test a 3 seconds delay is done waiting that the ControlView
is open and initialized properly. This patch optimizes this.
Change-Id: I5308973613c23c481757fd26c84f87c0a9edf94a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/52971
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Tue, 29 Sep 2015 13:44:03 +0000 (09:44 -0400)]
tmf: Bug 467751: Re-introduce fix for concurrency bug
The problem was brought back accidentally when using the
TmfUiRefreshHandler instead of display.asyncExec(). It had been fixed
in Trace Compass 1.0. It's not part of Trace Compass 1.1 anymore.
Change-Id: I29096b35c02d8404b9a2ad8deb0bb62fcf0dc33a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56951
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Cédric Biancheri [Fri, 25 Sep 2015 02:46:40 +0000 (22:46 -0400)]
lttng: Fix error in virtual machine analysis
The analysis was not checking if the virtual cpu was idle
before setting the current state to preempted.
Now it is ignored in this situation.
Change-Id: Iddef5c2ec1c916ea0b591d0106b4e6473febb819
Signed-off-by: Cédric Biancheri <cdc.biancheri@gmail.com>
Reviewed-on: https://git.eclipse.org/r/56728
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Mon, 28 Sep 2015 21:27:31 +0000 (17:27 -0400)]
ss: Speed up TreeMapStore#add()
The add() does not need to call contains(), a O(n) operation, to check
if the element was already present. It can simply re-use the return
value of TreeMultimap.put().
Change-Id: Iab1971f6310163099906df0a1702d106e3640316
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/56904
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Matthew Khouzam [Fri, 11 Sep 2015 14:46:31 +0000 (10:46 -0400)]
swtbot: add callstack view tests
This test reads a trace and tests the callstack at different places.
Change-Id: I5d66f68aa5c65eaa325b1db10ea3df9aa1be475a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41787
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Wed, 25 Mar 2015 21:47:16 +0000 (17:47 -0400)]
lttng: Add UST swtbot plug-in
Change-Id: I5a6db70e104734c8158a57b3c635bdbbbf4837dd
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/44641
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Fri, 21 Aug 2015 01:20:11 +0000 (21:20 -0400)]
lttng: Move the UST memory analysis to use ILttngUstEventLayout
This will allow the analysis to work with different versions
of the UST.
Removed the getRequirements() test, because testing (what used
to be) statically-defined values is not particularly useful.
Fixes Bug: 470186.
Change-Id: Id3c80467a55c9c3d47c8073d49e8f4ea3ead4f5b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/54272
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Fri, 25 Sep 2015 11:28:54 +0000 (07:28 -0400)]
lttng: Support to select start and end event in LatencyAnalysisViewer
Change-Id: I325f51a687ff82b08f6216912ec03d4adb5e407d
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56709
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Fri, 25 Sep 2015 11:27:55 +0000 (07:27 -0400)]
tmf: API to add commands to context sensitive menu of TmfSimpleTable
Change-Id: Ibb3b105d0f7c39404fb4e3bb087ab2c4f65d7407
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56708
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Thu, 24 Sep 2015 21:55:23 +0000 (17:55 -0400)]
ss: Make ISegmentStore implement Collection
It used to implement Iterable, not many changes are required to
support the entirety of Collection.
Change-Id: I1622c222d3eb72afdde47ca0a462003dda85d0cd
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/56680
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Tue, 22 Sep 2015 20:50:53 +0000 (16:50 -0400)]
tmf: Support markers in time graph control
The time graph can be provided with a list of markers.
Each marker has a time, duration, and color. The color can have an alpha
value for transparency. A marker can be specific to a particular time
graph entry, otherwise it is drawn for the full height of the control. A
marker can have an optional text label. A marker can be drawn in the
foreground (above the entry's time events) or in the background (below
the entry's time events).
The drawing of markers can be turned on or off globally.
Change-Id: I15d19925ab5371f21fbaf81d51182d17868e92a6
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/56472
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Mon, 21 Sep 2015 17:23:18 +0000 (13:23 -0400)]
tmf: Update time graph control drawing order
Draw the item's name and middle line as part of the background layer.
This allows grid lines, and later markers, to be drawn on top of the
middle line.
Change-Id: Icfe9fcdaa7c39bfe2bc9c055929a86f157b21773
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/56372
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Thu, 24 Sep 2015 21:35:25 +0000 (17:35 -0400)]
Change "Discouraged Reference" to warning
In alltests plug-in, this allows easier reuse of SWTBotStressTests
to run an individual test that is outside the alltests plug-in
(and is internal).
Change-Id: Ie570d5df176f5eb7d25c72070f296cd6d4d1b324
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56675
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Matthew Khouzam [Mon, 21 Sep 2015 20:14:21 +0000 (16:14 -0400)]
tmf.ui: fix UpdateThread's illegal thread access on updateData
The method updateData should only be called from the UI thread. This
patch makes the update thread call a ui runnable to update the data.
Change-Id: If1336322a0be20213dd53e151d2e4707481610b7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56383
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Matthew Khouzam [Tue, 22 Sep 2015 19:26:31 +0000 (15:26 -0400)]
treemapstore: make the iterator copy on read after write.
This may appear to be an odd synchronization scheme, but
there are normally 1 million writes per read, and then at
the end there are no more writes, so this will minimize copies
of the data much more than a traditional copy on write.
Change-Id: I9d78bc2a1de788ca41742e57d0df45d42ac4642a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56468
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Matthew Khouzam [Mon, 21 Sep 2015 20:06:28 +0000 (16:06 -0400)]
segments: make TreeMapStore thread safe
This change will allow querying/iterating over the TreeMapStore is being built.
The data is not always accurate, but it is true to the time of the query.
Change-Id: I8721002fda68f7e88cb9ec742d76568a8c53e9ae
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56381
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
This page took 0.049175 seconds and 5 git commands to generate.