deliverable/tracecompass.git
6 years agoFix time graph widget initialization time-graph-model-3
Alexandre Montplaisir [Thu, 29 Jun 2017 17:43:49 +0000 (13:43 -0400)] 
Fix time graph widget initialization

Change-Id: I7ee0c71e68d9735ff0305b958d54e5b95b72b1e2
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agoAdd explicit dependency to scope.lttng.kernel plugin
Alexandre Montplaisir [Tue, 27 Jun 2017 21:32:33 +0000 (17:32 -0400)] 
Add explicit dependency to scope.lttng.kernel plugin

Since that plugin does not provide extension points, we need to ensure
it gets loaded before the "views" UI plugin.

Change-Id: If4d7fa9b6ab7ff5d3c6ea50ef1681a89c5ebbf0c
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agoAdd the new plugins to the RCP time-graph-model-2
Alexandre Montplaisir [Mon, 5 Jun 2017 20:03:47 +0000 (16:03 -0400)] 
Add the new plugins to the RCP

Change-Id: I28d68bfbe998a2080e478e2513a0494377b77f17
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agoAdd an IStartup to the new kernel.core plugin
Alexandre Montplaisir [Mon, 5 Jun 2017 19:48:27 +0000 (15:48 -0400)] 
Add an IStartup to the new kernel.core plugin

This plugin does not provide any analysis or anything, so nothing refers
to it. Use an IStartup extension point to activate it.

(Why is IStartup in eclipse.ui though?)

Change-Id: Ie26f39a9a657810ff0a16f04b14df7fa56dc9213
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agoAdapt new kernel.core plugins to TMF
Alexandre Montplaisir [Mon, 5 Jun 2017 19:23:43 +0000 (15:23 -0400)] 
Adapt new kernel.core plugins to TMF

We can remove the kernel analysis etc., these are already defined in
tracecompass's lttng.kernel.core.

Also disable the IRQ widget, it requires aggregate attributes in the
state system.

Change-Id: I3f7ada23a964f22df705e8ac82abf5bbe2a1f275
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agoImport lttng.kernel.core plugins from Scope
Alexandre Montplaisir [Tue, 27 Jun 2017 19:21:40 +0000 (15:21 -0400)] 
Import lttng.kernel.core plugins from Scope

Again from commit c5f55ff6c3525a528c60fd6f4589ba47abe7c406.

Change-Id: Id083fc8b48798f46f73cf4b15ac0a4b7479acb95
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agoAdapt views plugins to TMF
Alexandre Montplaisir [Mon, 5 Jun 2017 18:53:23 +0000 (14:53 -0400)] 
Adapt views plugins to TMF

Change-Id: I43ad92abcc9526fa58b9f802691d58899cdcfc97
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agoImport views plugins
Alexandre Montplaisir [Tue, 27 Jun 2017 19:09:04 +0000 (15:09 -0400)] 
Import views plugins

From LTTng-Scope commit c5f55ff6c3525a528c60fd6f4589ba47abe7c406.

Change-Id: I783e5b54d132cb605b1da3f65dbe8c8db5fe12cd
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agoreleng: Add e(fx)clipse runtime to the target
Alexandre Montplaisir [Mon, 5 Jun 2017 18:30:56 +0000 (14:30 -0400)] 
releng: Add e(fx)clipse runtime to the target

Allows using JavaFX stuff.

Change-Id: I4591eafbcd6173506e616f5452149527b343d47f
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agolami: Update plugin version
Alexandre Montplaisir [Mon, 5 Jun 2017 18:24:32 +0000 (14:24 -0400)] 
lami: Update plugin version

and add missing @since annotations.

Change-Id: Ibab22a6a701bae69b1144e1d559dfac1cd9db92d
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
6 years agodoc: Update doc for trace analysis under experiment
Bernd Hufmann [Fri, 2 Jun 2017 11:34:50 +0000 (07:34 -0400)] 
doc: Update doc for trace analysis under experiment

Change-Id: Ib4941f112087f357fd5cf43ea5c166e782ac8ad7
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/98526
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agotmf: Bug 517665: Fix NPE when renaming trace that is in an experiment
Bernd Hufmann [Thu, 1 Jun 2017 19:23:47 +0000 (15:23 -0400)] 
tmf: Bug 517665: Fix NPE when renaming trace that is in an experiment

Change-Id: I479ed462161bbec95ad84142f7b90ca4b337e66b
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/98466
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
6 years agotmf: Look at the extra aspects when resolving int aspect
Geneviève Bastien [Wed, 31 May 2017 13:37:59 +0000 (09:37 -0400)] 
tmf: Look at the extra aspects when resolving int aspect

fixes bug 517543

Change-Id: I89c46730629880209e5f8743f196c89d49e57f88
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/98327
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agotmf: bug 517583 fix the experiment sync file path
Geneviève Bastien [Wed, 31 May 2017 17:18:26 +0000 (13:18 -0400)] 
tmf: bug 517583 fix the experiment sync file path

Commit 4b40a764980500b35c92f5a5da561905bbfcfcce removed the @Deprecated
public field containing the file name, but it just should have been made
private instead of removed.

Change-Id: Ie5fe921f98c56427ec3667184992d16f5bd169bd
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/98366
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agocharts: Update label display when populating (bug 517600)
Geneviève Bastien [Mon, 13 Mar 2017 15:48:10 +0000 (11:48 -0400)] 
charts: Update label display when populating (bug 517600)

If labels are long, they need to be truncated to avoid taking too much
real estate in the chart. But the resize was called only when the
control was resized and not when being populated.

Change-Id: I3f25e4ba065678d0e7697702d7083e0a4ace62cb
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/92952
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agotmf/lttng2: support multiple symbol providers
Mikael Ferland [Tue, 23 May 2017 20:21:26 +0000 (16:21 -0400)] 
tmf/lttng2: support multiple symbol providers

The basic symbol provider is now available for all call stack
analyses.

Change-Id: Ic359d12b4027977ca4a2e6c3cb30e1c780c92e41
Signed-off-by: Mikael Ferland <mikael.ferland@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97924
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
6 years agokernel.core: change logger to tracer.
Matthew Khouzam [Mon, 29 May 2017 23:58:46 +0000 (19:58 -0400)] 
kernel.core: change logger to tracer.

The logger generates a large amount of repeated data, this should go in
a trace. Additional data is also stored, but it is faster if tracing
is disabled as the string is not generated.

This should reduce the build log file sizes noticeably.

Change-Id: I7e1c2a799b9386be5872fe7ac3a3e4686ae416c7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/98173
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
6 years agocharts: Add swtbot for bar chart maker dialog
Geneviève Bastien [Tue, 14 Mar 2017 15:06:16 +0000 (11:06 -0400)] 
charts: Add swtbot for bar chart maker dialog

Change-Id: I52ceb2f656f35f1931d961427ec1e8491ea699a1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/93032
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agocharts.test: Add a complete set of stub data
Geneviève Bastien [Mon, 30 Jan 2017 20:36:07 +0000 (15:36 -0500)] 
charts.test: Add a complete set of stub data

This stub chart provider can be used to unit test the descriptor types
and consumers

Change-Id: I04ff28f04b3bbdb41891d28b02d3ee523cd57629
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/91934
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agolami: Add swtbot tests for custom charts
Geneviève Bastien [Mon, 27 Feb 2017 17:05:49 +0000 (12:05 -0500)] 
lami: Add swtbot tests for custom charts

This adds a new plugin for lami swtbot tests.

Add test cases for creating scatter and bar charts for some stub
analyzes.

Change-Id: I3147b3f46b89c036760e0f5f9fc4b2fb0ae33d95
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/91933
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoust: Add a LinuxTidAspect using the context._vtid
Geneviève Bastien [Tue, 30 May 2017 18:22:42 +0000 (14:22 -0400)] 
ust: Add a LinuxTidAspect using the context._vtid

And have the callstack analysis use the aspect instead. This will allow
the callstack analysis to work when an aspect discovering the TID from a
kernel trace is added (in the incubator).

The callstack analysis requirement will need to be updated for it to
work without the context vtid field.

Change-Id: I8b31acfd0c6b03685403c57c650fdb3474e50c26
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/98250
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoLTTng.core: Critical Flow fix incorrect process name
Abderrahmane Berhil [Thu, 25 May 2017 18:36:01 +0000 (14:36 -0400)] 
LTTng.core: Critical Flow fix incorrect process name

fixes bug 514762

When the task is changing from a task other than idle, it may change its
name, it it is reset to the new name every time as a precaution.

Change-Id: Id65a1861b78de26c9a272b245a7a728f3fc6cca8
Signed-off-by: Abderrahmane Berhil <abdelrahmane.b@gmail.com>
Reviewed-on: https://git.eclipse.org/r/97991
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agoreleng: Update 4.7/staging target for cdt, linuxtools, TM, Webtools, ...
Jean-Christian Kouame [Wed, 24 May 2017 16:56:17 +0000 (12:56 -0400)] 
releng: Update 4.7/staging target for cdt, linuxtools, TM, Webtools, ...

Change-Id: Ibd97fb810be83b6ec56f3b93a296e409aee2a181
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97909
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
6 years agoreleng: update 4.7/staging target to CDT, TM and Remote M7 builds
Bernd Hufmann [Tue, 16 May 2017 18:25:17 +0000 (14:25 -0400)] 
releng: update 4.7/staging target to CDT, TM and Remote M7 builds

Change error to warning for usage of deprecated APIs. This allows us
to build with Neon and Oxygen.

Change-Id: I1154576dad741fc707d0fe47a253bf7c994a60cf
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97272
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agodoc: Add Latency analysis for IRQ Handlers section in the user guide
Jean-Christian Kouame [Fri, 19 May 2017 18:05:35 +0000 (14:05 -0400)] 
doc: Add Latency analysis for IRQ Handlers section in the user guide

Change-Id: I3040282020ad62c358c12ba1c9a5d701ffb4bb4c
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97598
Reviewed-by: Mikael Ferland <mikael.ferland@ericsson.com>
Reviewed-by: Loic Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoos.linux: Replace syscall stat view by the generic one
Geneviève Bastien [Thu, 22 Sep 2016 21:07:02 +0000 (17:07 -0400)] 
os.linux: Replace syscall stat view by the generic one

Change-Id: Ie019b76d749b525b1ce1f5357a2cb997658fe0b8
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/82286
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agoxml.ui: Enable multiple XML latency views instances
Mikael Ferland [Wed, 17 May 2017 15:09:13 +0000 (11:09 -0400)] 
xml.ui: Enable multiple XML latency views instances

Make use of the secondary id to identify different analysis. Also, use
the secondary id of the analysis as an identifier for the view property
subsection in the persistent property store. This will allow the
application to retrieve the correct name of an analysis when restarting.

Change-Id: I01dfdb7ff5714dcbc6d5e2a35df570e7f80b02e6
Signed-off-by: Mikael Ferland <mikael.ferland@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97442
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agoos.linux: Use HistoryTreeSegmentStore for the system calls
Geneviève Bastien [Thu, 19 Jan 2017 16:50:31 +0000 (11:50 -0500)] 
os.linux: Use HistoryTreeSegmentStore for the system calls

Change-Id: I1632a5fa35afade438c92f874b0e41d490dde5a6
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/89143
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agotiming: Add default implementations of deprecated methods
Geneviève Bastien [Fri, 19 May 2017 16:04:04 +0000 (12:04 -0400)] 
timing: Add default implementations of deprecated methods

This adds default implementation in the interface for
ISegmentStoreDensityViewerDataListener so that implementations do not
have to override deprecated methods.

Change-Id: I54ddb3c13c62a3ae554d48636d01995da7f3d3f7
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/97590
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agoctf.core: remove deprecated code
Loïc Prieur-Drevon [Tue, 9 May 2017 19:48:05 +0000 (15:48 -0400)] 
ctf.core: remove deprecated code

Change-Id: I6059c372ea8690d23e1aec89aee3a766ac5d7388
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/96687
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>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
6 years agotmf.ui: add support for transparency in timegraph
Matthew Khouzam [Sat, 29 Apr 2017 15:04:12 +0000 (11:04 -0400)] 
tmf.ui: add support for transparency in timegraph

Change-Id: Ib3800b5ae78970005512690c265ae8786984f0e7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96080
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
6 years agotmf: show aggregate property information for aggregate analysis element
Bernd Hufmann [Thu, 18 May 2017 13:00:39 +0000 (09:00 -0400)] 
tmf: show aggregate property information for aggregate analysis element

Change-Id: I528dd8999a979be3339c761bb2e1626c60e98c49
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97477
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agotmf: Update API for multiple symbol providers
Geneviève Bastien [Mon, 15 May 2017 15:52:33 +0000 (11:52 -0400)] 
tmf: Update API for multiple symbol providers

This prepares the API to support multiple symbol providers for a trace,
it does not add the support yet.

Change-Id: I9e3e926aa495b2fa236d3cfa3255edbfcf0b532d
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/97124
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agoCTF: Remove warnings in CallSiteParser
Abderrahmane Berhil [Thu, 18 May 2017 18:30:19 +0000 (14:30 -0400)] 
CTF: Remove warnings in CallSiteParser

Change-Id: Ia7a1443304fecd3ad8a4216e50539db24cf29707
Signed-off-by: Abderrahmane Berhil <abdelrahmane.b@gmail.com>
Reviewed-on: https://git.eclipse.org/r/97490
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agotmf: minor clean-ups for trace analysis under experiments feature
Bernd Hufmann [Thu, 18 May 2017 16:52:32 +0000 (12:52 -0400)] 
tmf: minor clean-ups for trace analysis under experiments feature

Change-Id: I6b811575508309152a0700e4fd0c945f7782bb54
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97476
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agosegmentstore: fix incorrect iteration order in segment history
Loïc Prieur-Drevon [Thu, 27 Apr 2017 16:12:01 +0000 (12:12 -0400)] 
segmentstore: fix incorrect iteration order in segment history

The initial values for minEnd and maxStart times would lead to
incorrect orders during tree build.
Also, the bounds for the node are now serialized.
Add a test to ensure the order is right.

Change-Id: I0c0811f725fbdb3c06e45685f511fac060876b6d
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/95945
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agotmf: Bug 516848: Open As Experiment doesn't set experiment type
Patrick Tasse [Wed, 17 May 2017 21:59:48 +0000 (17:59 -0400)] 
tmf: Bug 516848: Open As Experiment doesn't set experiment type

The experiment type was only set if the experiment already existed (and
the experiment type had changed). It should always be set if it is a
newly created experiment.

Change-Id: I994df5ba6b1329ab41bdf70f08deb57a8dc289e9
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/97384
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agotiming.ui: Have SegmentStoreScatterGraphViewer use iterables
Loïc Prieur-Drevon [Tue, 18 Apr 2017 19:36:22 +0000 (15:36 -0400)] 
timing.ui: Have SegmentStoreScatterGraphViewer use iterables

Change-Id: Ib5e38c1e054ff438cdf7883e383cff0b3947d3a5
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/95208
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agolttng.core: add Address handling to BinaryAspect
Matthew Khouzam [Fri, 5 May 2017 13:41:19 +0000 (09:41 -0400)] 
lttng.core: add Address handling to BinaryAspect

The address is identical to the context_.ip. This is a good fallback
if the user forgets to add the context.

Change-Id: I93829cea195e4a3da8c91ba50d6f5e5bfa939ecd
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96484
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agotmf: Show all trace analysis and views under the experiment
Bernd Hufmann [Mon, 10 Apr 2017 13:27:13 +0000 (09:27 -0400)] 
tmf: Show all trace analysis and views under the experiment

This patch introduces an aggregate analysis element in the project
explorer that aggregates all common trace analysis elements for each
contained trace in the experiment

Change-Id: I4956be83e4d3be05ca4ff2aba44ceac7f1475788
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/95842
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agoss: remove deprecated code
Loïc Prieur-Drevon [Tue, 9 May 2017 19:44:25 +0000 (15:44 -0400)] 
ss: remove deprecated code

Change-Id: Ic231c473db3720f3052ec72b8db077af63d28357
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/96686
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agolttng2.ust: remove deprecated code
Loïc Prieur-Drevon [Tue, 9 May 2017 19:41:59 +0000 (15:41 -0400)] 
lttng2.ust: remove deprecated code

Change-Id: I7f8e1e9e502a67cb77873e578c96d0c6d0e8e5c4
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/96685
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agoanalysis.timing: remove deprecated code
Loïc Prieur-Drevon [Tue, 9 May 2017 19:39:23 +0000 (15:39 -0400)] 
analysis.timing: remove deprecated code

Change-Id: I82ed7944fba56386aa317f349da00ca3cdaf634c
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/96684
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agotmf: remove deprecated methods from tmf
Loïc Prieur-Drevon [Wed, 26 Apr 2017 20:24:28 +0000 (16:24 -0400)] 
tmf: remove deprecated methods from tmf

Change-Id: Ie45fc1ab795e8226a09486ef1f6e95b2642a92e2
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/95843
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoctf: Fix CtfTmfTrace.readEnd() to use createTimestamp()
Patrick Tasse [Mon, 15 May 2017 21:13:20 +0000 (17:13 -0400)] 
ctf: Fix CtfTmfTrace.readEnd() to use createTimestamp()

The method should use createTimestamp(long) to create the timestamp, so
that any timestamp transformation configured for the trace is applied.

Change-Id: I55fc504dd3139600f3b211a359bfffbec34dc927
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/97147
Reviewed-by: Hudson CI
Reviewed-by: Loic Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoxml.ui: Fix pattern statistics viewer not refreshing data
Jean-Christian Kouame [Mon, 15 May 2017 16:44:26 +0000 (12:44 -0400)] 
xml.ui: Fix pattern statistics viewer not refreshing data

The pattern statistics view was not refreshing the data when switching
the view for an other analysis of the same trace.

Change-Id: I9d2532da971e9fd1013401d481c190df886f45e8
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97228
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agoxml.ui: Add label prefix for XML Latency Views
Jean-Christian Kouame [Fri, 12 May 2017 15:33:00 +0000 (11:33 -0400)] 
xml.ui: Add label prefix for XML Latency Views

This patch adds an element to the <header> of the xml analysis
description The new element is a prefix for the XML analyses latency
views. The new name of the latency table will be like "PREFIX_LABEL
Latency Table".
This could be easily extendable to all type of xml view.

Change-Id: I697424b2e5d9ac4a15d96760fd0ca5011159a93e
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96966
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agotiming: add statistics analysis to functions calls
Matthew Khouzam [Fri, 28 Apr 2017 19:57:06 +0000 (15:57 -0400)] 
timing: add statistics analysis to functions calls

This, with the flame graph, call stack, call graph and function densisty
can make a profiling perspective.

Additional tests coming in a separate patch.

Change-Id: Idcee650cf9b32963b5aaddd3e66a8d00e06b5b9e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79898
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agoreleng: fix name in 4.7 target
Bernd Hufmann [Tue, 16 May 2017 18:18:14 +0000 (14:18 -0400)] 
releng: fix name in 4.7 target

Change-Id: I1c24122dd1eb8c66658afdd40312c364651240df
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97270
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Hudson CI
6 years agoreleng: move master to build with Oxygen dependencies.
Bernd Hufmann [Mon, 15 May 2017 14:18:12 +0000 (10:18 -0400)] 
releng: move master to build with Oxygen dependencies.

Right now it is a copy of the staging target.

Change-Id: Id0710240e314b6dbbde9e7c386afaef6cc93e122
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/97107
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agocritical path: Change relationship with graph builders
Geneviève Bastien [Tue, 9 May 2017 01:44:50 +0000 (21:44 -0400)] 
critical path: Change relationship with graph builders

This adds the critical path module as a child of the graph builder
module. It also creates the view output under the graph builder and
the view will open with the right execution graph selected.

Change-Id: Ibee665489f1e618dcf478e4ea092ae6c3f9d92e2
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/96666
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agotmf: Make the TmfAbstractAnalysisModule#getTrace public
Matthew Khouzam [Thu, 4 May 2017 02:20:26 +0000 (22:20 -0400)] 
tmf: Make the TmfAbstractAnalysisModule#getTrace public

Change-Id: I7b8bd7786c4d51ec0edd63eaa57f35bc041686d0
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/71265
Reviewed-by: Hudson CI
6 years agotmf.ui: Support secondary ID for TmfAnalysisViewOutput
Geneviève Bastien [Wed, 26 Apr 2017 17:47:34 +0000 (13:47 -0400)] 
tmf.ui: Support secondary ID for TmfAnalysisViewOutput

This adds the possibility to add the analysis ID as secondary ID when
constructing the TmfAnalysisViewOutput objects.

This is useful for views that support a type of analysis instead of
only one analysis. Analyses of this type will associate the view and
the analysis ID to obtain a view output that will create a different
view for each analysis.

For example, each callstack analysis under a trace or experiment could
automatically have their own flamegraph associated.

Change-Id: Ife0da12d20ab7f77649d00fb580997ff3acd80a6
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/95832
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
6 years agoreleng: Update maven plugin versions
Jean-Christian Kouame [Thu, 11 May 2017 15:37:47 +0000 (11:37 -0400)] 
releng: Update maven plugin versions

Change-Id: I10bce5bf60df2698bdf8d3c96916f81b465e51d4
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96863
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
6 years agosegStore: Merge ISegment and ISegment2
Geneviève Bastien [Wed, 10 May 2017 14:50:17 +0000 (10:50 -0400)] 
segStore: Merge ISegment and ISegment2

This breaks the API of ISegment, but makes all segments serializable in
an on disk segment store backend.

Change-Id: I6282f695c5f20f78a7ac929f43a41fed8a7019e0
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/96746
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agoxml: Add the Host ID as event field
Geneviève Bastien [Thu, 11 May 2017 21:12:05 +0000 (17:12 -0400)] 
xml: Add the Host ID as event field

This is useful for analyses on experiment, to divide the resulting state
system per trace if necessary.

Change-Id: Ic4f25964a78df8cdd7688cbac743047bf0c2c6e1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/96903
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agoxml: Event field attributes retrieve aspects by name
Geneviève Bastien [Thu, 11 May 2017 21:07:12 +0000 (17:07 -0400)] 
xml: Event field attributes retrieve aspects by name

instead of using the trace aspect directly. This allows to access global
aspects as well.

Change-Id: I5e4a3837d42510f560d0e8895670306079287ef9
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/96902
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agodatastore: remove Generic RangeConditions
Loïc Prieur-Drevon [Tue, 4 Apr 2017 01:33:21 +0000 (21:33 -0400)] 
datastore: remove Generic RangeConditions

Specific RangeConditions, backed by primitives and arrays are up
to 33% faster.

Change-Id: I7828d777f6a534cf1219669c374b261ac829f828
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/94341
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agodatastore: Make the serialization package public
Geneviève Bastien [Wed, 10 May 2017 14:37:04 +0000 (10:37 -0400)] 
datastore: Make the serialization package public

Change-Id: Iddfdc46fa84448aefda0e8da0e1d9fe107a8d97b
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/96745
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agodatastore: Make the interval package public
Geneviève Bastien [Wed, 10 May 2017 14:18:27 +0000 (10:18 -0400)] 
datastore: Make the interval package public

Change-Id: Ic3d15d17dc025fbb9dbb72bebad63528364a6fbc
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/96741
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoust: Add trace constructor with event factory
Geneviève Bastien [Wed, 10 May 2017 18:29:59 +0000 (14:29 -0400)] 
ust: Add trace constructor with event factory

Traces extending the UST trace may pass their own event factory to the
constructor to parse additional fields.

Example use case for this: A JUL trace of Trace Compass taken with LTTng
is a UST trace, but the CTF field 'msg' is a json string from which we
can extract extra fields. The event factory will do just that.

Change-Id: Ic9ac1fde9df655f6b529cb0fbcd2ed0d3932d0b5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/96765
Reviewed-by: Hudson CI
6 years agotmf: Retrieve aspects by name instead of class
Geneviève Bastien [Thu, 11 May 2017 20:50:51 +0000 (16:50 -0400)] 
tmf: Retrieve aspects by name instead of class

Change-Id: Iedf77bb7fbf97c643e384ffa6a47df32fa92f903
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/96901
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agotmf: Add possibility to add global aspects
Geneviève Bastien [Thu, 11 May 2017 20:50:09 +0000 (16:50 -0400)] 
tmf: Add possibility to add global aspects

Those aspects will be searched if no aspect in the trace gives results.

Change-Id: I89de44132492c6f480be1bb028407424ef42b19d
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/96899
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agoust: add a default UST event layout
Abder Benbachir [Tue, 9 May 2017 19:13:33 +0000 (15:13 -0400)] 
ust: add a default UST event layout

That layout can be used by LttngUstTraces that were not taken by the lttng tracer.

Change-Id: I8383813d1cae64417ce5630abc13a788f79712c4
Signed-off-by: Abder Benbachir <anis.benbachir@gmail.com>
Reviewed-on: https://git.eclipse.org/r/96683
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agotiming: Have the segment store view use lazy iterables
Geneviève Bastien [Fri, 21 Oct 2016 19:35:10 +0000 (15:35 -0400)] 
timing: Have the segment store view use lazy iterables

Views will make lazy-load the data using an iterator instead of a
collection of segments. This will avoid having to have all segments in
memory.

Change-Id: I9cb9f2f9db621cb9789537882ab95b8ba239e59a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/83724
Reviewed-by: Hudson CI
6 years agoust: Update callstack requirement message
Geneviève Bastien [Mon, 24 Apr 2017 19:00:23 +0000 (15:00 -0400)] 
ust: Update callstack requirement message

The procname context is not mandatory anymore

Change-Id: I4959f1f59f20f4d9b4bfa46590ebf4a515c812a9
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/95624
Reviewed-by: Hudson CI
6 years agocommon.core: add marker events
Matthew Khouzam [Sat, 10 Dec 2016 01:20:04 +0000 (20:20 -0500)] 
common.core: add marker events

These will help create custom markers.

Change-Id: Ia0a9cd4d5d9272a01b8ee7f6aeaab421ebe0cfc4
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/87265
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agotmf: Add Open As Experiment... item to Project Explorer context menu
Patrick Tasse [Mon, 8 May 2017 22:03:18 +0000 (18:03 -0400)] 
tmf: Add Open As Experiment... item to Project Explorer context menu

The user can select one or many traces and/or trace folders to create
and open an experiment of the selected experiment type. All selected
traces and traces recursively found in selected trace folders are added
to the experiment.

If an experiment with the same name and traces already exists, it is
reopened (or selected if it is already opened). Otherwise, a new
experiment is created and opened.

Change-Id: Ic45e55fc0ad0d7830a803811c486ebab29fc4467
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/96688
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Hudson CI
6 years agosegmentstore: have ArrayListStore extend LazyArrayListStore to deduplicate code
Loïc Prieur-Drevon [Sun, 9 Apr 2017 20:35:53 +0000 (16:35 -0400)] 
segmentstore: have ArrayListStore extend LazyArrayListStore to deduplicate code

Change-Id: Ia1e089945f3fc32ab1c4b0049dd1214165385c22
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/94727
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agosegmentStore: remove deprecated APIs
Loïc Prieur-Drevon [Tue, 25 Apr 2017 17:57:10 +0000 (13:57 -0400)] 
segmentStore: remove deprecated APIs

Change-Id: Ic4176666d8aa0d3e0c9fa8cfd3597a084c8ad1c6
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/95720
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agotmf: Remove deprecated TimeGraphCombo
Patrick Tasse [Tue, 9 May 2017 16:26:33 +0000 (12:26 -0400)] 
tmf: Remove deprecated TimeGraphCombo

The class TimeGraphCombo is removed from the API. The tmf.ui plug-in
version is increased to 3.0 and affected @since tags are updated.

Change-Id: I8128ad55e027831994c288eed017d4145e632005
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/96677
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
6 years agotmf.ui: Fix the destination group in the import wizard
Simon Delisle [Wed, 3 May 2017 13:35:02 +0000 (09:35 -0400)] 
tmf.ui: Fix the destination group in the import wizard

The destination group was handle by the parent class and add a browse
button and the possibility to write the destination path. The text field
and the browse button does nothing in the current version of Trace
Compass and it is a bit confusing since these part are not deactivate. I
removed the browse button and set the text field to read-only.

Change-Id: I11f0fe66609792785c44e9af19868ca1f5cccb82
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96306
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agotiming: Listener on table viewer should not be mandatory
Geneviève Bastien [Thu, 20 Apr 2017 17:06:30 +0000 (13:06 -0400)] 
timing: Listener on table viewer should not be mandatory

Race conditions can happen in views where there is a segment store table
and another viewer (like density view) where the data is updated twice
in the table, one by the table viewer itself and one by the density
viewer.

Now the density views can specify not to add a listener for the table
and let the density viewer update the data.

Change-Id: I1d12560bf6dd5f43a667be5836176b4af6f897bc
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/95406
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agotmf.ui: make TimeEvents in ControlFlowView have thickness
Matthew Khouzam [Tue, 15 Nov 2016 20:49:51 +0000 (15:49 -0500)] 
tmf.ui: make TimeEvents in ControlFlowView have thickness

This makes active threads much easier to spot.
Adds notion of thickness to the "StateItem". In order to
use it, override StateItem#getHeightFactor().

The patch also introduces the notion of a style map.
This is loosely based on CSS fill styles. The styles
in the map are suggestions and do not need to be implemented
by the UI, but could at a later date.

The styleMap is passes as follows where each step can override the
base map:

* LinuxStyle (Style on an analysis level)
* StateItem (Style on a per-view level)
* PresentationProvider (Style on a per-event level)

Change-Id: I0a5f33d958a1ec1746ace9a66fecd728fb5a68ed
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/85092
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agoss: add 2D iterator queries to the SS API
Loïc Prieur-Drevon [Thu, 6 Apr 2017 14:43:27 +0000 (10:43 -0400)] 
ss: add 2D iterator queries to the SS API

This patch adds 2D iterator queries to the ITmfStateSystem API,
which lazily returns intervals from a list of their quarks,
that intersect (a time range or a list of timestamps).

Change-Id: I52d510a1c6e5d24faa2d5d5466112c70d795b39a
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/85962
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
6 years agolttng.xml: Add xml analysis for irq
Jean-Christian Kouame [Thu, 27 Apr 2017 20:54:12 +0000 (16:54 -0400)] 
lttng.xml: Add xml analysis for irq

Change-Id: I5acb67e49db90dc96280705e483aed55bd5d25f9
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/95960
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoreleng: update to Guava v21.0.0 for staging target
Bernd Hufmann [Thu, 13 Apr 2017 14:04:34 +0000 (10:04 -0400)] 
releng: update to Guava v21.0.0 for staging target

Change-Id: I512a68c3d75ac1c17a1f5dd7919330cd9ae16319
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/94244
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoreleng: deploy missing orbit dependencies on TC update sites
Bernd Hufmann [Wed, 3 May 2017 13:11:40 +0000 (09:11 -0400)] 
releng: deploy missing orbit dependencies on TC update sites

Change-Id: Ic8e303bc6cc9d4f8f5e2bb9ddc9bdee318332708
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96296
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agoctf: add os-events trace directory to .gitignore
Bernd Hufmann [Wed, 3 May 2017 10:41:23 +0000 (06:41 -0400)] 
ctf: add os-events trace directory to .gitignore

Change-Id: Ic295d455339d3ecbebbed847a838b5ca1925489c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96278
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agocommon: package external annotations during build
Bernd Hufmann [Tue, 4 Apr 2017 15:35:24 +0000 (11:35 -0400)] 
common: package external annotations during build

Change-Id: I1318ea3246cc751193e260027058f77f9e47868f
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/94389
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoalltests: remove dependencies to org.apache.commons.lang
Bernd Hufmann [Wed, 3 May 2017 13:09:58 +0000 (09:09 -0400)] 
alltests: remove dependencies to org.apache.commons.lang

and use org.apache.commons.lang3 instead

Change-Id: I2ae7242dfa0586d20acde0d55af73f41c61081f0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96295
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoctf.core: Support traces with empty packets before the end
Matthew Khouzam [Wed, 22 Mar 2017 18:06:13 +0000 (14:06 -0400)] 
ctf.core: Support traces with empty packets before the end

This patch allows tracecompass to support CTF traces containing empty
packets.

Change-Id: I8876e26e7224c147620b548220de2f7020b5dd33
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/93647
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
6 years agoctf: make search return the first matching packet in a trace
Matthew Khouzam [Fri, 28 Apr 2017 17:16:07 +0000 (13:16 -0400)] 
ctf: make search return the first matching packet in a trace

The CTF parser would return a random packet in search when all packets
overlap. This patch makes it return the first. Performance impacts on
properly packetized traces should be negligeable.

Change-Id: I4e9470c46b3801779ba874c4d2ccfcae88a65e16
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96055
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
6 years agolttng: fix memory usage view when ust trace is in an experiment
Bernd Hufmann [Mon, 17 Apr 2017 14:54:23 +0000 (10:54 -0400)] 
lttng: fix memory usage view when ust trace is in an experiment

This fix avoids a TimeRangeException exception if experiment starts
before state system start time. Also, it clears the view if current
window range is outside the state system range of the memory usage.

Change-Id: I1d2afdffacfbf80db1fa90b3b2bb0c7c62d6faab
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/95125
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>
6 years agoanalysis: make call graph analysis non-automatic
Bernd Hufmann [Tue, 2 May 2017 15:43:07 +0000 (11:43 -0400)] 
analysis: make call graph analysis non-automatic

Change-Id: I01c191184e751a1b7882287608425ec45269423a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96183
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoreleng: use mylyn 3.21 to build help plug-ins
Bernd Hufmann [Mon, 1 May 2017 17:54:29 +0000 (13:54 -0400)] 
releng: use mylyn 3.21 to build help plug-ins

The current build process is aligned with the APIs of this
version. Trace Compass only depends on mylyn for the
generation of the help plug-ins and not at runtime.

Change-Id: If0e796f7b96710207c5cfa395e6dba49f99421e3
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96114
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agoswtbot: Make SWTBotTimeGraph/Entry.getEntry() wait for entry
Patrick Tasse [Tue, 2 May 2017 17:39:11 +0000 (13:39 -0400)] 
swtbot: Make SWTBotTimeGraph/Entry.getEntry() wait for entry

These methods currently try only once to find the entry but output
"Timed out waiting for..." when it fails.

To match the failure message, and for increased test robustness, make
the methods actually use a wait condition.

Change-Id: Ic1c797b4fa59e44179f0af03fdbb7ae6a27b23bf
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/96240
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
6 years agotmf: Support child entries with different state systems in TimeGraphView
Patrick Tasse [Tue, 25 Apr 2017 19:31:02 +0000 (15:31 -0400)] 
tmf: Support child entries with different state systems in TimeGraphView

Decouple the roots of the AbstractTimeGraphView with the entries
associated with a state system in AbstractStateSystemTimeGraphView.

This allows, for example, a 'trace' entry to be root of the graph, that
has independent branches of children whose event lists, links and
markers are populated using their own, separate, state systems.

Change-Id: Ied2a2f91d6661e4cff76f07c06ba9e2eb5c4e25c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/95730
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Hudson CI
6 years agotiming.core: use symbol aspect directly on call graph segment's getName()
Matthew Khouzam [Fri, 28 Apr 2017 19:33:46 +0000 (15:33 -0400)] 
timing.core: use symbol aspect directly on call graph segment's getName()

getName() is a presentation level getter, it only makes sense to resolve
the symbol there.

Change-Id: Ifebaad310b79e7974dfbc1ce95298fab34721cf4
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96062
Reviewed-by: Hudson CI
Reviewed-by: Loic Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
6 years agoXML: Add multi-analyses views
Geneviève Bastien [Wed, 19 Apr 2017 21:13:52 +0000 (17:13 -0400)] 
XML: Add multi-analyses views

This patch adds a new attribute to time graph view entry to be able to
use the state system from another analyses to populate some entries.

It also adds more regex support where path can contain place holders
like $1 to be replaced by any wildcard previously specified.

Change-Id: I13de7d2a4af091f4090ddc5ee61634739571c4d7
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/95379
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agocommon.core: Annotate Objects#requiresNotNull
Matthew Khouzam [Fri, 21 Apr 2017 20:11:19 +0000 (16:11 -0400)] 
common.core: Annotate Objects#requiresNotNull

Change-Id: I2e80880b67042165c6374be3b54df479851c7b2c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/95503
Reviewed-by: Hudson CI
Reviewed-by: Loic Prieur-Drevon <loic.prieurdrevon@gmail.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agoreleng: update mylyn update site since in staging target
Bernd Hufmann [Fri, 28 Apr 2017 19:44:23 +0000 (15:44 -0400)] 
releng: update mylyn update site since in staging target

because the previous one was removed from the remote server.

Change-Id: I7d8b53875fa0db4730c467d6b611e9b820fe6fa0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/96064
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoctf: Add a benchmark trace enum
Geneviève Bastien [Mon, 27 Feb 2017 15:44:02 +0000 (10:44 -0500)] 
ctf: Add a benchmark trace enum

And add a first trace to be used for benchmarks. These traces are too
big to be added to the test traces repo, so they should be optional
resources to download to run some benchmarks on.

Change-Id: Icba00c9a49fb81d9ed86485dc7e2d9890655c0e4
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/91917
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoctf.core: use TreeMap for EnumDeclaration
Loïc Prieur-Drevon [Mon, 24 Apr 2017 23:53:36 +0000 (19:53 -0400)] 
ctf.core: use TreeMap for EnumDeclaration

Change-Id: I670bfe871a34774df69e3bff60d0ab144817e617
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/95632
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agoanalysis: package call graph icon
Bernd Hufmann [Wed, 26 Apr 2017 13:26:43 +0000 (09:26 -0400)] 
analysis: package call graph icon

Otherwise the icon is not available in RCP or upon installation
of the plug-in.

Change-Id: I565dfbc91febb4be1f4ab6b343431c6d83ca3aa8
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/95797
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
6 years agoreleng: Fix ProjectExplorerTracesFolderTest
Patrick Tasse [Thu, 27 Apr 2017 21:00:19 +0000 (17:00 -0400)] 
releng: Fix ProjectExplorerTracesFolderTest

The generated clashing LTTng traces in TestDirectoryStructureUtil are
changed to have a duration of 1001 ns (not 1000 ns) for 1001 events.

This prevents the time delta between events from flooring down to 0 ns,
which causes all events and all packet begin and end times to be equal.

There is probably another bug in the CTF reader that seeks to the
incorrect packet when there are multiple packets with the same begin and
end times.

Change-Id: Icea44a26f9b4913c2bee7d0bddae575a7263b58f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/95961
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
6 years agosegStore on disk: Fix boundaries for child lookup
Geneviève Bastien [Tue, 18 Apr 2017 18:28:22 +0000 (14:28 -0400)] 
segStore on disk: Fix boundaries for child lookup

Change-Id: I098c412edc8050dcabf9ec01d2b50208fbb89acb
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/95206
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agoRevert "tmf.ui.swtbot: disable RawTextEditorTest#readTrace"
Patrick Tasse [Thu, 27 Apr 2017 18:18:25 +0000 (14:18 -0400)] 
Revert "tmf.ui.swtbot: disable RawTextEditorTest#readTrace"

This reverts commit 03ec84392e7bf66cadb1c15b52369bba19a43aa4.

Change-Id: I01912a8171b6cf27ddbffdd0146f5a3d2ba90e0a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/95941
Reviewed-by: Hudson CI
6 years agoIntroduce an API to download and import traces from HTTP/HTTPS
Simon Delisle [Wed, 12 Apr 2017 15:16:05 +0000 (11:16 -0400)] 
Introduce an API to download and import traces from HTTP/HTTPS

This patch contains two parts:
- A class to download a file from HTTP links
- An import operation that use the download helper to import the
dowloaded traces in the workspace

Change-Id: I1b588b113e352630760a9cab0dfbfd0052368b29
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/94940
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
6 years agotmf.ui.swtbot: Fix missing @Override in SWTBotSash.getBounds()
Simon Delisle [Wed, 26 Apr 2017 15:03:57 +0000 (11:03 -0400)] 
tmf.ui.swtbot: Fix missing @Override in SWTBotSash.getBounds()

The parent now implements this method.

Temporarily disable failing checks in ProjectExplorerTracesFolderTest.

Change-Id: I4a60bfa5bafdc07eda2f840fdbda0c0b45a4661d
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/95815
Reviewed-by: Hudson CI
This page took 0.053211 seconds and 5 git commands to generate.