deliverable/tracecompass.git
7 years agodoc: Modify 'Import mapping file' icon and title for callstack view
Geneviève Bastien [Tue, 20 Sep 2016 01:38:56 +0000 (21:38 -0400)] 
doc: Modify 'Import mapping file' icon and title for callstack view

It also adds a link to source lookup for LTTng-UST traces taken with LTTng 2.8+
(because it does not always work automatically when not in the same computer as
the one the trace was taken on)

Change-Id: If4f191d3e9fa650f852b1a2bed6857cd6e716a74
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/81404
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
7 years agosegstore: remove redundancies in deprecated class
Matthew Khouzam [Sat, 15 Oct 2016 19:59:12 +0000 (15:59 -0400)] 
segstore: remove redundancies in deprecated class

Make treemapstore extend the internal treemap store. It removes
a lot of duplication.

Change-Id: I89ccbbe506a3b93201342c16da6aef465034389d
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83304
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agoss: fix common node header size and check free space
Loïc Prieur-Drevon [Tue, 18 Oct 2016 16:14:30 +0000 (12:14 -0400)] 
ss: fix common node header size and check free space

COMMON_HEADER_SIZE had not been corrected after modifying strings
sections.
Check that node free space is consistent with what is written to
disk.

Change-Id: I9186f8b2e32159d9f2c771358c337aaf0ebb38c3
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/83456
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
7 years agotiming.ui: make Scatter chart not update the UI in update data
Matthew Khouzam [Fri, 14 Oct 2016 16:46:52 +0000 (12:46 -0400)] 
timing.ui: make Scatter chart not update the UI in update data

Change-Id: Idaca90c31a1e3fdd32d4922816760c3eaa074e64
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83252
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agotmf.ui: make common line charts display the window range, not their model range
Matthew Khouzam [Fri, 14 Oct 2016 16:45:55 +0000 (12:45 -0400)] 
tmf.ui: make common line charts display the window range, not their model range

Change-Id: Ie6cea17dea1490af724adec1d0743d01cad884f6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83251
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agotiming: avoid a division by zero with scatter viewer
Genevieve Bastien [Sat, 15 Oct 2016 13:48:55 +0000 (09:48 -0400)] 
timing: avoid a division by zero with scatter viewer

Change-Id: Iee5bce80f07ae0231801b3be17d5cbad2d665e48
Signed-off-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/83354
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
7 years agoss: History trees can define their own node types
Geneviève Bastien [Tue, 2 Aug 2016 13:43:08 +0000 (09:43 -0400)] 
ss: History trees can define their own node types

This patch moves the HistoryTreeClassic to its own package and allows each
history tree class to define their own HTNode types.

Change-Id: I800469c12fbcaf21156ed340c94b611b59b70ea1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/78354
Reviewed-by: Hudson CI
7 years agoreleng: Add SWTBot integration tests
Patrick Tasse [Tue, 11 Oct 2016 15:07:28 +0000 (11:07 -0400)] 
releng: Add SWTBot integration tests

Add tests for import wizard opened from workbench menu
Add tests for deleting selected traces and folders
Add tests for clearing Traces folder
Refactor ImportConfirmation supplier
Fix focus on folder/archive combo in util methods
Fix delete project util to succeed if project does not exist

Change-Id: Ief49ebce1a8198517bfbc2faf90e338afc9dc759
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/82955
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agoreleng: Change the "-Pbuild-rcp" directive to a "-Dskip-rcp" property
Alexandre Montplaisir [Mon, 17 Oct 2016 21:14:35 +0000 (17:14 -0400)] 
releng: Change the "-Pbuild-rcp" directive to a "-Dskip-rcp" property

<activeByDefault>true</activeByDefault> is very bad and
should not be used. Among other things, it effectively prevents
from defining more than one profile in a given pom.xml.

Change-Id: Id30897025a7df37d14014ef605122416e0b33dc7
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/83402
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agotmf: Add utility method to delete supplementary files of a trace
Alexandre Montplaisir [Fri, 7 Oct 2016 21:04:51 +0000 (17:04 -0400)] 
tmf: Add utility method to delete supplementary files of a trace

Add the new (and move an existing) test into a separate file, because
the existing test suite uses the same static traces for all the tests.
If we are to delete a trace's supplementary files, the trace should
be regenerated for other tests!

Change-Id: I0727422dd190d9012e6b8ccce0d7d175711e149b
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/82778
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agotmf: Fix intermittent fail in ProjectModelOutputTest.testListOutputs
Marc-Andre Laperle [Wed, 12 Oct 2016 17:45:33 +0000 (13:45 -0400)] 
tmf: Fix intermittent fail in ProjectModelOutputTest.testListOutputs

This adds a waitUntil/condition that waits until there is the correct
number of children under the analysis.

To reproduce the issue, in TmfAnalysisElement.refreshChildren, add a
Thread.sleep(1000); at the beginning.

Bug: 491823
Change-Id: Iaae81093d90f26403cc58b7286c8691db7db3644
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83052
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
7 years agolttng.control: remove useless data assignment
Matthew Khouzam [Sat, 15 Oct 2016 15:43:08 +0000 (11:43 -0400)] 
lttng.control: remove useless data assignment

In an elvis switch ?: a value was assigned in one of the branches.
This fixes the issue.

Change-Id: I4fedee2efdfbe184f8857d37004dc3192235f9f0
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83301
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
7 years agoMake sure shell is not disposed in closeSecondaryShells
Marc-Andre Laperle [Mon, 17 Oct 2016 00:31:16 +0000 (20:31 -0400)] 
Make sure shell is not disposed in closeSecondaryShells

While running ProjectExplorerTracesFolderTest, it was noticed that
closeSecondaryShells could try to close a disposed shell. This
change fixes this and also makes the test call closeSecondaryShells
after every test.

Change-Id: I5172e676e1ac7d619f11e904c0ca0141102f9c71
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83332
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
7 years agotmf: Bug: 499359: Fix deadlock in table when closing trace selection
Bernd Hufmann [Fri, 14 Oct 2016 00:36:46 +0000 (20:36 -0400)] 
tmf: Bug: 499359: Fix deadlock in table when closing trace selection

When closing a trace while a selection range updated signal is handled
in the TmfEventsTable a deadlock can occur because 2 threads are
taking the trace lock and request lock in different order.

The solution is to not use an event request for updating the selection
range in the table.

Change-Id: I67218cd564d97a6fc91226ad56639b2c2c971cea
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83172
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agotmf: Use Apache Common Compress for importing from archive
Marc-Andre Laperle [Wed, 5 Oct 2016 22:22:43 +0000 (18:22 -0400)] 
tmf: Use Apache Common Compress for importing from archive

By using Apache Common Compress instead of the Eclipse classes,
it will allow us to support more formats and have move stability.
We will be able to handle tars with PaxHeaders, XZ and BZip
compression for example.

Change-Id: I2693da15eb38a57b477734f1a0931c30585f2192
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/82567
Reviewed-by: Hudson CI
7 years agoreleng: Add SWTBot integration tests for import wizard
Patrick Tasse [Thu, 6 Oct 2016 20:53:42 +0000 (16:53 -0400)] 
releng: Add SWTBot integration tests for import wizard

Add tests for import from folder preserving folder structure.
Add tests for import from zip archive.
Add tests for import from tar.gz archive.
Programmatically create zip/tar.gz archives of test directory structure.
Add util method to select import items in folder tree and file table.
Add util method to recursively find trace project item.
Add org.apache.commons.compress to target definitions.
Fix project folder element matching regex.
Fix condition failure messages binding string.

Change-Id: Ib97d3bfc14f37edc882f0c6dc9ffafcc02753252
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/82677
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agolttng: Fix ControlViewTest
Patrick Tasse [Tue, 11 Oct 2016 20:16:01 +0000 (16:16 -0400)] 
lttng: Fix ControlViewTest

The regex replacement of the user home in command output are quoted to
avoid stripping backslashes in a Windows path.

The list provider regex patterns are updated to include the new command
options '-j' '-l' and '-p'.

The target node state is only set to CONNECTED after the node
configuration jobs are completed.

The SWTBot test waits for the node configuration jobs to be completed
before continuing with the test scenario.

The UI test is changed to use a wait condition instead of a loop with
delay when waiting for the target node state to be connected.

Change-Id: Ie05f58181119cf46d8cdacb8313856f6b3c4da30
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/82972
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
7 years agoUpdate to test-traces 1.6.0
Alexandre Montplaisir [Fri, 7 Oct 2016 20:33:05 +0000 (16:33 -0400)] 
Update to test-traces 1.6.0

This contains a new kernel/ust trace set with different clock
offsets.

Change-Id: Ib1fea591b6705ed5253817339cff1fb8ac1a1ed6
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/82777
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agotmf: Add equals/hashCode to TmfConstantTransform
Alexandre Montplaisir [Fri, 7 Oct 2016 22:02:39 +0000 (18:02 -0400)] 
tmf: Add equals/hashCode to TmfConstantTransform

Without that, two equivalent transforms would be considered
different, because the object is serialized every time, causing
it to become a new instance every time a trace is re-opened.

Change-Id: I4f1dcbf503032329cdce7ac5c0ef351545e392e8
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/82779
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agoreleng: Add script to generate list of plugins for API baseline
Marc-Andre Laperle [Wed, 21 Sep 2016 20:04:21 +0000 (16:04 -0400)] 
releng: Add script to generate list of plugins for API baseline

Add a script to make it easier to list plugins that need to go
in the API baseline. This was meant to be in the commit that adds
the new 2.1.0 API baseline but it was forgotten.

Change-Id: Ic6daa6086dcbe3a7ad12627cdff43038765263d6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81879
Reviewed-by: Hudson CI
7 years agotmf: Add waitUntil / condition to tmf.ui.tests
Marc-Andre Laperle [Wed, 12 Oct 2016 17:00:38 +0000 (13:00 -0400)] 
tmf: Add waitUntil / condition to tmf.ui.tests

This allows us to wait until arbitrary conditions are met, much like
SWTBot but without depending on SWTBot. The waitForJobs utility method
was converted to use this as an example.

Change-Id: Iafa4bb24a1de096dcde25156a4882b8750d7f466
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83051
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
7 years agotmf.ui: Add JUL statements to CommonXLineChart
Geneviève Bastien [Tue, 19 Jul 2016 19:37:54 +0000 (15:37 -0400)] 
tmf.ui: Add JUL statements to CommonXLineChart

Change-Id: I0ad7a2b0304ce19f7e8719d2a0f3998216bb066b
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/78275
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
7 years agoUse snapshot of RCPTT 2.2.0
Marc-Andre Laperle [Mon, 10 Oct 2016 19:11:21 +0000 (15:11 -0400)] 
Use snapshot of RCPTT 2.2.0

This allows us to run tests with Eclipse 4.7 (Staging target)

Change-Id: Iae126c65f0856872906add73aa2089c5761abe95
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82868
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
7 years agotmf.ui: Make TmfTimeViewer handlers parameters nullable
Matthew Khouzam [Fri, 23 Sep 2016 18:57:21 +0000 (14:57 -0400)] 
tmf.ui: Make TmfTimeViewer handlers parameters nullable

The signal could be null if used otherwise. This handles those
cases gracefully.

Change-Id: I97abf9edafa37412d8eb990c58e7413551b37616
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81823
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
7 years agotmf: Log the exception when error occurs while opening a trace
Marc-Andre Laperle [Fri, 26 Aug 2016 03:19:49 +0000 (23:19 -0400)] 
tmf: Log the exception when error occurs while opening a trace

If an exception occurs when opening a trace, the exception message
is displayed but the stack is nowhere to be found. By logging the
exception, the stack trace will be available in the log.

Change-Id: I8085cb46a1657747cc2f2be5736e4b17e0b7040f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79792
Reviewed-by: Hudson CI
7 years agotmf.ui: Sequence diagram, fix some robustness issues
Matthew Khouzam [Fri, 7 Oct 2016 13:29:59 +0000 (09:29 -0400)] 
tmf.ui: Sequence diagram, fix some robustness issues

* Fix volatile in/decrements
* Use getFieldValue() to make comparisons easier in getSDEvent

Change-Id: I28c4063377cfe8e8966e8f8d187fa32503f6702f
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82736
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
7 years agoMake waitForJobs available to non-SWTBot test plugins
Marc-Andre Laperle [Mon, 19 Sep 2016 05:27:43 +0000 (01:27 -0400)] 
Make waitForJobs available to non-SWTBot test plugins

The waitForJobs pattern is used in a few other places that SWTBot but
they do not have timeouts and the ability to print the stack traces
when it times out. By moving the code to the common plugin, all tests
can use it and benefit from it.

Change-Id: I56a19e5da30216d53a40f44dc3302b427985b1ae
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81304
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
7 years agosegStore: guard size() in segment stores
Matthew Khouzam [Thu, 6 Oct 2016 21:04:09 +0000 (17:04 -0400)] 
segStore: guard size() in segment stores

This prevents a race condition invalidating the size data.

Change-Id: I0b5e5c9573dc2789f92d5b437fe23c3df23b9f43
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82324
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
7 years agoAdd script to convert html download stats to CSV
Marc-Andre Laperle [Mon, 3 Oct 2016 01:07:55 +0000 (21:07 -0400)] 
Add script to convert html download stats to CSV

Useful to see stats of dowloaded RCPs.
Converts results from this page to CSV:
https://dev.eclipse.org/committers/committertools/stats.php

Change-Id: I15c95c4f7dad5486ac0f20182aa400d1ef4d860c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82341
Reviewed-by: Hudson CI
Reviewed-by: Jonathan Rajotte Julien <jonathan.rajotte-julien@efficios.com>
7 years agoFix typo in SWTBotUtils
Marc-Andre Laperle [Thu, 6 Oct 2016 19:45:04 +0000 (15:45 -0400)] 
Fix typo in SWTBotUtils

Change-Id: I371e44a712b99db60668ada78c9248199764e796
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82668
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
7 years agoss: historyTreeFile can be null
Jonathan Rajotte [Thu, 22 Sep 2016 16:16:51 +0000 (12:16 -0400)] 
ss: historyTreeFile can be null

The HistoryTreeBackend constructor signature does not accept
null values as second argument.

Change-Id: I8772d494966d76f7827d9cbfd37a48d28958dc4c
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81923
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
7 years agoAdd utility method to close secondary shells after tests
Marc-Andre Laperle [Mon, 19 Sep 2016 04:47:02 +0000 (00:47 -0400)] 
Add utility method to close secondary shells after tests

When running SWTBot tests, sometimes when one test fails and leave a
shell lingering, it makes all the subsequent tests fail. This change
introduces a utility method to close all the secondary shells
(non-main shell) so that subsequent tests have a better chance of
completing successfully. This will help getting a more representative
account of test failures when things go wrong.

Change-Id: I4fe48c13de8588e9ddb21ae64d2c3b6a9c04b4ae
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81303
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-by: Hudson CI
7 years agoreleng: Change staging target to use platform integration builds
Marc-Andre Laperle [Wed, 5 Oct 2016 22:25:43 +0000 (18:25 -0400)] 
releng: Change staging target to use platform integration builds

- We need a more recent build of the platfom to fix a dependency
problem (Bug 502114)
- We can now use Apache Derby from Orbit instead of the build server
(Bug 494234)
- There is a new spies plugin that does not depend on JDT which we
can now use (bug 481467).
This plugin contains Sleak (Native handle leak detection) and SWT Spy.

Change-Id: I2bbdd4b287f448150758f6ffca877a8177c8a43c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82568
Reviewed-by: Hudson CI
Reviewed-by: Jonathan Rajotte Julien <jonathan.rajotte-julien@efficios.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
7 years agosegment store: introduce a Segment Store Factory and centralize segment stores
Loïc Prieur-Drevon [Thu, 15 Sep 2016 15:43:23 +0000 (11:43 -0400)] 
segment store: introduce a Segment Store Factory and centralize segment stores

Usage: SegmentStoreFactory.create(<optional> data[], flags...);
Flags at this moment are "fast, stable and distinct"
More flags will come, examples can be "hybrid" or "aggregate"

Change-Id: I5eccb4393b52c8f1dc9d423eaa3bb9087425b5e6
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81504
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
7 years agotmf: Add ellipses to Synchronize Traces action
Alexandre Montplaisir [Tue, 4 Oct 2016 21:10:05 +0000 (17:10 -0400)] 
tmf: Add ellipses to Synchronize Traces action

Since it opens a new dialog it should have ellispes at the end.

Change-Id: Ia7803224a6c6ed149df344ebcaef1563206882bd
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/82482
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agoss: add a wrapper for the state system delete files
Matthew Khouzam [Sun, 18 Sep 2016 03:54:44 +0000 (23:54 -0400)] 
ss: add a wrapper for the state system delete files

This removes the need for the backend to be stored in the analysis

Change-Id: I32f4b1ceb99e4babf5ffe7e25731318ad8faa976
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81298
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
7 years agoreleng: Update sonar-maven-plugin to latest version
Marc-Andre Laperle [Mon, 3 Oct 2016 03:05:38 +0000 (23:05 -0400)] 
releng: Update sonar-maven-plugin to latest version

Release notes:
https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10977&version=12906
https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10977&version=13397
https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10977&version=13405

Change-Id: I2951bd96616aef6a541a689f536974299c0d2675
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82344
Reviewed-by: Hudson CI
7 years agoxml.ui: add LineChart icons
Matthew Khouzam [Thu, 22 Sep 2016 20:21:20 +0000 (16:21 -0400)] 
xml.ui: add LineChart icons

Add unused reference images so we can change the overlay

Change-Id: I8d5a61bbc1f8aff772ab1e6552cc38d7166da7de
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81739
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
7 years agoxml.ui: add icon for TimeGraphView
Matthew Khouzam [Thu, 22 Sep 2016 20:12:42 +0000 (16:12 -0400)] 
xml.ui: add icon for TimeGraphView

This is a gantt chart icon. Reference icons are added to allow other
overlays at a later date.

Change-Id: Iaacc5f6c7b6910308ecb34efc75452e0c0ff3c69
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81738
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agotiming.ui: make export to tsv internal
Matthew Khouzam [Mon, 3 Oct 2016 20:15:52 +0000 (16:15 -0400)] 
timing.ui: make export to tsv internal

Change-Id: Ie8203b609a0ccb68772486631831c8c0ef0df363
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82397
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
7 years agoFix warning non externalized string
Jonathan Rajotte [Thu, 22 Sep 2016 16:14:31 +0000 (12:14 -0400)] 
Fix warning non externalized string

Change-Id: Ie0423eab62a68ab56926fadcde88f9b1e87291ca
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81922
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@efficios.com>
7 years agoreleng: Fix Mars build by adding missing gson dependency
Marc-Andre Laperle [Mon, 3 Oct 2016 02:37:06 +0000 (22:37 -0400)] 
releng: Fix Mars build by adding missing gson dependency

Change-Id: I8562acd327e0928af856bc8439a8b339e505a043
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82342
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
7 years agolami: synchronize getter for currentReport
Jonathan Rajotte [Wed, 21 Sep 2016 18:55:36 +0000 (14:55 -0400)] 
lami: synchronize getter for currentReport

Fixes CID 112029

Change-Id: If431b049890d6814d318b56d62ce367561d0ea34
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81624
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
7 years agolami: getSymbolColors can return null
Jonathan Rajotte [Wed, 21 Sep 2016 19:06:52 +0000 (15:06 -0400)] 
lami: getSymbolColors can return null

Fixes CID 112047

Change-Id: Ib48dc0fdf1b50c0904ba22683de6cf5f7fe331ea
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81625
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-by: Hudson CI
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
7 years agotmf: annotate TmfContext#location as nullable
Matthew Khouzam [Sun, 2 Oct 2016 03:13:21 +0000 (23:13 -0400)] 
tmf: annotate TmfContext#location as nullable

This fixes a potential race condition if the context is changed
after a null check but before a dereference. In the current
implementation, it is extremely unlikely to happen, but this
may save later investigation time.

Change-Id: I9083d16fd8e3728fe829583f4de78384109a91e6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82325
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
7 years agotiming.ui: add Export to TSV to tables and statistics
Matthew Khouzam [Wed, 28 Sep 2016 17:55:51 +0000 (13:55 -0400)] 
timing.ui: add Export to TSV to tables and statistics

This allows exporting to tsv files.

Testing is done with reflection to avoid native dialog issues.

Some issues are present:
* In Linux, an invisible column is added at the end,
while this seems ok, it makes the output inconsistent
between Windows and Linux.
* SWTBot cannot test native windows, therefore, the user actual
actions are untested. All possible logic has been moved
elsewhere to accomodate.
* Tree and Table have no common parents, this will incur code
duplication due to their similarities.
* In Linux, tooltips are not well handled in menu items.

Change-Id: I506d0e7e50bd5ce8ecbd44675a0c404ab2dda431
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82111
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agoFix importing an archive containing colons (:) in the names on Windows
Marc-Andre Laperle [Mon, 19 Sep 2016 02:57:19 +0000 (22:57 -0400)] 
Fix importing an archive containing colons (:) in the names on Windows

Bug: 501664
Change-Id: I676f2533c140b52369328e1ef8e922f730b5e6e2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81302
Reviewed-by: Hudson CI
7 years agotiming: Fix duration of flamegraph view
Geneviève Bastien [Mon, 19 Sep 2016 01:25:05 +0000 (21:25 -0400)] 
timing: Fix duration of flamegraph view

Instead of having a duration of the full length of the trace, it has the
duration of the longest element.

Change-Id: Id56b0d23b8a7619672eb3537dd5ca5d4392708db
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/81301
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
7 years agotiming.ui: Make doubleclicking on a flame graph event zoom on it
Matthew Khouzam [Tue, 27 Sep 2016 15:46:01 +0000 (11:46 -0400)] 
timing.ui: Make doubleclicking on a flame graph event zoom on it

This aims to bring feature parity between trace compass flame graphs
and the original flame graphs designed by Brendan Gregg.

Change-Id: I6194b1c95b33e258cfcb40991949bbd19a25ce73
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82012
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
7 years agolinux.core: add Tux Icon to linux core analysis
Matthew Khouzam [Thu, 22 Sep 2016 02:37:31 +0000 (22:37 -0400)] 
linux.core: add Tux Icon to linux core analysis

According to the site : http://isc.tamu.edu/~lewing/linux/

Here are the results of an idea acquired from discussions
on the linux-kernel mailing list, and an initial suggestion
by Alan Cox.

Feel free to do whatever you see fit with the images, you
are encouraged to integrate them into other designs that
fit your need. Comments suggestions are also welcome, so
please tell me what you think of these. I suggest that you
look at some of the other images available with integrated
text.

The backgrounds of these images are random colors (if your
viewer doesn't support transparent gifs). This is because
I want to be able to keep the outline clean (except when
blending into a scene or title bar). Each in-line image is
now also a link to the corresponding gif so that they are
more easily retrieved. The images I actually work from are
tifs which I'll make available if there is interest.

Neal Tucker was kind enough to provide a scalable vector
based postscript version of the black and white penguin.

Permission to use and/or modify this image is granted provided
you acknowledge me lewing@isc.tamu.edu and The GIMP if someone
asks.

This patch will still require a CQ, but it looks safe to push
to gerrit.

CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=12011

Change-Id: Ia31cecaf6d2e870e37e8425dca475641c23d90cf
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81654
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agoreleng: Update targets with new Neon.1 update sites
Marc-Andre Laperle [Thu, 29 Sep 2016 13:57:42 +0000 (09:57 -0400)] 
releng: Update targets with new Neon.1 update sites

Change-Id: Ia13d48fb7b0d76efd7582b073272557087dea89c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/82177
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
7 years agotmf: bug 494698 Add per-event fields to custom parsers
Geneviève Bastien [Tue, 31 May 2016 12:54:29 +0000 (08:54 -0400)] 
tmf: bug 494698 Add per-event fields to custom parsers

Change-Id: I8e2d302ea53319a42f2d84828db41726af321b05
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/76907
Reviewed-by: Hudson CI
7 years agoFix javadoc warning
Jonathan Rajotte [Thu, 22 Sep 2016 16:12:55 +0000 (12:12 -0400)] 
Fix javadoc warning

Change-Id: I94af2b7f6e7d6612b54e150fc17ce481be8e92e4
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81921
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
7 years agolami: set the min value when clamping to zero.
Jonathan Rajotte [Wed, 21 Sep 2016 18:44:34 +0000 (14:44 -0400)] 
lami: set the min value when clamping to zero.

Fixes CID 141171

Change-Id: I37827d6bcb6c7b66a65c23c77035728f27f34cad
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81623
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
7 years agoreleng: Add missing source for tracecompass.common.core
Marc-Andre Laperle [Sat, 17 Sep 2016 19:43:38 +0000 (15:43 -0400)] 
releng: Add missing source for tracecompass.common.core

Change-Id: I1188fe2360e83d7a008dfa01f11596cdfee1218e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81287
Reviewed-by: Hudson CI
7 years agoRemove unneeded API filters
Alexandre Montplaisir [Sun, 25 Sep 2016 23:23:16 +0000 (19:23 -0400)] 
Remove unneeded API filters

Change-Id: I9d296b3e2ad74e468091b273b565136b0421ebab
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81878
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agoreleng: Add 2.1.0 baseline and fix API errors
Marc-Andre Laperle [Wed, 21 Sep 2016 20:04:21 +0000 (16:04 -0400)] 
releng: Add 2.1.0 baseline and fix API errors

Change-Id: I794f2670e344bf98d3587abeaf97ea279d2a9b3f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81634
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
7 years agoChange a warning to an error in build.properties
Marc-Andre Laperle [Wed, 7 Sep 2016 20:54:21 +0000 (16:54 -0400)] 
Change a warning to an error in build.properties

A missing java source folder entry in those files result in build
failures if another plugin needs to use a class from this source
folder. So they should be reported as errors. We always want to put
all code in the jars anyway.

Also fix a missing one.

Change-Id: Ibe66733bf835163988a7de78f276e2eeb3ea462d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80632
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agolttng: Rename LttngUiResponseTest to benchmark (it's not a test)
Marc-Andre Laperle [Fri, 23 Sep 2016 20:44:13 +0000 (16:44 -0400)] 
lttng: Rename LttngUiResponseTest to benchmark (it's not a test)

Otherwise, it runs during tests and closes all the views.

Change-Id: Ifa3942e68a4cdd3aad03a7a23da6b83a88db831c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81837
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
7 years agotmf: Allow any object to use TmfSignalThrottler
Alexandre Montplaisir [Wed, 21 Sep 2016 22:19:32 +0000 (18:19 -0400)] 
tmf: Allow any object to use TmfSignalThrottler

Some classes override broadcast(), so we can continue
calling that for subclasses of ITmfComponent.

Change-Id: I2b270fe58349e6206d00c874b84304581c56dce0
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81723
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
7 years agoanalysis: let the soft irq raised state appear in the Resources view
Cédric Biancheri [Sun, 8 May 2016 05:08:14 +0000 (01:08 -0400)] 
analysis: let the soft irq raised state appear in the Resources view

When a soft irq was raised during an irq the view was swhowing nothing between
the end of the irq and the beginning of the soft irq for a cpu entry.

Change-Id: I22d5e3014efc531c7cf3ee9c48ac59af3a772a2e
Signed-off-by: Cédric Biancheri <cdc.biancheri@gmail.com>
Reviewed-on: https://git.eclipse.org/r/72230
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>
7 years agotiming.core: speed up (Lazy)ArrayList queries with binary search
Loïc Prieur-Drevon [Tue, 20 Sep 2016 16:03:05 +0000 (12:03 -0400)] 
timing.core: speed up (Lazy)ArrayList queries with binary search

The getIntersectingElements queries on the (Lazy)ArrayList
SegmentStore would iterate through the entire store with a
stream().filter(), whereas the store is sorted by start time,
then by end time of the segments.

By using a binary search on the store, we can narrow down the
iteration to the relevant sublist thus speeding queries up to 50%
on querying from real analyses.

Change-Id: Idb798f42571d14130acd26c0d126cc7b6cdbf04c
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/81503
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agoxml: add icon for analyses
Matthew Khouzam [Wed, 21 Sep 2016 19:54:20 +0000 (15:54 -0400)] 
xml: add icon for analyses

Change-Id: Ibf173f4b3cd64542b200bc571a33d4000bae46d1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81630
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
7 years agolinux.core: add Memory Usage Icon
Matthew Khouzam [Thu, 22 Sep 2016 02:05:53 +0000 (22:05 -0400)] 
linux.core: add Memory Usage Icon

This is based on the trope that cpus are LQFP, memory is DIP.

Change-Id: Ia6204ab868f549fbf32a490b526cb856d4aa2c36
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81652
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agolinux.core: add IO Analysis icons
Matthew Khouzam [Thu, 22 Sep 2016 01:47:04 +0000 (21:47 -0400)] 
linux.core: add IO Analysis icons

Made fore High-DPI screens.
Inspired by Hitachi Deskstar 80 gb drives. But
every rotary hard drive looks like this.

Change-Id: I3b6f1a18d950590e3a2e3c39267da1ff81598bab
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81651
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agolinux.core: add CPU usage icons
Matthew Khouzam [Thu, 22 Sep 2016 01:34:33 +0000 (21:34 -0400)] 
linux.core: add CPU usage icons

Made with scaling in mind.
Inspired by resource monitor in many oses.

Change-Id: I5bb5f1b063ba0452fa476c06eeae6c6689b781b9
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81650
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agograph.core: add Critical Path Icon
Matthew Khouzam [Thu, 22 Sep 2016 18:56:47 +0000 (14:56 -0400)] 
graph.core: add Critical Path Icon

Change-Id: I929b4e29d14cf2e6e3e97544561b8e0a2657bf9b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81727
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agolinux.core: add Context Switch icon
Matthew Khouzam [Thu, 22 Sep 2016 01:20:27 +0000 (21:20 -0400)] 
linux.core: add Context Switch icon

This one was done with high-dpi screens in mind.
Inspiration comes from a real-estate based board game.

Change-Id: I5d1d6f2175fa411c7882ee097f456dbb36d26efa
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81649
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agotmf.core: add statistics icon
Matthew Khouzam [Wed, 21 Sep 2016 19:35:18 +0000 (15:35 -0400)] 
tmf.core: add statistics icon

Change-Id: Ia7dbbb70567b916c0e32a438979b6beab2132455
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81629
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agoust: add icon for debug info analysis
Matthew Khouzam [Wed, 21 Sep 2016 19:59:29 +0000 (15:59 -0400)] 
ust: add icon for debug info analysis

Change-Id: Idf4a64f5650b4191cca65f3b1e55a6e8bb7fca9b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81632
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agolttng: Document Attribute Tree for UstMemoryStateProvider
Loïc Prieur-Drevon [Thu, 15 Sep 2016 20:25:09 +0000 (16:25 -0400)] 
lttng: Document Attribute Tree for UstMemoryStateProvider

Change-Id: I35594e499ddcdd7d2e4f4969ce83c76320a85600
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/81199
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
7 years agoos.linux: Document Attribute Tree for StateProviders
Loïc Prieur-Drevon [Thu, 15 Sep 2016 20:25:42 +0000 (16:25 -0400)] 
os.linux: Document Attribute Tree for StateProviders

Add documentation to headers for
KernelContextSwitch
KernelCpuUsage
KernelMemory
ActiveTid
InputOutput
Kernel

Change-Id: If95fc67f0a6b765267b4247328e3618b6c000315
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/81200
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>
7 years agotmf: Replace link icon with png and add 2x version
Marc-Andre Laperle [Thu, 22 Sep 2016 17:25:15 +0000 (13:25 -0400)] 
tmf: Replace link icon with png and add 2x version

Change-Id: I1115aa8da07443ff9e51caa43f6f3c1604059360
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81719
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
7 years agotmf.xml: Remove useless parameters in TmfXmlPatternSegmentBuilder
Jean-Christian Kouame [Tue, 12 Jul 2016 19:30:09 +0000 (15:30 -0400)] 
tmf.xml: Remove useless parameters in TmfXmlPatternSegmentBuilder

Change-Id: I1814dfa8fb21b10ee0a6350dcf38ae6f7bb3d519
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/77168
Reviewed-by: Hudson CI
Reviewed-by: Bruno Roy <brusi_roy@hotmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
7 years agolinux.core: Update Syscall analysis to use time#toNanos and event#getName
Matthew Khouzam [Mon, 12 Sep 2016 21:27:01 +0000 (17:27 -0400)] 
linux.core: Update Syscall analysis to use time#toNanos and event#getName

Using ITmfTimestamp#toNanos ensure that system calls will be in the same
units if mixed OS traces are used. Using event#getName is faster and simpler
to read than event#getType()#getName.

Change-Id: I70819a28dfdaa257fa6c484c5073f77610605427
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80967
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
7 years agotmf: Update next input in custom parser wizard when removing input
Patrick Tasse [Tue, 6 Sep 2016 19:21:44 +0000 (15:21 -0400)] 
tmf: Update next input in custom parser wizard when removing input

When removing an input that has a previous input child to the same
parent input, the previous input's next input reference should be
updated to the next input of the removed input. Otherwise the removed
input may remain as a ghost next input and interfere with the previous
input's child inputs. This is only a problem when testing the parsing of
sample trace text from within the custom parser wizard, since the next
input relation is not stored in the XML definition, it is always rebuilt
from the parent-child relations when loading the definition from file
into memory.

Change-Id: I3531d705a46f13ac164325cd875e53d59b95ef1c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/80516
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
7 years agolami: possible ressource leak on IntStream
Jonathan Rajotte [Wed, 21 Sep 2016 21:07:34 +0000 (17:07 -0400)] 
lami: possible ressource leak on IntStream

Even if this is a fluke from Coverity using a for loop is simpler.

CID 141163 & 141165

Change-Id: I6087b22cd9ad9beb47f5546d54fd5167bdd66390
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81638
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
7 years agoanalysis: Add missing icon for Critical Path view
Marc-Andre Laperle [Wed, 21 Sep 2016 14:23:10 +0000 (10:23 -0400)] 
analysis: Add missing icon for Critical Path view

Change-Id: Ie9f845454c2b735d16d4baefc870c4078a29babe
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81597
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
7 years agoos.linux: Create PPID and SYSTEM_CALL attributes on demand
Loïc Prieur-Drevon [Fri, 9 Sep 2016 21:03:49 +0000 (17:03 -0400)] 
os.linux: Create PPID and SYSTEM_CALL attributes on demand

This patch ensures that threads' PPID and SYSTEM_CALL attributes
are only created when the state is changed instead of on a
sched_switch. The methods which require said attributes are adapted
to handle correctly the absence of said attributes.
This results in a state system with 0 - 40% less attributes, thus
reducing the legacy SHT's space on disk by the same size.

Change-Id: I1461824623912f8d2ea32bb2c97f0398b08f9aea
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/80849
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>
7 years agoreleng: Update staging target to Oxygen
Marc-Andre Laperle [Fri, 2 Sep 2016 20:55:29 +0000 (16:55 -0400)] 
releng: Update staging target to Oxygen

Start using Oxygen update sites for projects that have one (notably
the platform).

Change-Id: I7888606c5e39c07729997e82f699ba513be46433
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80344
Reviewed-by: Hudson CI
7 years agolttng.ust: Consider all statedump events to happen at SD start
Alexandre Montplaisir [Fri, 15 Jul 2016 00:53:03 +0000 (20:53 -0400)] 
lttng.ust: Consider all statedump events to happen at SD start

Use the statedump:start event's timestamp as the start time of
library load mappings, instead of the individual bin_info
or related build_id/debug_link events.

This will allow trace events happening concurrently with a
statedump to display their debug-information correctly.

Bug: 497943

Change-Id: I0d3474ad7e45f81b370e368664a234b4c5c38499
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/77375
Reviewed-by: Hudson CI
7 years agoss: Remove infinite loop in debugPrint() code
Alexandre Montplaisir [Tue, 20 Sep 2016 16:37:16 +0000 (12:37 -0400)] 
ss: Remove infinite loop in debugPrint() code

In practice extensions are not used, so the value would always
be "-1" and it would never go inside the loop. But if we had
started using extensions it would have infinite looped rather
quickly.

Change-Id: I570437858995d0131a75e735373593caf5d4b25f
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81498
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agoss: Check return value of FileChannel.read() call
Alexandre Montplaisir [Tue, 20 Sep 2016 16:26:31 +0000 (12:26 -0400)] 
ss: Check return value of FileChannel.read() call

Fixes a Coverity warning.

Change-Id: Ic11af8b32d7dccf136812400a689964c04bedf50
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81497
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agoreleng: add missing plug-ins to testing feature
Bernd Hufmann [Tue, 20 Sep 2016 13:13:52 +0000 (09:13 -0400)] 
releng: add missing plug-ins to testing feature

The dependency to o.e.tc.analysis.os.linux.ui.swtbot.test has been
recently added to the plug-in o.e.tc.lttng2.kernel.ui.swtbot.test.

Downstream projects that depend on o.e.tc.lttng2.kernel.ui.swtbot.test
in their test plug-ins won't build anymore.

The plug-in o.e.tc.analysis.os.linux.ui.swtbot.test needs to be added
to the feature.xml of o.e.tc.testing.

While being at it, add also all other missing test plug-ins to it.

Change-Id: I525704fe469099b105d9f749309e07fb10a4bccb
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81456
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7 years agoPrint GTK theme at the start of SWTBot
Marc-Andre Laperle [Tue, 6 Sep 2016 21:06:49 +0000 (17:06 -0400)] 
Print GTK theme at the start of SWTBot

Since behavior can change greatly depending on the theme, this
might help us investigate failing tests in some cases.

Change-Id: I857267abfc1acc82d0a4b7876b2cd8f83387e4f7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80534
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
7 years agoss: Have IHistoryTree#selectNextChild return a Collection instead
Loïc Prieur-Drevon [Mon, 1 Aug 2016 18:51:15 +0000 (14:51 -0400)] 
ss: Have IHistoryTree#selectNextChild return a Collection instead

This is more generic for multiple implementations of IHistoryTree.

From running the state system benchmarks, there was no performance impact
with this patch by returning a Collection instead of a single element.

Change-Id: I9775c856e5e30d94eba01af001495dbd61191b22
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/78279
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-by: Hudson CI
7 years agoss: Move all debugPrint() methods to the test stubs
Alexandre Montplaisir [Mon, 19 Sep 2016 18:42:08 +0000 (14:42 -0400)] 
ss: Move all debugPrint() methods to the test stubs

Where they belong!

Change-Id: Ie6f176f1f16962ab64a8faf40c79548d82d1234b
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81378
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
7 years agoos.linux: remove unnecessary calls to getQuarkRelative
Geneviève Bastien [Mon, 19 Sep 2016 19:27:06 +0000 (15:27 -0400)] 
os.linux: remove unnecessary calls to getQuarkRelative

When the Status attribute was removed, some calls to
getAttributeQuarkRelative were not removed and that causes exceptions in
some cases.

Change-Id: Ib217c44b51eae713101aafb6d3025475fcf2ed99
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/81381
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
7 years agotmf.ui: Add extra javadoc to the AbstractTimeGraphView
Geneviève Bastien [Mon, 12 Sep 2016 15:44:58 +0000 (11:44 -0400)] 
tmf.ui: Add extra javadoc to the AbstractTimeGraphView

This adds some documentation to the AbstractTimeGraphView#buildEntryList
method.

Change-Id: Ia33479198efa3883d872fb69c8dde17e6930241e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/80931
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
7 years agoss: Extract an history tree interface
Geneviève Bastien [Mon, 11 Jul 2016 01:51:30 +0000 (21:51 -0400)] 
ss: Extract an history tree interface

This is a second step towards supporting multiple types of SHTs

Change-Id: I294ae4991207fac30700ef803f529f3f14e4417b
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/77007
Reviewed-by: Hudson CI
7 years agolinux.core: Add icon for system call analysis
Matthew Khouzam [Fri, 16 Sep 2016 18:42:41 +0000 (14:42 -0400)] 
linux.core: Add icon for system call analysis

Add an icon drawn by hand in pinta. It's supposed to look like
a phone.

Change-Id: Icb99aa67015e84ff8ccc65bf4076a1a81a5be9bd
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81269
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
7 years agotiming.ui: move logic of segment stats logic to abstract class
Matthew Khouzam [Thu, 8 Sep 2016 01:49:34 +0000 (21:49 -0400)] 
timing.ui: move logic of segment stats logic to abstract class

Change-Id: I541df669302d72bf28610632ada5db4daf5c5be7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80652
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agotiming.core: add stream unit tests to segment store tests
Matthew Khouzam [Thu, 8 Sep 2016 01:00:13 +0000 (21:00 -0400)] 
timing.core: add stream unit tests to segment store tests

Now test stream building segment statistics.

Also improve speed of other tests marginally by pre-allocating
arrays to right size.

Change-Id: I6894c8a92b95a6fc4bc4339e4dd33901939963f2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80640
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
7 years agoKernelAnalysis: Use CPUs CoreAttributes to store "Status"
Loïc Prieur-Drevon [Fri, 15 Apr 2016 15:04:23 +0000 (11:04 -0400)] 
KernelAnalysis: Use CPUs CoreAttributes to store "Status"

CPUs core attributes were not used to store interval data, this
leads to useless NullStateValue intervals ranging from tree start
to end. This patch uses the CPUs CoreNodes to store the "Status"
fields thus reducing the number of attributes and intervals.

Change-Id: I4b7953efff14879ea2eabe72200138f9be682c09
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/70770
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
7 years agoKernelAnalysis: Use Threads CoreAttributes to store "Status"
Loïc Prieur-Drevon [Fri, 15 Apr 2016 14:57:23 +0000 (10:57 -0400)] 
KernelAnalysis: Use Threads CoreAttributes to store "Status"

Threads core attributes were not used to store interval data, this
leads to useless NullStateValue intervals ranging from tree start
to end. This patch uses the Threads CoreNodes to store the "Status"
fields thus reducing the number of attributes and intervals.

Change-Id: Ia24b8d5226b66738a8c14d3d652879169437b95a
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/70769
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>
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
7 years agotmf: Fix hang in TarInputStream.skipToEntry when importing large tar.gz
Marc-Andre Laperle [Tue, 13 Sep 2016 22:08:21 +0000 (18:08 -0400)] 
tmf: Fix hang in TarInputStream.skipToEntry when importing large tar.gz

When importing a large tar.gz archive, it can hang in
TarInputStream.skipToEntry. Depending on the size of the entries in the
Tar and the order in which they are read, it is possible that bytesread
will overflow and become negative. Because of that, the code that skips
bytes fails to skip properly and enters in an infinite loop.

This patch fixes the issue by making the bytesread a 'long'. Because
this class is in the platform, several files had to be copied over in
order to get the fix right away. Those files will be removed once the
fix is in the platform and that the fix is released.

Bug: 501379
Change-Id: Ia1613da08715968f23a803519a2e78aa7c51482f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81044
Reviewed-by: Hudson CI
7 years agolinux.ui: make Control flow view optimization work with mixed experiments
Matthew Khouzam [Fri, 9 Sep 2016 13:47:38 +0000 (09:47 -0400)] 
linux.ui: make Control flow view optimization work with mixed experiments

bug 501148

Change-Id: Ieaeb1384a8bd6325192d6407422059c98d0f73c1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80804
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
7 years agotmf: Add the view ID to some JUL log statements of time graph views
Geneviève Bastien [Fri, 15 Jul 2016 13:18:14 +0000 (09:18 -0400)] 
tmf: Add the view ID to some JUL log statements of time graph views

This patch adds a getViewId() method to AbstractTimeGraphView that returns the
view's primaryID:secondaryID string corresponding to the view. This view ID is
added to some JUL log statements.

Change-Id: Ica415d919883822676f0f1c107bcd3b631ea9c67
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/77395
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
7 years agolinux.core: Remove throws runtime exceptions
Matthew Khouzam [Thu, 8 Sep 2016 13:31:22 +0000 (09:31 -0400)] 
linux.core: Remove throws runtime exceptions

AttributeNotFoundException is now a runtime exception. In practice, it
should never happen here as the quarks are always added before accessing
them.

This removes a few warnings.

Change-Id: If6048d8c717f89d21e88e54cbb87a0f67aa26d59
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80697
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
7 years agotiming.core.test: add perf to build.properties
Matthew Khouzam [Thu, 8 Sep 2016 13:25:31 +0000 (09:25 -0400)] 
timing.core.test: add perf to build.properties

This removes a warning

Change-Id: I68fbafc87712aefd29b80bf83088077ecaf8621e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80696
Reviewed-by: Hudson CI
This page took 0.046543 seconds and 5 git commands to generate.