deliverable/tracecompass.git
8 years agoUpdate usage of IAdaptable#getAdapter
Alexandre Montplaisir [Mon, 9 Mar 2015 19:50:46 +0000 (15:50 -0400)] 
Update usage of IAdaptable#getAdapter

Generics were added to the APIs of IAdaptable and related
classes. Update our usage of these methods, as suggested in
http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg11590.html

Change-Id: I8fb374869567b5c2b7421b4773998c60e9fcc468
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/43472
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agotmf: Bug 470741: Missing lost events in scaled histogram buckets
Patrick Tasse [Mon, 22 Jun 2015 18:09:34 +0000 (14:09 -0400)] 
tmf: Bug 470741: Missing lost events in scaled histogram buckets

Change-Id: I8cf2c1a977845c9a60026178940bb09e75206b4c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50659
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoss: Introduce SegmentStore plugin
Alexandre Montplaisir [Mon, 15 Jun 2015 18:33:48 +0000 (14:33 -0400)] 
ss: Introduce SegmentStore plugin

Unlike the State System, which assigns single states to attributes,
the Segment Store is a database interface for storing segments that
may overlap each other. It is closer in intent to a spatial database.

Just like state system backends, we provide an interface that can be
implemented in different ways. A first basic in-memory implementation
is provided.

Change-Id: I20a4a27b66ae005e8a22070752d8cc0a132a36f5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50308
Reviewed-by: Hudson CI
8 years agocommon: Concurrency fixes in TraceCompassActivator
Alexandre Montplaisir [Mon, 15 Jun 2015 18:33:48 +0000 (14:33 -0400)] 
common: Concurrency fixes in TraceCompassActivator

The TraceCompassActivator class (which can be used as base for any
Activator in every plugin) tracks all the loaded activators in a map.

Add a bit of synchronization to make sure this map cannot be victim
of unexpected concurrent accesses.

Change-Id: Ia94899dfb140a5bf740e3cc6343f6d43579dd777
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50752
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoFix missing @since's and bump corresponding versions
Alexandre Montplaisir [Wed, 17 Jun 2015 00:16:24 +0000 (20:16 -0400)] 
Fix missing @since's and bump corresponding versions

Some API changes were introduced since the 1.0 release, this
patch bumps the verion numbers where appropriate and fixes
the @since annotations.

Change-Id: Ib0ce9860d1c05b94fb074972c817dfec736beace
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50309
Reviewed-by: Hudson CI
8 years agotmf: Fix SWTException in TmfEventsTable
Patrick Tasse [Tue, 16 Jun 2015 21:21:15 +0000 (17:21 -0400)] 
tmf: Fix SWTException in TmfEventsTable

The table can get disposed while the event request is being processed.
Attempting to get the display from the table will throw an exception.
Getting the display from the workbench will avoid this exception.

Change-Id: Id68b34be403c30359c8e56e88e2d894779804214
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49260
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agorcp: bug 471162: Add Error Log view to RCP
Marc-Andre Laperle [Wed, 17 Jun 2015 17:25:41 +0000 (13:25 -0400)] 
rcp: bug 471162: Add Error Log view to RCP

This makes it easier for users to understand when things go wrong and for
reporting issues. It will also help us while testing the RCP because we will
notice more easily when errors happen. This would have probably helped finding
bug 469809 earlier.

Change-Id: I2a6e7a752f9b53667ec58045ddb2406085ff2391
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50387
Reviewed-by: Hudson CI
8 years agoUse o.e.test and jdt.annotation from Eclipse 4.5
Marc-Andre Laperle [Fri, 26 Jun 2015 04:54:04 +0000 (00:54 -0400)] 
Use o.e.test and jdt.annotation from Eclipse 4.5

Also fix use of deprecated junit constructor. This is because o.e.test
*includes* org.junit and the Eclipse 4.5 repo only has junit 4.12 which
introduced the deprecation.

Change-Id: Id17e904674509a3a551f253f8b6927f023ba935c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50905
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoBuild using non-staging Eclipse 4.5 target
Marc-Andre Laperle [Fri, 26 Jun 2015 04:44:12 +0000 (00:44 -0400)] 
Build using non-staging Eclipse 4.5 target

Since staging will become Eclipse 4.6 (Neon) we should switch to building using
a more stable 4.5 target (for now).

Change-Id: I8bcfde64f769510150dc3517b9931521522efdbc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50904
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agotmf.ui: introduce TmfSimpleTableViewer
Matthew Khouzam [Tue, 17 Feb 2015 03:46:52 +0000 (22:46 -0500)] 
tmf.ui: introduce TmfSimpleTableViewer

A helper for jface tables with sortable columns. It provides the
following features:
 - Sortable columns
 - Movable columns
 - Resizable columns
 - Tracking last clicked columns

Change-Id: I3a7f6037891153022904a53563d223c4bf805816
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41994
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
8 years agoswtbot: Add Copy to Clipboard tests
Patrick Tasse [Mon, 22 Jun 2015 15:29:08 +0000 (11:29 -0400)] 
swtbot: Add Copy to Clipboard tests

Change-Id: I18e7f8a633918856dc934483c4c1aac41955912d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50653
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoctf: make parser support scoped typedefs [Bug 470846]
Matthew Khouzam [Thu, 11 Jun 2015 22:47:21 +0000 (18:47 -0400)] 
ctf: make parser support scoped typedefs [Bug 470846]

This is important if you want to have a root typedef struct for instance.

Change-Id: I9aff6a1049605f98cb1e16015b6170ea9801b9e0
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50055
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoctf: update postfix expression to accept chained CTF expressions [Bug 470846]
Matthew Khouzam [Thu, 11 Jun 2015 21:51:34 +0000 (17:51 -0400)] 
ctf: update postfix expression to accept chained CTF expressions [Bug 470846]

This updates the grammar to support absolute referencing

Change-Id: I952e846abc3bdcecdd40bc9e9dc9716bdefa9adb
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49961
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoctf: validate if metadata endianness is inconsistent.
Matthew Khouzam [Fri, 24 Apr 2015 14:12:27 +0000 (10:12 -0400)] 
ctf: validate if metadata endianness is inconsistent.

Change-Id: Ide73b0344e9aaf0058b6501d003f0e64f978fd2a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/46431
Reviewed-by: Hudson CI
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agorcp: Build proper .app on Mac
Marc-Andre Laperle [Mon, 22 Jun 2015 20:20:16 +0000 (16:20 -0400)] 
rcp: Build proper .app on Mac

Otherwise, the rcp doesn't start when building against Eclipse 4.5

Change-Id: I49773d350ad966f47e94a4da5892bf4135bda4f4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50669
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoswtbot: Add event table column header menu tests
Patrick Tasse [Tue, 16 Jun 2015 21:39:31 +0000 (17:39 -0400)] 
swtbot: Add event table column header menu tests

Change-Id: I6f6391bc138c80731707b96d1e16c75e539211ee
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50297
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
8 years agotmf.ui : Only update chart if not disposed
France Lapointe Nguyen [Wed, 10 Jun 2015 13:53:56 +0000 (09:53 -0400)] 
tmf.ui : Only update chart if not disposed

To fix a SWT error (widget is disposed) when chart is closed while the
trace is still loading.

Change-Id: I44015f742908395e68c30a3824bcdfb509a07d4c
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49923
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: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoreleng: adjust jacoco report path to new folder structure
Marc-Andre Laperle [Thu, 18 Jun 2015 17:48:10 +0000 (13:48 -0400)] 
releng: adjust jacoco report path to new folder structure

Change-Id: I182b8523651a914608e47a71803a0d9efc0e7d4a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50463
Reviewed-by: Hudson CI
8 years agoreleng: Use SWTBot snapshot build
Marc-Andre Laperle [Fri, 19 Jun 2015 13:37:15 +0000 (09:37 -0400)] 
releng: Use SWTBot snapshot build

This is necessary for us to consume a fix and a new feature required for
https://git.eclipse.org/r/#/c/50297/

Change-Id: Ieecad5c61d01ee7fcef6e50cc0642a6d5c19a5cf
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50526
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agolttng: Set keyboard layout in SWTBot tests
Marc-Andre Laperle [Thu, 18 Jun 2015 19:08:20 +0000 (15:08 -0400)] 
lttng: Set keyboard layout in SWTBot tests

Depending on the locale of the system, some tests like testKeyboardLeftRight would fail with a NPE.

Change-Id: If39e8faedffb8629b5cfd2b6e44a8bbd80b9990e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50470
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf.ui : Only update populated chart
France Lapointe Nguyen [Wed, 10 Jun 2015 13:56:34 +0000 (09:56 -0400)] 
tmf.ui : Only update populated chart

Check that there is at least one point in a chart to avoid AOOB

Change-Id: Id56153b4548a5ef713b1b0caf89976f3b0e348d6
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49924
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agolttng: add two benchmarks for TmfStatisticsModule
Alexis Cabana-Loriaux [Fri, 5 Jun 2015 20:45:33 +0000 (16:45 -0400)] 
lttng: add two benchmarks for TmfStatisticsModule

Change-Id: I932e095ee83aa4b0224963cfc8e4cd61dfbfda82
Signed-off-by: Alexis Cabana-Loriaux <alex021994@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49675
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoUpdate sync_settings.sh for the new directory layout
Alexandre Montplaisir [Mon, 15 Jun 2015 21:51:03 +0000 (17:51 -0400)] 
Update sync_settings.sh for the new directory layout

Change-Id: I4a80162f3cb196608df9bfce5fa84bba3431f2d9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoUpdate README to reflect new plugin organization
Alexandre Montplaisir [Mon, 11 May 2015 22:49:48 +0000 (18:49 -0400)] 
Update README to reflect new plugin organization

The components are easier to describe now that they are in
proper sub-directories.

Also updated the plugins.svg file to components.svg, and it
now displays the dependency graph between actual components.

Change-Id: Ia15cfa46cf2531e5a6f2c86396666eff51e49d66
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agodoc: Move the examples plugin to the doc/ directory
Alexandre Montplaisir [Mon, 11 May 2015 22:37:51 +0000 (18:37 -0400)] 
doc: Move the examples plugin to the doc/ directory

Change-Id: I9546d2febb09c416f9031fd1c2ac4d57726a2e60
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoCreate and populate new "releng" sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 22:26:40 +0000 (18:26 -0400)] 
Create and populate new "releng" sub-directory

Release-related plugins, like *.target/ and *.releng-site/ can
now be found inside a releng/ top-level directory.

The *.alltests/ and *.testing/ plugins have also been moved there,
it's not obvious where these should go, but this should be a
reasonable place.

Change-Id: I7c42040cc6801dacb5a88ef6cff57ab11c541ff9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agotmf: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 22:14:58 +0000 (18:14 -0400)] 
tmf: Move plugins to their own sub-directory

Change-Id: I63bc2b18ab7ee041c166690aed181b2b1cb57563
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoanalysis: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 21:57:57 +0000 (17:57 -0400)] 
analysis: Move plugins to their own sub-directory

The "analysis" component can host all analyses that do not
depend on a specific trace type.

Change-Id: I52b196e0e9ecae7e98593d5c3143996d923020dc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agolttng: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 21:48:31 +0000 (17:48 -0400)] 
lttng: Move plugins to their own sub-directory

Change-Id: I7a2ec6fb8489f0f337a6f6d7e543bfb248e6383f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoctf: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 21:22:32 +0000 (17:22 -0400)] 
ctf: Move plugins to their own sub-directory

Change-Id: I5eac1d897c78cec439ff951fec7582c1d5cd0045
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agorcp: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 20:07:45 +0000 (16:07 -0400)] 
rcp: Move plugins to their own sub-directory

Also moved the definition of the "build-rcp" Maven profile
into the RCP Parent's pom.xml, and updated the README.

Change-Id: I5c5f471ba1bbb6236cd549db3b12035682ee3039
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agostatesystem: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 20:02:35 +0000 (16:02 -0400)] 
statesystem: Move plugins to their own sub-directory

Change-Id: I64e398caf208278063f87a88c5925d463dcc13b1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agocommon: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 19:55:29 +0000 (15:55 -0400)] 
common: Move plugins to their own sub-directory

Change-Id: I98b57351b5aff035ddbf80449513190baa3f1d41
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agogdbtrace: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 19:47:36 +0000 (15:47 -0400)] 
gdbtrace: Move plugins to their own sub-directory

Change-Id: I6ef8d281b2de8d4097af519279100536b794865d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agopcap: Move plugins to their own sub-directory
Alexandre Montplaisir [Mon, 11 May 2015 16:48:15 +0000 (12:48 -0400)] 
pcap: Move plugins to their own sub-directory

The "alltests" plugin won't be able to find the pcap test
traces, but this will be rectified once that plugin is also
moved to a sub-directory (we will be able to have a relative
path that works for everyone).

Change-Id: Ic9c3644abfa5d97622769d23a855521e2d5c9371
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agobtf: Move the plugins to their own sub-directory
Alexandre Montplaisir [Thu, 7 May 2015 21:26:49 +0000 (17:26 -0400)] 
btf: Move the plugins to their own sub-directory

Change-Id: I4f5eed6c1da0b33081706ad9bc890c94817f7355
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agocommon: Generalize the BufferedBlockingQueue's concurrent test
Alexandre Montplaisir [Tue, 19 May 2015 19:58:36 +0000 (15:58 -0400)] 
common: Generalize the BufferedBlockingQueue's concurrent test

Provide a general concurrency test method, which can then be
used to try various combinations of producer, consumer, and
observer threads.

Change-Id: Ia7c47a44be45e7810800c70493ffe9357277ae3f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/48217
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agodoc: Update user guide for changes to event table
Patrick Tasse [Mon, 15 Jun 2015 17:58:04 +0000 (13:58 -0400)] 
doc: Update user guide for changes to event table

- Copy to Clipboard
- Hiding columns from header context menu
- Update default TMF and LTTng kernel columns

Change-Id: Ibe81141881bbbaef1efc02fa321f8a41488d5f69
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50208
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agorcp: Fix icon paths for new Tycho
Marc-Andre Laperle [Tue, 16 Jun 2015 04:37:19 +0000 (00:37 -0400)] 
rcp: Fix icon paths for new Tycho

This fixes the FileNotFoundExceptions since the upgrade to Tycho 0.23.0

Change-Id: I51960399c3ed3a321342360892986a10b3a73fa6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50226
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agotmf: Bug 468867: Time graph listener notifier interference from ext sync
Patrick Tasse [Fri, 29 May 2015 20:37:20 +0000 (16:37 -0400)] 
tmf: Bug 468867: Time graph listener notifier interference from ext sync

Change-Id: I2099016a56c4a13ce1661c6a84d8168486be15a0
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/50146
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agotmf: Bug 452415: Remember last location for Open Trace
Marc-Andre Laperle [Thu, 11 Jun 2015 21:44:05 +0000 (17:44 -0400)] 
tmf: Bug 452415: Remember last location for Open Trace

Change-Id: Iffe079c1d292705c624701853c7374b602463ff1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/50106
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
8 years agoRevert "tmf: Bug 468867: Time graph listener notifier interference from ext sync"
Alexandre Montplaisir [Fri, 12 Jun 2015 21:08:38 +0000 (23:08 +0200)] 
Revert "tmf: Bug 468867: Time graph listener notifier interference from ext sync"

This reverts commit 3ad34c5d3fbfeee1eeeda5c4fe2afa02d3bc6b2a.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=468867#c4 .

Change-Id: Ia8815c6ca51172ce9166324fc1833361e7b58317
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/50142
Reviewed-by: Hudson CI
8 years agotmf: Add Copy to Clipboard in TmfEventsTable
Patrick Tasse [Tue, 9 Jun 2015 19:07:04 +0000 (15:07 -0400)] 
tmf: Add Copy to Clipboard in TmfEventsTable

Change-Id: Ic2ca73787e294ba69fcaa4b111e5a21ff66bb9a1
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49834
Reviewed-by: Hudson CI
8 years agoctf: make magic numbers optional
Matthew Khouzam [Wed, 10 Jun 2015 19:34:59 +0000 (15:34 -0400)] 
ctf: make magic numbers optional

Change-Id: If86103a84c939e551889359e3d669c5a3cabb8c7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49962
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoctf.core: Make childTypeError return an exception instead of throwing it.
Matthew Khouzam [Sat, 6 Jun 2015 02:44:48 +0000 (22:44 -0400)] 
ctf.core: Make childTypeError return an exception instead of throwing it.

This makes return analysis easier for the jdt

Change-Id: I2c5ea78b9ef27de8e146cbb0a322fe84d458d379
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49777
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf.ui: make hiding column menu in the displayed order
Matthew Khouzam [Fri, 5 Jun 2015 13:36:48 +0000 (09:36 -0400)] 
tmf.ui: make hiding column menu in the displayed order

Change-Id: Ibd9622e89ecb615c279e66f7dcca925500f8f049
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49518
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
8 years agotmf: Bug 469809: Invalid thread access closing editors in non-UI thread
Patrick Tasse [Wed, 10 Jun 2015 17:23:56 +0000 (13:23 -0400)] 
tmf: Bug 469809: Invalid thread access closing editors in non-UI thread

Change-Id: Ia692b41efe429b96c995ba7bf7ed749d25ceff12
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49949
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agotmf: Fix synchronization between raw viewer and event table
Patrick Tasse [Thu, 4 Jun 2015 15:17:50 +0000 (11:17 -0400)] 
tmf: Fix synchronization between raw viewer and event table

The selected event can now be kept in synchronization even after using
the raw viewer scroll bar.

Change-Id: I1924cd65d79279266842c1bd4f7697e1c3bdbbef
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49456
Reviewed-by: Hudson CI
8 years agotmf: Periodically refresh raw viewer while scroll bar is dragged
Patrick Tasse [Wed, 3 Jun 2015 17:13:48 +0000 (13:13 -0400)] 
tmf: Periodically refresh raw viewer while scroll bar is dragged

Change-Id: Ifd5b3a4f751a75b223cf498defb23a1118c2c260
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49394
Reviewed-by: Hudson CI
8 years agotmf: Periodically refresh virtual table while scroll bar is dragged
Patrick Tasse [Mon, 1 Jun 2015 20:32:08 +0000 (16:32 -0400)] 
tmf: Periodically refresh virtual table while scroll bar is dragged

Change-Id: I9f0f93fa37c53f73cab6e203e6af0945a4fb58fb
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49138
Reviewed-by: Hudson CI
8 years agotmf: Bug 468867: Time graph listener notifier interference from ext sync
Patrick Tasse [Fri, 29 May 2015 20:37:20 +0000 (16:37 -0400)] 
tmf: Bug 468867: Time graph listener notifier interference from ext sync

Change-Id: Ibf072ff1bcd322dedcd3479cb2d08d051c332d50
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49009
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agotmf.ui: Bug 469644: Clear axises of chart when trace is closed
Matthew Khouzam [Mon, 1 Jun 2015 02:30:36 +0000 (22:30 -0400)] 
tmf.ui: Bug 469644: Clear axises of chart when trace is closed

It should be investigated if people would rather have NO axises
when they are cleared.

Change-Id: I566ba5abe15ad9cc5f7f2df5ed7ed74589e1cebb
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49049
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoUpgrade to Tycho 0.23.0
Marc-Andre Laperle [Fri, 10 Apr 2015 20:14:53 +0000 (16:14 -0400)] 
Upgrade to Tycho 0.23.0

This fixes bug 453474.

Change-Id: Ib6e74caf59f0c23c6ce8e2f683963a1f6e1eafe9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/45680
Reviewed-by: Hudson CI
8 years agoAdd a new target to specify the API baseline
Alexandre Montplaisir [Wed, 27 May 2015 00:09:40 +0000 (20:09 -0400)] 
Add a new target to specify the API baseline

Eclipse 4.5 now offers specifying API baselines using target files.
This is much more simple than having to install and maintain a
separate Eclipse installation!

Add a new .target, under a baseline/ directory (to not confuse them
with "real" targets listing build dependencies) which we can use
for setting the API baseline.

Change-Id: Ie83d6ee09de00d102a735da99cd50118c5efd1f5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/48703
Reviewed-by: Hudson CI
8 years agoctf: Fix location ratio handling in CtfTmfTrace
Patrick Tasse [Fri, 5 Jun 2015 19:54:05 +0000 (15:54 -0400)] 
ctf: Fix location ratio handling in CtfTmfTrace

In getLocationRatio(), the provided location timestamp can be used
directly instead of requiring a context seek. Incidentally, the context
used in the current implementation was leaking as it was not disposed.

The total time range used for the ratio calculation should be based on
the trace start and end time (timestamp of first and last event). Using
the iterator range can result in Infinity ratio when the iterator has
only read a single event so far.

In seekEvent(double), the total time range used should also be based on
the trace start and end time. The trace getCurrentStartTime() and
getCurrentEndTime() methods use the packet start and end times which do
not necessarily match actual trace event timestamps.

Change-Id: Ic8bfcdebbd5c388a4048815d01124434e4c82ba6
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49556
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoctf: Fix incorrect location in CtfTmfContext after seek
Patrick Tasse [Fri, 5 Jun 2015 19:38:39 +0000 (15:38 -0400)] 
ctf: Fix incorrect location in CtfTmfContext after seek

After seeking by timestamp, the context location should be set to the
exact timestamp of the event, not the specified timestamp.

After seeking to the start of the trace, the context location should be
set to the exact timestamp of the first event, not to 0. This was a
regression introduced when the CtfLocation was made final.

Change-Id: I5d34653aede7afd5b5fef1baead532a8b1640fa7
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49555
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agoctf: Fix CtfIterator current event and location after seek
Patrick Tasse [Fri, 5 Jun 2015 17:24:06 +0000 (13:24 -0400)] 
ctf: Fix CtfIterator current event and location after seek

If an iterator has equal current and previous location (like it does
after the current event has been read once), the seek will not update
the current event even if it does not match the seek location. Then the
current event and current location of the iterator can return arbitrary
values that do not correspond with the seek location.

This can happen if the iterator instance is recycled for a different
context, which only happens when the iterator manager is full due to 100
concurrent contexts for the same trace, which probably can only happen
if there is a context leak, as the iterator is removed from the iterator
manager when it is disposed.

Change-Id: Ifd67b2c866955f424e11172b8e6fc27a35ad676a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49554
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agotmf: Add color preferences for event raw viewer highlight and selection
Patrick Tasse [Wed, 3 Jun 2015 20:21:42 +0000 (16:21 -0400)] 
tmf: Add color preferences for event raw viewer highlight and selection

The color settings can be changed in Window > Preferences > General >
Appearance > Colors and Fonts > Tracing.

Descriptions are added for all the Tracing font and color preferences.

The default trace event table font is changed to the system font instead
of the dialog font, which more accurately reflects the widget default.

Change-Id: Ia422655c2acd4b15b7ee9b01e07e80bbce5ea900
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49409
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
8 years agotmf: Bug 469655: Virtual table column resize not working on Linux
Patrick Tasse [Mon, 8 Jun 2015 19:02:05 +0000 (15:02 -0400)] 
tmf: Bug 469655: Virtual table column resize not working on Linux

Change-Id: I1186cb17a83a78210e85db06d763ceea7e8960cc
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49696
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agotmf.ui: make columns hideable.
Matthew Khouzam [Wed, 27 May 2015 21:37:10 +0000 (17:37 -0400)] 
tmf.ui: make columns hideable.

Change-Id: Ia23182dc74f05fac21570a718758e050b8881155
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48704
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoctf: make StructDeclarationFlattener more NonNull
Matthew Khouzam [Fri, 5 Jun 2015 20:15:34 +0000 (16:15 -0400)] 
ctf: make StructDeclarationFlattener more NonNull

Change-Id: Ife73c0f117b2269b3a01a17d3931c0220e46de17
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49558
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoBump target sequence number to pick up fix in o.e.remote
Marc-Andre Laperle [Fri, 5 Jun 2015 17:46:53 +0000 (13:46 -0400)] 
Bump target sequence number to pick up fix in o.e.remote

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=461520#c10

Change-Id: I5173d6d33229d3831c155335cd0606d3cf3ecbe6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49545
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf.ui: make GzipFile call super.finalize()
Matthew Khouzam [Thu, 28 May 2015 16:45:06 +0000 (12:45 -0400)] 
tmf.ui: make GzipFile call super.finalize()

Change-Id: I5cbffffb23a1d06134295bb17d5fa3fa5329d9f6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48897
Reviewed-by: Hudson CI
8 years agotmf: delete unnecessary equals() and hashCode() methods for singleton
Alexis Cabana-Loriaux [Tue, 5 May 2015 21:37:30 +0000 (17:37 -0400)] 
tmf: delete unnecessary equals() and hashCode() methods for singleton

Change-Id: Idef63f478feced1ae3480c356f6f207c695b4f81
Signed-off-by: Alexis Cabana-Loriaux <alex021994@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47225
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agoswtbot: Fix ControlFlowViewTest
Patrick Tasse [Tue, 2 Jun 2015 21:26:02 +0000 (17:26 -0400)] 
swtbot: Fix ControlFlowViewTest

If the test host burps for a minimum of 400 ms between the 5th and the
6th click of the "Follow CPU Fwd" button, the test will fail because the
wait condition for the time range returns immediately since the 6th
selected event is a change of process that has the same timestamp as the
5th selected event and the listener notifier has timed out due to the
host delay, updating the trace manager with the selection time of the
5th selected event, and then the following assert on the tree selection
fails because the selected entry change event is still stuck in the new
listener notifier for another 400 ms.

A new condition is created to wait until the tree selection equals the
expected value, instead of using an assertion.

Additionally, the tests are updated to use the new click(int) with
modifier methods in SWTBot, allowing the test of range selection using
tool bar buttons while the SHIFT key is pressed.

Change-Id: Ic607d063b13248bd5ab91a87861ce3dad8a2b286
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/49259
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoUpgrade jarsigner to final 1.1.2 release
Marc-Andre Laperle [Thu, 4 Jun 2015 04:39:08 +0000 (00:39 -0400)] 
Upgrade jarsigner to final 1.1.2 release

Change-Id: I8b143dfed54739a250ef5da46851c8542d54aba9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49417
Reviewed-by: Hudson CI
8 years agoFix file leak in Gzip support
Marc-Andre Laperle [Wed, 3 Jun 2015 02:38:32 +0000 (22:38 -0400)] 
Fix file leak in Gzip support

Change-Id: Ie14143f5be809a8c7e54fc7bc5f7f639d6da4ece
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49269
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
8 years agotmf.ui: GzipEntry remove magic numbers
Matthew Khouzam [Thu, 28 May 2015 16:47:57 +0000 (12:47 -0400)] 
tmf.ui: GzipEntry remove magic numbers

Change-Id: I30db829944632f20923401f4f3e0724e4ca7c8e7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48898
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agotmf.ui: clarify exception handling in ImportTraceWizardPage
Matthew Khouzam [Thu, 28 May 2015 16:42:32 +0000 (12:42 -0400)] 
tmf.ui: clarify exception handling in ImportTraceWizardPage

Also avoid an NPE that doesn't happen yet because of validation, not design.

Change-Id: I4a1e5918dea4343250150952974f9286c3ccb177
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48896
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8 years agoctf: add char position of parse errors in metadata
Matthew Khouzam [Fri, 29 May 2015 14:33:38 +0000 (10:33 -0400)] 
ctf: add char position of parse errors in metadata

Change-Id: I927df5890e459c65f43570b6188d11787f3cd8f1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48959
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoUse latest Orbit repo
Marc-Andre Laperle [Mon, 1 Jun 2015 17:35:23 +0000 (13:35 -0400)] 
Use latest Orbit repo

See
http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg11952.html

Change-Id: I0193cd2468bda3f6fc083d589ca412e3b49943e8
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49123
Reviewed-by: Hudson CI
9 years agoBump target sequence number to pick up new API changes from o.e.remote
Marc-Andre Laperle [Mon, 1 Jun 2015 15:17:00 +0000 (11:17 -0400)] 
Bump target sequence number to pick up new API changes from o.e.remote

Change-Id: Idda226b54e013663ca37b9806e4933ee008abfdb
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/49104
Reviewed-by: Hudson CI
9 years agolttng: Add Lttng27EventLayout
Sebastien Lorrain [Thu, 7 May 2015 20:57:37 +0000 (16:57 -0400)] 
lttng: Add Lttng27EventLayout

This new layout provides the VTIds and pid namespace Inodes on
"sched_process_fork" and "statedump_process_state" events.

Change-Id: If27a0585f38ef690eff8222a69207d9daecf2a41
Signed-off-by: Sebastien Lorrain <sebastien.lorrain01@gmail.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/47474
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoswtbot: Add Control Flow view tests
Patrick Tasse [Fri, 22 May 2015 21:24:43 +0000 (17:24 -0400)] 
swtbot: Add Control Flow view tests

Tests involving shift-clicking a tool bar button are commented out until
this is supported by the SWTBot framework.

Change-Id: I82071d50828db282a0f5f8afa4b8974b9daf83c1
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/48502
Reviewed-by: Hudson CI
9 years agodoc: add time axis alignment to user guide
Bernd Hufmann [Thu, 28 May 2015 14:07:35 +0000 (10:07 -0400)] 
doc: add time axis alignment to user guide

Change-Id: I4cb900dbc83d0adefea0b19865d877caf411834f
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48870
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf.ui: make fields static
Matthew Khouzam [Thu, 28 May 2015 12:19:52 +0000 (08:19 -0400)] 
tmf.ui: make fields static

Change-Id: Ie87294e64410656d0afaada8705e786b7a8f5a94
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48856
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: bug 468542: Fix toggle of search/filter in table using the mouse
Bernd Hufmann [Wed, 27 May 2015 19:58:50 +0000 (15:58 -0400)] 
tmf: bug 468542: Fix toggle of search/filter in table using the mouse

Change-Id: I5e1f849272c9ac89e9c15564f9f6a133562fdc1d
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48816
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf.swtbot: add time axis alignment tests
Matthew Khouzam [Thu, 21 May 2015 22:11:29 +0000 (18:11 -0400)] 
tmf.swtbot: add time axis alignment tests

Change-Id: I1ae6e460a2d59e07c955d9ccb98a961ffd53b0e2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48547
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agodoc: describe selection of time ranges using the keyboard and toolbar
Bernd Hufmann [Wed, 27 May 2015 17:53:45 +0000 (13:53 -0400)] 
doc: describe selection of time ranges using the keyboard and toolbar

Change-Id: Ifd5141ab284a66465b6c9151699623f373771424
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48811
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
9 years agotmf: Bug 468074: Fix selection bucket index calculation
Bernd Hufmann [Fri, 22 May 2015 19:32:39 +0000 (15:32 -0400)] 
tmf: Bug 468074: Fix selection bucket index calculation

Additional fixes:

- Fix HOME and END key to ignore bucket event counts
- Fix calculation of bucket timestamp to consider half bucket offset
- Fix bounding of mouse event x-coord to the bounds of the histogram
- Fix AIOOBException on mouse hover during drag outside of bounds
- Fix some mouse events not working with single timestamp trace
- Fix some mouse events not working when range has no events
- Fix tooltip bucket range string

Change-Id: Ie89dd6b50ab03e8eeeb7ec8e2addc449945af3e7
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/48496
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf.swtbot: Introduce SWTBotSash
Matthew Khouzam [Thu, 21 May 2015 22:10:01 +0000 (18:10 -0400)] 
tmf.swtbot: Introduce SWTBotSash

This allows testing time alignment, it shall be proposed to SWTBot to
be mainlined.

Change-Id: I64229211179a4438ca354497bacdda6af5972042
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48546
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Bug 467751: Partial workaround for XY chart concurrency issue
Bernd Hufmann [Wed, 20 May 2015 19:28:05 +0000 (15:28 -0400)] 
tmf: Bug 467751: Partial workaround for XY chart concurrency issue

This change will remove the usage of the TmfUIRefreshHandler which
delays the clearing of the chart.

However, it is still not thread-safe and it might fail. To fix it
correctly, the whole API of XY charts would have to looked at and
this won't be done for Mars.

Change-Id: Ib838864fd8fb7086391b44f0b3dbf0558617f5f2
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48320
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
9 years agotmf.swtbot: add swtbot test for gzipped import
Matthew Khouzam [Fri, 1 May 2015 01:43:12 +0000 (21:43 -0400)] 
tmf.swtbot: add swtbot test for gzipped import

Change-Id: I743830381774801be33699076bb510e735529fef
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48271
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Add support for importing Gzip (non-Tar)
Marc-Andre Laperle [Tue, 14 Apr 2015 19:17:47 +0000 (15:17 -0400)] 
tmf: Add support for importing Gzip (non-Tar)

Change-Id: I25271514449ecbfb7da2f56ee3036949b077ec07
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48552
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agocontrol: Bug 468358: Display syscall names for LTTng 2.6 support
Bernd Hufmann [Tue, 26 May 2015 17:04:14 +0000 (13:04 -0400)] 
control: Bug 468358: Display syscall names for LTTng 2.6 support

Change-Id: I55a0b49d9dfbb1947ff7f27bc92fd304d11dcdec
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48670
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoctf: Fix truncated packet header timestamps in synthetic trace generator
Patrick Tasse [Wed, 20 May 2015 18:00:51 +0000 (14:00 -0400)] 
ctf: Fix truncated packet header timestamps in synthetic trace generator

Change-Id: I813b6b8f08aca15fc944ab14d80b065b1d52e0d6
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/48315
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Fix IllegalStateException in HistogramDataModel
Patrick Tasse [Tue, 19 May 2015 21:12:05 +0000 (17:12 -0400)] 
tmf: Fix IllegalStateException in HistogramDataModel

It should be allowed to have a last bucket set to 0 in the histogram
data model. This can happen if all trace events have the same timestamp.

The histogram time range is fixed to display even if the start and end
times are equal, as long as there is at least one event in the model.

The scaling is updated to make sure that these single-timestamp events
are spread over the whole width of the histogram. The scaled model will
have a bucket duration of 0 when it represents a single timestamp.

Change-Id: I5341aa6a158a3b4c1b3d4edee982ed67558e8a51
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/48224
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoctf: Introduce LostEventDeclaration singleton
Matthew Khouzam [Mon, 18 May 2015 02:49:24 +0000 (22:49 -0400)] 
ctf: Introduce LostEventDeclaration singleton

Move constants from EventDeclaration to IEventDeclaration.
this removes some package cycles but breaks the API.

Change-Id: If20f7927dd878f2719e84fec6656dd7f55bc72e7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48040
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoctf: internalize utils
Matthew Khouzam [Mon, 18 May 2015 02:25:59 +0000 (22:25 -0400)] 
ctf: internalize utils

Make utils internal. It makes no sense for this utils class to
be part of the API.

Change-Id: Ie4dfbfe3f807c04db3607c88819243550685c292
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48039
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoctf: Make Events use IComposite instead of Structured definitions
Matthew Khouzam [Fri, 24 Apr 2015 20:28:38 +0000 (16:28 -0400)] 
ctf: Make Events use IComposite instead of Structured definitions

Baby steps towards a more general API.

Change-Id: I38af394a23b31ecbf8bad45005dce5d9042b9378
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/46462
Reviewed-by: Hudson CI
9 years agoctf: do not append strings in StringBuilder.append() and avoid dead store
Matthew Khouzam [Mon, 18 May 2015 01:31:57 +0000 (21:31 -0400)] 
ctf: do not append strings in StringBuilder.append() and avoid dead store

Clean up code during the process

Change-Id: If8017ce7bbec20a8a6542f2aaa30affa5f502059
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48034
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agolttng: Avoid exposing internal class in shared tests
Alexandre Montplaisir [Fri, 1 May 2015 17:25:14 +0000 (13:25 -0400)] 
lttng: Avoid exposing internal class in shared tests

The VirtualMachineExperiment is internal, the shared test
utilities, which are made public, should not expose this
concept. Use a TmfExperiment, which is a public TMF concept
instead.

Change-Id: Id02891b77abf45ffc95e3c212ce62f759178e493
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/46961

9 years agotmf: Fix set focus on SWT Chart viewers
Patrick Tasse [Fri, 15 May 2015 16:00:23 +0000 (12:00 -0400)] 
tmf: Fix set focus on SWT Chart viewers

Views should give focus to the SWT chart control on setFocus().

The SWT chart control should give focus to the plot area on setFocus().

The SWT chart control should give focus to the plot area on mouse down.

Change-Id: Ic442d7c75c834c281de2c37d0c01363cd319bf27
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47980
Reviewed-by: Hudson CI
9 years agoctf: fix windows regression
Matthew Khouzam [Tue, 19 May 2015 16:04:02 +0000 (12:04 -0400)] 
ctf: fix windows regression

In windows, the bitbuffer reads the filechannel. This advances the
position. It needs to be flip()ed to reset reading. This problem will
be obvious when we do CI in windows.

Change-Id: Id1cbf581c993038c54d8aa6fd3a62a77e17f17e3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48199
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoctf: fix missing @since
Matthew Khouzam [Tue, 19 May 2015 16:02:44 +0000 (12:02 -0400)] 
ctf: fix missing @since

Change-Id: Iaeb6ffc45b46382426e2987473e9351180c21190
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48198
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoLTTng control: Comment out test for machine address in LTTng control tests
Bernd Hufmann [Tue, 19 May 2015 16:14:25 +0000 (12:14 -0400)] 
LTTng control: Comment out test for machine address in LTTng control tests

Apparently, the address string was changed on hudson from localhost
to hipp3.

Change-Id: I3bca52dfe570e67f96993cd40474568f0e6c2970
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/48200
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Use OSString for the supplementary files folder property
Alexandre Montplaisir [Thu, 14 May 2015 20:13:18 +0000 (16:13 -0400)] 
tmf: Use OSString for the supplementary files folder property

On Windows, getLocationURI().getPath() returns a string that
starts with "/C:/...". This does not get parsed correctly by
utilities like java.nio.file.Path.

Using getLocation().toOSString() instead solves this problem.

Change-Id: I7c5d6d43cd21fd9c0021105884f61fb32bd133d5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/47932
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Fix XY viewer first pixel value and NaN when pixel range is 0
Patrick Tasse [Fri, 15 May 2015 22:37:12 +0000 (18:37 -0400)] 
tmf: Fix XY viewer first pixel value and NaN when pixel range is 0

Change-Id: Ib73197ded6885bec9f84b4fde37b094f7feaf14a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/48004
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoctf: fix performance issue with fighting optimisations
Matthew Khouzam [Mon, 24 Nov 2014 19:03:09 +0000 (14:03 -0500)] 
ctf: fix performance issue with fighting optimisations

The struct flatener will effectively override the byte array optimisation,
this fix will not flatten byte arrays.

Change-Id: I74d76261cc178bd4ab3fac16f749495a481ebfd3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36954
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
9 years agodoc: Minor corrections to Generic State System section
Patrick Tasse [Fri, 10 Apr 2015 17:07:29 +0000 (13:07 -0400)] 
doc: Minor corrections to Generic State System section

Change-Id: I9af4dd3c27f30f6e4ed478b7d6be9498f67674be
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/45676
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
This page took 0.04817 seconds and 5 git commands to generate.