deliverable/tracecompass.git
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>
8 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
8 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
8 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>
8 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
8 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>
8 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>
8 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>
8 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>
9 years agolttng: Update for latest org.eclipse.remote API
Alexandre Montplaisir [Mon, 18 May 2015 20:07:06 +0000 (16:07 -0400)] 
lttng: Update for latest org.eclipse.remote API

IRemoteConnectionType#getCapabilities was removed, and replaced
with more direct capability-querying methods.

Change-Id: I5b14ab63320c2c0949d0d89a60fa7a2850f66bf3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/48106
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoctf: remove field list from constructor of StructDefinition
Matthew Khouzam [Fri, 15 May 2015 19:51:52 +0000 (15:51 -0400)] 
ctf: remove field list from constructor of StructDefinition

This makes no sense to have as structs have the field list internally.
Moreover this leads to more complicated and error prone struct initialization.
It also hides potential bugs in the tests. As highlighted in CTFEventDefinitionTest

Change-Id: I25bf18bf9be23fb2af17f52de9cf677bea1b4833
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47992
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
9 years agotmf: Update mouse drag for xy charts to work with time aligmment
Bernd Hufmann [Fri, 15 May 2015 10:56:33 +0000 (06:56 -0400)] 
tmf: Update mouse drag for xy charts to work with time aligmment

Change-Id: I6d94c4922bddae43ff9bcee3dfea118c7be446cf
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47957
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Update calculation of offset and available width in XY chart
Bernd Hufmann [Fri, 15 May 2015 01:23:37 +0000 (21:23 -0400)] 
tmf: Update calculation of offset and available width in XY chart

During window range updates the window start and end time of the
xy chart viewer used to be inconsistent with the corresponding
x-Series values. This lead to incorrect values when calculating
the point offset and available width for the time alignment during
the period of inconsistency. With this patch the offset and width
is calculated using the first and last time in the x-Series array.

Change-Id: I70eee0c08777c4b6797e2d6bbc41dd19fff05f64
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47944
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agolttng: Disable spuriously failing Partial State System tests
Alexandre Montplaisir [Fri, 15 May 2015 18:06:12 +0000 (14:06 -0400)] 
lttng: Disable spuriously failing Partial State System tests

The partial state system is in very bad shape and not used at all.
Until some energy is put into improving its implementation and
testing, it should not be depended upon.

To make matters worse, one of its tests is failing randomly on
Hudson. Since it is not in a supported state at the moment, I
suggest disabling these tests until we improve the PSS.

Change-Id: I592598670b2f2a122c8f638b264502a48dae177c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/47991
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoctf: replace Defintion with IDefinition in IDefinitionScope
Matthew Khouzam [Fri, 24 Apr 2015 20:32:34 +0000 (16:32 -0400)] 
ctf: replace Defintion with IDefinition in IDefinitionScope

Change-Id: I06a73afd3a97633f4355828be0c10cf0dd7ad2e0
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/46461
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
9 years agotmf: Fix calculation of time axis offset
Patrick Tasse [Thu, 14 May 2015 15:33:40 +0000 (11:33 -0400)] 
tmf: Fix calculation of time axis offset

Calculate the time axis offset based on the control sizes instead of
using the sash weight ratios which can introduce small rounding errors.

Change-Id: Iff8deabd45981913e5209b9d2d4f33b922a5d6d4
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47923
Reviewed-by: Hudson CI
9 years agotmf: Fix calculation of sash weights in performAlign
Patrick Tasse [Wed, 13 May 2015 19:44:13 +0000 (15:44 -0400)] 
tmf: Fix calculation of sash weights in performAlign

This ensures that the sash width is taken into account when calculating
the sash weights when trying to align to a specific offset.

There can still be some drifting by 1 pixel, but this is caused by
integer trimming in the computations inside SashForm and SashLayout.

Change-Id: I742dc99e90e3eb4c9f95b1bac3da286f3187af3e
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47884
Reviewed-by: Hudson CI
9 years agolttng: Make sure that time alignment signal is sent in CPU Usage view
Bernd Hufmann [Wed, 13 May 2015 19:58:13 +0000 (15:58 -0400)] 
lttng: Make sure that time alignment signal is sent in CPU Usage view

Change-Id: I5efa35104ba3cc3112cc82c5afd4b50632deb883
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47886
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Don't subtract of 1 when getting the pixel coordinate from xAxis
Bernd Hufmann [Wed, 13 May 2015 19:57:46 +0000 (15:57 -0400)] 
tmf: Don't subtract of 1 when getting the pixel coordinate from xAxis

For small time ranges this subtraction caused invalid coordinates which
lead to invalid time alignment when zooming in to very small time range

Also, make sure that getPixelCoordinate is only called when Y-values
are abailable when calculating the the point area offset.

Change-Id: Iaa623a406a91ac94e681bf610169892ee8149555
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47885
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Fix calculation of available alignment width in TimeGraphCombo
Bernd Hufmann [Wed, 13 May 2015 14:32:13 +0000 (10:32 -0400)] 
tmf: Fix calculation of available alignment width in TimeGraphCombo

Before the fix the vertical scroll bar was not considered when
calculating the avalible alignment width.

To observe the impact of the incorrect aligment value open just
HistogramView and ControlFlowView for a kernel trace without the fix.
Then the right margin of the Histogram view is not correct.

Change-Id: Ia54e2c3f03fcc22def4706b778518353515c7897
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47852
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Set window start and end time of TmfTimeViewer in one method.
Bernd Hufmann [Wed, 13 May 2015 10:50:58 +0000 (06:50 -0400)] 
tmf: Set window start and end time of TmfTimeViewer in one method.

Now both values have to be set at the same time instead of calling
2 set methods.

Change-Id: I8b76dfdf9d6d5c4d4e00b440b8ae493307e5bd7e
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47812
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Set selection begin and end time of TmfTimeViewer in one method.
Bernd Hufmann [Tue, 12 May 2015 18:57:54 +0000 (14:57 -0400)] 
tmf: Set selection begin and end time of TmfTimeViewer in one method.

Now both values have to be set at the same time instead of calling
2 set methods.

Change-Id: I66d7e564609d83cba7f85bcad3649c39e34cc0eb
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47762
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Set selection end time when opening XY chart views
Bernd Hufmann [Tue, 12 May 2015 18:44:20 +0000 (14:44 -0400)] 
tmf: Set selection end time when opening XY chart views

Change-Id: I7b283f4492c00bc0a0fc6e716bd78aacf2751a4a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47760
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoUpdate default weight for the SashForm in time-aligned views
Bernd Hufmann [Tue, 12 May 2015 18:31:58 +0000 (14:31 -0400)] 
Update default weight for the SashForm in time-aligned views

Change-Id: Ie345adad7836116e38a18d4b08d6ab1071e298cc
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47759
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf.core: Iterate over values or entries in a map iterator
Matthew Khouzam [Wed, 29 Apr 2015 14:40:53 +0000 (10:40 -0400)] 
tmf.core: Iterate over values or entries in a map iterator

Change-Id: Ia1ca10bc9bc0af48167417071585dd91c5bc2def
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/46790
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoTmf.Ui: fix Multithreaded correctness - Call to static DateFormat
Matthew Khouzam [Wed, 29 Apr 2015 15:13:35 +0000 (11:13 -0400)] 
Tmf.Ui: fix Multithreaded correctness - Call to static DateFormat

The problem has been very well explained here:
http://fahdshariff.blogspot.ca/2010/08/dateformat-with-multiple-threads.html
As this code may be used in multi-threaded environments, not making it thread
safe will result in sporadically mangled dates. This patch fixes it by
synchronizing each access with the list of all items. More performance would
be had by using a threadlocal scheme where setting the timezone resets the
structure, but the legibility of the class would greatly suffer.

Change-Id: If8e9b118b3db15a2a0c088d4ebb2fa7c20839885
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/46792
Reviewed-by: Hudson CI
9 years agolttng: Remove unnecessary String object creation
Alexis Cabana-Loriaux [Wed, 6 May 2015 17:00:43 +0000 (13:00 -0400)] 
lttng: Remove unnecessary String object creation

Change-Id: I984c3218ebe2cff37b5596f53c2bb2d642f1bfd4
Signed-off-by: Alexis Cabana-Loriaux <alex021994@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47353
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agogdbtrace: Change instantiation of Integer argument
Alexis Cabana-Loriaux [Wed, 6 May 2015 14:55:58 +0000 (10:55 -0400)] 
gdbtrace: Change instantiation of Integer argument

Change-Id: Ib0bf057a4fd858271da1ea332e7ce94c3df72493
Signed-off-by: Alexis Cabana-Loriaux <alex021994@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47318
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Remove nullcheck before an instanceof
France Lapointe Nguyen [Thu, 7 May 2015 22:25:18 +0000 (18:25 -0400)] 
tmf: Remove nullcheck before an instanceof

Change-Id: Ia1f5b9d7c77046bb6baa7c8950dbe8acd000ab5e
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47504
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoUse equals and equalsNullable method instead of ==
France Lapointe Nguyen [Fri, 8 May 2015 13:41:57 +0000 (09:41 -0400)] 
Use equals and equalsNullable method instead of ==

Change-Id: I3dcc6c0a60f88b0ffcf92dd6f3d17a831403dbb8
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47535
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agopcap: Replace a null-check by a NonNullUtils function in ConversionHelper
France Lapointe Nguyen [Tue, 5 May 2015 21:46:51 +0000 (17:46 -0400)] 
pcap: Replace a null-check by a NonNullUtils function in ConversionHelper

Change-Id: I41aaaa5bdcd7cbe849dcfc096350c91663763ac4
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47226
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agolttng: Remove redundant null check by marking generateSessionConfig() @NonNull
France Lapointe Nguyen [Tue, 5 May 2015 21:55:06 +0000 (17:55 -0400)] 
lttng: Remove redundant null check by marking generateSessionConfig() @NonNull

Change-Id: I96e6536b44d45c0bf02fb675f14c86bfd016644e
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47227
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Remove repeated conditional test
France Lapointe Nguyen [Fri, 8 May 2015 21:42:06 +0000 (17:42 -0400)] 
tmf: Remove repeated conditional test

Change-Id: Ia77d9ed5463e790a4526625e8f111946c470d891
Signed-off-by: France Lapointe Nguyen <francelap@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47537
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoBump target sequence number to pick up Mars M7
Marc-Andre Laperle [Mon, 11 May 2015 20:04:17 +0000 (16:04 -0400)] 
Bump target sequence number to pick up Mars M7

Change-Id: Iab76273eb5573cac436da167f9b404b1b6472a0d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47663
Reviewed-by: Hudson CI
9 years agotmf: Adjust xAxis range after mouse drag operation in XY chart viewer
Bernd Hufmann [Tue, 5 May 2015 13:12:56 +0000 (09:12 -0400)] 
tmf: Adjust xAxis range after mouse drag operation in XY chart viewer

This will provide correct values for x-Axis alignment.

Change-Id: Ic98423582b6c361f1fefc79e837dc919aaaad038
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47178
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Align the time-axis for time range histogram
Bernd Hufmann [Mon, 4 May 2015 15:24:56 +0000 (11:24 -0400)] 
tmf: Align the time-axis for time range histogram

Change-Id: Ie1dfb34e9ffdbe881bb477622398dce44546529d
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47077
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
9 years agotmf: Allow shift key to extend selection in time graph
Patrick Tasse [Wed, 6 May 2015 21:02:47 +0000 (17:02 -0400)] 
tmf: Allow shift key to extend selection in time graph

- Extend the selection range when shift key is pressed while pressing
left or right keys.
- Extend the selection range when shift key is pressed while running the
next event, previous event, follow arrow fwd, follow arrow bwd actions.
- Update status line when the above actions modify the selection.
- Make sure the selection end time is visible when modifying the
selection range.
- Show status line when time graph control has focus with mouse outside
of the control bounds, but without displaying the cursor time.
- Highlight the selected state at the selection end time instead of the
selection start time.
- Remove the margin factor that made 'ensure visible' change the time
range when the selection was near the left or right margin.

Change-Id: Iee1dbbbc56e052de1a48bc638355e0c7dc126c2a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47381
Reviewed-by: Hudson CI
9 years agotmf: Allow negative time range selection
Patrick Tasse [Wed, 6 May 2015 18:06:17 +0000 (14:06 -0400)] 
tmf: Allow negative time range selection

This patch allows the selection end time to be lower than the selection
start time, better representing the user selection.

It will help to correctly update the end boundary using atomic
operations (keyboard or button) that extend a selection to the left of
the selection start.

The status line message delta is updated to allow a negative value.

Change-Id: I5228441cb049487783d4b0fdcba7ef766077677f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47380

9 years agotmf.ui: add percent of selection to timechart view
Matthew Khouzam [Wed, 22 Apr 2015 17:05:43 +0000 (13:05 -0400)] 
tmf.ui: add percent of selection to timechart view

This allows us to know how much time is being used by one entry in a timechart.
Applies to Control flow view, resource view and the call stack view

Change-Id: If7052553473ca53929aafaba7fc5831883e4e087
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/46271
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Add sash for time range histogram and time controls
Bernd Hufmann [Mon, 4 May 2015 14:55:06 +0000 (10:55 -0400)] 
tmf: Add sash for time range histogram and time controls

Change-Id: I127751cc998e56cd47afae7922099e2861028e61
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47075
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf.ui: make histogram use entire range of plot area
Matthew Khouzam [Mon, 27 Apr 2015 20:44:11 +0000 (16:44 -0400)] 
tmf.ui: make histogram use entire range of plot area

This feature will help view alignment but has an issue with beat
aliasing due to sampling periods not being harmonics.

Change-Id: Iff033f90f68e0614a9f56a402400b9385108107d
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/46593
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Fix time scale not visible at first in Control Flow view (GTK3)
Marc-Andre Laperle [Thu, 7 May 2015 22:37:10 +0000 (18:37 -0400)] 
tmf: Fix time scale not visible at first in Control Flow view (GTK3)

Bug 466791
Change-Id: Ide2431eb9a48f5430e04f53bd3d76c28c03577d3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47505
Reviewed-by: Hudson CI
9 years agoctf: Provide a Maven property to specify a ctf-testsuite commit to use
Alexandre Montplaisir [Fri, 8 May 2015 19:59:48 +0000 (15:59 -0400)] 
ctf: Provide a Maven property to specify a ctf-testsuite commit to use

Instead of automatically pulling all changes from ctf-testsuite,
which may break our builds unexpectedly, we'll define a commit
to use in the plugin's pom.xml.

We can regularly update this pointer to pull in newer versions
of the test suite.

The property can also be overridden on the command-line, for
example using:

  mvn clean verify -DctfTestSuiteCommit=master

will use ctf-testsuite's master branch.

Change-Id: I06b8e11f12fec16d9c011f0f2a80b083fcadd8de
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/47554
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
This page took 0.060832 seconds and 5 git commands to generate.