deliverable/tracecompass.git
9 years agoTMF: Make the ITmfEvent#getTimestamp() return NonNull
Geneviève Bastien [Tue, 10 Feb 2015 21:33:45 +0000 (16:33 -0500)] 
TMF: Make the ITmfEvent#getTimestamp() return NonNull

And all the required NonNull annotations to fix all the warnings

Change-Id: If064c2ca2da96bbeb6c143f48e5b965e34b91314
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/41239
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoTMF: Add some NonNull annotations to ITmfTimestampTransform
Geneviève Bastien [Fri, 6 Feb 2015 02:58:05 +0000 (21:58 -0500)] 
TMF: Add some NonNull annotations to ITmfTimestampTransform

And all the necessary NonNull annotations that this little change
requires

Change-Id: I4da75d6d936f0f1adbd3e5b27ca6182711557841
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/41238
Reviewed-by: Hudson CI
9 years agoctf: Add the symbol-mapping file of the cyg-profile trace
Alexandre Montplaisir [Thu, 12 Feb 2015 20:00:47 +0000 (15:00 -0500)] 
ctf: Add the symbol-mapping file of the cyg-profile trace

This file contains the output of 'nm' that was run on the binary
that was used to take the "glxgears-cyg-profile(-fast)" traces.

Change-Id: Ie889d9dc1a9ce359b451d3160c8938de6eb0c421
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41775
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Small updates to FunctionNameMapper
Alexandre Montplaisir [Wed, 11 Feb 2015 22:58:19 +0000 (17:58 -0500)] 
tmf: Small updates to FunctionNameMapper

Make the class final w/ private constructor.

Use ImmutableMap instead of Collections.unmodifiableMap
(can't use an ImmutableMap.Builder though, because there will
be duplicate keys in what we read from the files).

Pre-compile the regex to remove leading zeroes.

Change-Id: I94a5d5b4c5aabd5357e52bf8c062c46ec8c2305b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41689
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: Add unit test for FunctionNameMapper
Alexandre Montplaisir [Wed, 11 Feb 2015 22:12:16 +0000 (17:12 -0500)] 
tmf: Add unit test for FunctionNameMapper

Change-Id: I54f8e407e67942d7d88b7947c5298b6046c0b72e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41688
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: Don't import uneeded entries in FunctionNameMapper
Alexandre Montplaisir [Wed, 11 Feb 2015 22:34:16 +0000 (17:34 -0500)] 
tmf: Don't import uneeded entries in FunctionNameMapper

Lines from a 'nm' output file that represent non-static symbols
(so for which we don't have adresses) would create an entry in
the function map with an empty string as address.

This is because String.split(" ") would split the series of spaces
at the beginning of the line into many sub-strings. Simply doing
String.trim() first avoids that.

In practice it did not matter much because no entry in the view would
use the empty string key. Still, it's cleaner to fix it.

Change-Id: I4a3ac452aedd8d8cf4ff85db982ccd2c9fdf5693
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41687
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: Move FunctionNameMapper (for the Callstack View) to the core plugin
Alexandre Montplaisir [Wed, 11 Feb 2015 21:01:40 +0000 (16:01 -0500)] 
tmf: Move FunctionNameMapper (for the Callstack View) to the core plugin

This also moves the dependency on cdt.core from tmf.ui to tmf.core.

Change-Id: Iefb44b7af16e281ec290115e66482ed3fbe84cc2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41686
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 agoRemove workaround in pom.xml's for a bug fixed 8 years ago
Alexandre Montplaisir [Wed, 11 Feb 2015 23:55:26 +0000 (18:55 -0500)] 
Remove workaround in pom.xml's for a bug fixed 8 years ago

It's so old that the bug tracker does not even exist anymore...

Change-Id: I434b558eaf0b713da244a1d7a7384ddd793dd175
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41691
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Don't open trace files with validation confidence 0 (Bug 436444)
Bernd Hufmann [Tue, 10 Feb 2015 19:55:07 +0000 (14:55 -0500)] 
tmf: Don't open trace files with validation confidence 0 (Bug 436444)

... and only one valid applicable trace type is available.

Change-Id: Id6494df2bf78d1be079ef12e729d6a869c81d260
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41566
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years ago[GDB Trace] Add 'Content' column back to events table (Bug 459711)
Bernd Hufmann [Wed, 11 Feb 2015 18:57:04 +0000 (13:57 -0500)] 
[GDB Trace] Add 'Content' column back to events table (Bug 459711)

Change-Id: I2bca9e171d2abd7f6de13ea9c041f1c6a52d6d2a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41667
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agobtf: Bug 459367: NumberFormatException when trying to open invalid file
Patrick Tasse [Mon, 9 Feb 2015 23:00:14 +0000 (18:00 -0500)] 
btf: Bug 459367: NumberFormatException when trying to open invalid file

Change-Id: I7bb0a3f147839cb04467036f0e8ca4b03d8a9b12
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/41473
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agobtf: Fix BTF event property source
Patrick Tasse [Fri, 6 Feb 2015 16:25:00 +0000 (11:25 -0500)] 
btf: Fix BTF event property source

The BTF UI plug-in is now started through the
org.eclipse.core.runtime.adapters extension, since no class would
trigger the plug-in start. This allows the BTF event adapter factory to
be registered. To force loading the plug-in, we let BtfEvent load the
adapter instead of simply getting it which in turn creates the factory
and loads the plug-in.

The BTF event property source is updated to display the Notes field into
its own property.

The BTF event reference member is renamed to target.

Change-Id: I37fe006cece41f9b470da714314cef932ab7e9a8
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/41302
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoreleng: Remove RCP features from non-RCP update site
Alexandre Montplaisir [Mon, 9 Feb 2015 21:03:58 +0000 (16:03 -0500)] 
releng: Remove RCP features from non-RCP update site

The RCP version has its own update site now. This should avoid
the problems of Eclipse plugin users installing the RCP features
by mistake.

Manually added the RCP source features in the RCP update site.

Change-Id: I7e001397cf2d6a65fc8687d89ebb811d290a0694
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41466
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years ago[LTTng control] fix snapshot session for non-live sessions (Bug 459552)
Bernd Hufmann [Tue, 10 Feb 2015 14:19:14 +0000 (09:19 -0500)] 
[LTTng control] fix snapshot session for non-live sessions (Bug 459552)

Change-Id: Ida1601dea6718394a32b7633695c4194c17d25d1
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41524
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: fix histogram for lost events (Bug 459498)
Bernd Hufmann [Mon, 9 Feb 2015 19:35:04 +0000 (14:35 -0500)] 
tmf: fix histogram for lost events (Bug 459498)

Change-Id: I597fa57ac45ee90a77f8bb224db477c7ddd8d0ab
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41462
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoUpdate Developer Guide for Trace Compass
Marc-Andre Laperle [Wed, 4 Feb 2015 18:46:27 +0000 (13:46 -0500)] 
Update Developer Guide for Trace Compass

Change-Id: I42a4ace9bdf4ef4fdbfe6feaa49ea29bd343636b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41366
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Handle spaces in function names in the Callstack View
Alexandre Montplaisir [Tue, 10 Feb 2015 18:43:52 +0000 (13:43 -0500)] 
tmf: Handle spaces in function names in the Callstack View

De-mangled C++ symbol names may contain spaces, so the function
name reader must not split around these spaces.

Also mention in the documentation that 'nm --demangle' can be used
to get readable C++ function names.

Refs bug #459534.

Change-Id: Ib046a15ada590b389bb8d1af2983e00629d17a35
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41561
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoos.linux: Turn the TID aspect into a singleton
Alexandre Montplaisir [Sat, 7 Feb 2015 06:23:56 +0000 (01:23 -0500)] 
os.linux: Turn the TID aspect into a singleton

Change-Id: I641b823ff8e4ee98bb0b43b58ab85addd93b5ec7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41563
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoRemove versions from other Trace Compass plugin dependencies
Alexandre Montplaisir [Fri, 6 Feb 2015 19:41:08 +0000 (14:41 -0500)] 
Remove versions from other Trace Compass plugin dependencies

These are normally shipped together, so there should be no
version discrepancies. It can be very useful for third-party
dependencies though (or even our "own" if we eventually move
some components in different git repos).

Change-Id: I8699155b5032564b22ca674cf1965b54a44036da
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41319
Reviewed-by: Hudson CI
9 years agotmf: Fix workspace backwards compatibility of filters, colors and XML
Bernd Hufmann [Fri, 6 Feb 2015 02:27:53 +0000 (21:27 -0500)] 
tmf: Fix workspace backwards compatibility of filters, colors and XML
analysis

Change-Id: Ifa81c71e3858008d091ee7e1ead5a60f6daac09b
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41236
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 TmfTimestampFormat Javadoc location in custom parser wizards.
Patrick Tasse [Fri, 6 Feb 2015 21:02:21 +0000 (16:02 -0500)] 
tmf: Fix TmfTimestampFormat Javadoc location in custom parser wizards.

Also fix missing links in javadoc page.

Change-Id: I92a375013d9fdc27c2f0a4fdf804aaf983e5525f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/41330
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agocontrol: fix tracing group option on command line (Bug 459444)
Bernd Hufmann [Mon, 9 Feb 2015 12:05:43 +0000 (07:05 -0500)] 
control: fix tracing group option on command line (Bug 459444)

Change-Id: I983ea9a49826f93a91d35fc9788b656aa76d1d57
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41417
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 agoctf: make MonotonicComparator Serializable
Matthew Khouzam [Sat, 7 Feb 2015 13:09:50 +0000 (08:09 -0500)] 
ctf: make MonotonicComparator Serializable

This allows datastructures like Trees to use it

Change-Id: I1579a6b81326860587e3b403e021f49ac4ecb890
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41356
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Don't import LTTng index files as traces (Bug 451960)
Bernd Hufmann [Fri, 6 Feb 2015 16:09:50 +0000 (11:09 -0500)] 
tmf: Don't import LTTng index files as traces (Bug 451960)

Change-Id: Id4a46fe7e586279f32cb01617b4e4a7f0496f8a4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41296
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoChange build target to Eclipse Mars
Marc-Andre Laperle [Fri, 6 Feb 2015 23:39:00 +0000 (18:39 -0500)] 
Change build target to Eclipse Mars

Trace Compass 1.0.0 will be released with Eclipse Mars so we should build
against it.

Change-Id: Id7a0bd3842639507f15a908f41b83d8396acd4ec
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41345
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoUpdate all plugins and features to 1.0.0
Alexandre Montplaisir [Wed, 4 Feb 2015 22:57:03 +0000 (17:57 -0500)] 
Update all plugins and features to 1.0.0

While we don't *need* to update everything, it looks nice to start
everything at 1.0. Afterwards, we can only bump the version numbers
if the contents have actually changed.

Change-Id: Ic0781e6a878fd98daac40dfc5552d4dcfa211bb3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41111
Reviewed-by: Hudson CI
9 years agoctf: make StreamInputPacketIndexEntry not Comparable
Matthew Khouzam [Thu, 29 Jan 2015 14:51:35 +0000 (09:51 -0500)] 
ctf: make StreamInputPacketIndexEntry not Comparable

Move the comparator to the StreamInputPacketIndex so that it is not
a true compareTo. This makes sense as compareTo needs to be a true
comparison not a partial compare. If compare returns 0, it should be
equals, not more or less equivalent.

Change-Id: I614c9f7d1eb48ac239abd7921b0fcf60fda76be3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40631
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoos.linux: Add a TID aspect for the linux os analysis
Geneviève Bastien [Mon, 19 Jan 2015 21:29:58 +0000 (16:29 -0500)] 
os.linux: Add a TID aspect for the linux os analysis

The TID aspect implemented here comes from the kernel analysis.

Change-Id: I4d64374ea3886fa8f5e5978303cd47a472f1e751
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/39898
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoos.linux: Move the HostThread class from lttng2.kernel to os.linux
Geneviève Bastien [Mon, 19 Jan 2015 21:28:37 +0000 (16:28 -0500)] 
os.linux: Move the HostThread class from lttng2.kernel to os.linux

It is a class that can be used for other analyzes than only the virtual machine
one.

Change-Id: Icd417d68d41c6b6363fe440ab7cd38d9ab4ad9d2
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/39897
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoTMF: allow multiple analysis helpers to have the same ID
Geneviève Bastien [Thu, 5 Feb 2015 04:24:39 +0000 (23:24 -0500)] 
TMF: allow multiple analysis helpers to have the same ID

It allows to access analysis modules using an identifier defined in the class
itself, and so for many helpers defined in different extension points.

It does not prevent having different module IDs use the same module class for
various use cases (see o.e.t.tmf.core.tests for example).

That repairs the Control Flow View and the Resources View for Test XML Stub
traces who support it.

Change-Id: I83dae6be556ef06755494ec72078739c2b19f837
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/40392
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
9 years agodoc: Change RCP guide to use h2 headings
Alexandre Montplaisir [Wed, 4 Feb 2015 19:08:08 +0000 (14:08 -0500)] 
doc: Change RCP guide to use h2 headings

This ensures that only one HTML file is generated, and this is
better for now since the whole guide fits on one page.

Change-Id: I556ac4241169bbc6cefd532a74c5db1339148dce
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41100
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoUpdate outdated license
Marc-Andre Laperle [Fri, 6 Feb 2015 18:49:23 +0000 (13:49 -0500)] 
Update outdated license

Products don't seem to support shared licenses. See bug 459346.

Change-Id: If45d90c9cac7795313f01ce2038815bcf2b62c81
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41313
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoDocument the different profiles in the README
Alexandre Montplaisir [Wed, 4 Feb 2015 22:17:32 +0000 (17:17 -0500)] 
Document the different profiles in the README

Change-Id: I1d211fa7607f073b12b6cf27c371308a3546c654
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41106
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoRe-enable FilterViewerTest
Marc-Andre Laperle [Wed, 4 Feb 2015 22:41:45 +0000 (17:41 -0500)] 
Re-enable FilterViewerTest

Change-Id: Id21f93b93d5b91a5446d65d5e2f853bc785d0c7e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41110
Reviewed-by: Hudson CI
9 years agotmf: Update user guide for aspect-based filtering
Patrick Tasse [Wed, 4 Feb 2015 22:51:02 +0000 (17:51 -0500)] 
tmf: Update user guide for aspect-based filtering

Change-Id: Ib48e20e81c38d6eed84eda2fe91934347fe80403
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39543
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
9 years agotmf: remove trace copy menu from FiltersView menu (bug 458580)
Bernd Hufmann [Thu, 29 Jan 2015 12:01:41 +0000 (07:01 -0500)] 
tmf: remove trace copy menu from FiltersView menu (bug 458580)

Change-Id: I85b559fa17f0a5f4adf102dfc0db107af85bfc2d
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40614
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 agoMake XML analysis using custom parsers backwards compatible
Bernd Hufmann [Wed, 4 Feb 2015 14:19:48 +0000 (09:19 -0500)] 
Make XML analysis using custom parsers backwards compatible

Change-Id: I96d8c349db4beae868aa611252775724ba82412e
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41077
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoRemove deprecated and unused methods related to custom traces
Bernd Hufmann [Tue, 3 Feb 2015 15:19:43 +0000 (10:19 -0500)] 
Remove deprecated and unused methods related to custom traces

The unused methods in TmfTraceType actually didn't work anymore after
adding categories to custom traces.

Change-Id: Ic6e46a5918efdcc8fad9ae49164247e4215e4449
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41014
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoMake Custom Parser trace type backwards compatible to Linux Tools
Bernd Hufmann [Tue, 3 Feb 2015 14:19:35 +0000 (09:19 -0500)] 
Make Custom Parser trace type backwards compatible to Linux Tools

To achieve this it was necessary to update how the trace type ids
are build for custom parsers

Change-Id: I09dbfd83c1296f00473bfdd15ae36cdb105d52a9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41013
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Add missing export to tmf.ui's Manifest
Alexandre Montplaisir [Tue, 3 Feb 2015 18:50:12 +0000 (13:50 -0500)] 
tmf: Add missing export to tmf.ui's Manifest

Change-Id: I67015673c97cf1d1b5c200a49c5a239b7d226a28
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41012
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agodoc: Update user guides for Trace Compass release
Marc-Andre Laperle [Tue, 3 Feb 2015 17:56:51 +0000 (12:56 -0500)] 
doc: Update user guides for Trace Compass release

- Update LTTng, pcap and gdbtrace user guides so that they don't mention
  Linux Tools
- Change LTTng User Guide to Trace Compass User Guide. For that, it was
  necessary to reorder and reword a few sections.
- Other minor corrections

Change-Id: I5ae0b88f2de1131865399fe2fc55d1d7de795af4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41039
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Missing delete action in Filter dialog of ColorsView (bug 458582)
Bernd Hufmann [Thu, 29 Jan 2015 12:07:57 +0000 (07:07 -0500)] 
tmf: Missing delete action in Filter dialog of ColorsView (bug 458582)

Change-Id: I1a4bc08ffe55484269ae3e26dcd49b60e66d2017
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40615
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: fix handler activations in FiltersView (Bug 458579)
Bernd Hufmann [Thu, 29 Jan 2015 11:58:32 +0000 (06:58 -0500)] 
tmf: fix handler activations in FiltersView (Bug 458579)

Change-Id: I516738cb42617cf7abe41484259f6e3892bb76f4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40613
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: support preprocessing of lines in the TextTrace class (Bug 458578)
Bernd Hufmann [Wed, 28 Jan 2015 15:14:45 +0000 (10:14 -0500)] 
tmf: support preprocessing of lines in the TextTrace class (Bug 458578)

Change-Id: I510a6a12bf9a9abd38985bdb2097480afb0c0ad1
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40549
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
9 years agoFix some easy FindBugs issues in BTFTrace
Marc-Andre Laperle [Wed, 4 Feb 2015 15:29:40 +0000 (10:29 -0500)] 
Fix some easy FindBugs issues in BTFTrace

-Do not synchronize on getClass
-DateFormats are not multithread-safe so don't use a field

Change-Id: Ib24b63c7478b2b40f91a1a2f011e80895f7da7d6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41087
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
9 years agodoc: Add Maven targets to deploy the generated HTML files
Alexandre Montplaisir [Wed, 4 Feb 2015 00:27:12 +0000 (19:27 -0500)] 
doc: Add Maven targets to deploy the generated HTML files

This adds Yet Another Maven profile, "deploy-doc", that will copy
the generated HTML files (and their images) to the project's
archives area on eclipse.org (or any other location defined by the
property "docDestination").

Change-Id: Ia1188f1e431b251025b54e00e29dfa4a92f62e40
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41033
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agodoc: Add a TOC to the longer guides
Alexandre Montplaisir [Wed, 4 Feb 2015 00:39:43 +0000 (19:39 -0500)] 
doc: Add a TOC to the longer guides

This will help the HTML (non-Eclipse-help) version much easier
to navigate.

Change-Id: I0e77af7b10fe16863998c6f836d576ce682761dc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41032
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agodoc: Clean up the build.xml Ant files
Alexandre Montplaisir [Tue, 3 Feb 2015 18:38:52 +0000 (13:38 -0500)] 
doc: Clean up the build.xml Ant files

* Remove the "download" targets. We do not store the doc on a
  wiki anymore.
* Remove the pre-Luna Mylyn task location
* Keep only one instance of some commonly-used files, directly
  under the doc/ directory.

Change-Id: Ibfad6aa2ba332ebb3aec2de255a93fea38d5b1f7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41031
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agodoc: Move all help plugins to a doc/ subdirectory
Alexandre Montplaisir [Tue, 3 Feb 2015 00:21:49 +0000 (19:21 -0500)] 
doc: Move all help plugins to a doc/ subdirectory

Also rename them to .doc.user and .doc.dev, similar to what is
used in JDT and Platform.

Change-Id: I8c577c1ba61961e0fb646799f15e07fe5645fc4e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/41007
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Bug 457502: Prevent duplication of Stream List view filters
Patrick Tasse [Thu, 22 Jan 2015 16:24:56 +0000 (11:24 -0500)] 
tmf: Bug 457502: Prevent duplication of Stream List view filters

Change-Id: Ia4cc06c828b09818b38cbc8178fa46073cdfcc08
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40186
Reviewed-by: Hudson CI
9 years agotmf: Bug 457502: Filter node elements should not implement equals()
Patrick Tasse [Wed, 21 Jan 2015 23:07:16 +0000 (18:07 -0500)] 
tmf: Bug 457502: Filter node elements should not implement equals()

Change-Id: I3a5fdbdd08b4e1d8a900d87ccea43abe5b8124fd
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40185
Reviewed-by: Hudson CI
9 years agotmf: Make TmfEventFieldAspect independent of event content
Patrick Tasse [Tue, 20 Jan 2015 20:19:42 +0000 (15:19 -0500)] 
tmf: Make TmfEventFieldAspect independent of event content

This allows any aspect that resolves to an ITmfEventField root object to
be able to be filtered by field or subfield.

A TmfContentFieldAspect is added that resolves to a specific field of
the event content.

Change-Id: I10fcb9f13bd3c697193838e04b60d9bd67bf25e0
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40072
Reviewed-by: Hudson CI
9 years agotmf: Use ellipsis for getField and remove getSubField
Patrick Tasse [Mon, 2 Feb 2015 22:54:36 +0000 (17:54 -0500)] 
tmf: Use ellipsis for getField and remove getSubField

Change-Id: I73e9df77e6b67aedbffadc2945a4d3aefa1f3a3e
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40940
Reviewed-by: Hudson CI
9 years agotmf: Add filter node unit tests
Patrick Tasse [Mon, 12 Jan 2015 16:39:17 +0000 (11:39 -0500)] 
tmf: Add filter node unit tests

Change-Id: I7dbc6f641fa57c83ccbf5ee7783fa2b658bf195c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39432
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Support hexadecimal and octal formats in numerical compare filter
Patrick Tasse [Mon, 12 Jan 2015 22:19:28 +0000 (17:19 -0500)] 
tmf: Support hexadecimal and octal formats in numerical compare filter

Also, all cases where a comparison cannot be performed no longer match
the filter regardless of the NOT flag, since the NOT flag can be used to
indicate <=, != and >= comparisons.

Change-Id: I2a94b9e32744d05bfdfdba7df32137390bbb27d2
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39431
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Bug 458085: Incorrect parsing of timestamps in TmfFilterCompareNode
Patrick Tasse [Fri, 9 Jan 2015 23:10:06 +0000 (18:10 -0500)] 
tmf: Bug 458085: Incorrect parsing of timestamps in TmfFilterCompareNode

Change-Id: Ie25e9ae4716c1429e01bbecb47fb8aa30fb5d562
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39430
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Support aspect-based filtering in FilterViewer
Patrick Tasse [Thu, 18 Dec 2014 17:22:21 +0000 (12:22 -0500)] 
tmf: Support aspect-based filtering in FilterViewer

Change-Id: I260e86d331130b060c96097aa852b76b8ef2e975
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38515
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Make pcap aspects singletons
Patrick Tasse [Wed, 14 Jan 2015 22:08:05 +0000 (17:08 -0500)] 
tmf: Make pcap aspects singletons

Change-Id: I979248f0dcf8417d59c699501a68799dc947d367
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39801
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Replace TmfFilterEventTypeNode with TmfFilterTraceTypeNode
Patrick Tasse [Thu, 18 Dec 2014 16:39:14 +0000 (11:39 -0500)] 
tmf: Replace TmfFilterEventTypeNode with TmfFilterTraceTypeNode

The filtering on event type is replaced with filtering on trace type.
This is done because in the upcoming change to replace field-based
filtering with aspect-based filtering, the aspect list is dependent on
the trace type and not on the event type. Furthermore filtering on event
type will still be possible since an 'Event type' aspect is available.

With this patch, the narrowing of field list based on event type for
child nodes of an EVENTTYPE node is no longer supported. In the
upcoming patch the aspect list will be narrowed based on trace type for
child nodes of a TRACETYPE node.

The handling of trace type labels "category : name" is consolidated in
utility classes TmfTraceType and TraceTypeHelper.

Change-Id: Ie911e9c63ecf7e219540e038fd82e70415e2e0ee
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38514
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoFix backwards compatibility issues when copying traces or experiments
Bernd Hufmann [Fri, 30 Jan 2015 20:23:10 +0000 (15:23 -0500)] 
Fix backwards compatibility issues when copying traces or experiments

Change-Id: I6390da1bf9edb324e6659c9031dd661f14792690
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40920
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
9 years agoswtbot: fix ColorsViewTest to compile and add test, disable FilterViewerTest
Matthew Khouzam [Tue, 3 Feb 2015 22:49:45 +0000 (17:49 -0500)] 
swtbot: fix ColorsViewTest to compile and add test, disable FilterViewerTest

There appears to have been a cherry pick issue that was undetected.
FilterViewerTest will be re-enabled when the issue is resolved.

Change-Id: I2b6702cfabc07a7547654265e042690b329e020a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41026
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Rename getCanonicalName() to getTraceTypeId() in TraceTypeHelper
Patrick Tasse [Wed, 17 Dec 2014 23:09:22 +0000 (18:09 -0500)] 
tmf: Rename getCanonicalName() to getTraceTypeId() in TraceTypeHelper

The trace type id is not always a canonical name, it is any string
defined by the developer in the plugin.xml tracetype extension point.

Change-Id: I3618398b74e460368219cff397d02ef81349485c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38513
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Support subfield array in TmfEventFieldAspect
Patrick Tasse [Wed, 17 Dec 2014 22:45:09 +0000 (17:45 -0500)] 
tmf: Support subfield array in TmfEventFieldAspect

Change-Id: I3ada68c24d73b55a55851100a8269cd506fd56e5
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38512
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf.ui.swtbot.tests: swtbot tests for offsetting
Matthew Khouzam [Wed, 21 Jan 2015 23:08:15 +0000 (18:08 -0500)] 
tmf.ui.swtbot.tests: swtbot tests for offsetting

Change-Id: Ibc4876f373ff454036141d19cbcaa3b6371ca1fe
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40083
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf.ui.swtbot: test colors view
Matthew Khouzam [Thu, 29 Jan 2015 22:56:36 +0000 (17:56 -0500)] 
tmf.ui.swtbot: test colors view

Most functionalities call OS specific widgets and cannot be swtbot
tested.
Makes all events yellow.

Change-Id: Id22f5c8921844e2143341c1fd33af1d2255bc6dd
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40675
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf.ui.swtbot: add filterview tests
Matthew Khouzam [Mon, 26 Jan 2015 22:10:08 +0000 (17:10 -0500)] 
tmf.ui.swtbot: add filterview tests

implements:
  * tracetype test
  * contains test
  * filter node test
  * apply test
  * filternode test
  * matches test
  * equals test
  * compare test

It does not:
  * import
  * export
these functions require access to native widgets

Change-Id: I00684956c065042add2b8ffbbf0ba9df57f01ab2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40407
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agorcp: Update documentation
Alexandre Montplaisir [Wed, 28 Jan 2015 21:02:27 +0000 (16:02 -0500)] 
rcp: Update documentation

* Refer to "Trace Compass" instead of the previous
  "Linux Tools Trace Viewer" naming.
* Add a small section describing how to update the program.

Change-Id: I916d1c6d6615cf601ba1df5210294c838d87660a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40568
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Bug 457109: Exit early in TmfEventThread if request is cancelled
Patrick Tasse [Thu, 29 Jan 2015 22:20:24 +0000 (17:20 -0500)] 
tmf: Bug 457109: Exit early in TmfEventThread if request is cancelled

Change-Id: Ifc848bf4f98b2a95164b54b2330b3262a678d08d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40672
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Bug 457109: Throttle time graph listener notifications
Patrick Tasse [Thu, 29 Jan 2015 22:17:59 +0000 (17:17 -0500)] 
tmf: Bug 457109: Throttle time graph listener notifications

Change-Id: I7a84fb51cce3f0614b19bcaab2259711d9c6ec47
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40671
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoswtbot: Add to SWBotUtils a selectTracesFolder to ease initialization
Matthew Khouzam [Mon, 26 Jan 2015 18:38:20 +0000 (13:38 -0500)] 
swtbot: Add to SWBotUtils a selectTracesFolder to ease initialization

Change-Id: If6c17e4224bf9333026577d28a635bfee8d6b6f5
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40398
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoos.linux: Extract returned value to a local variable
Matthew Khouzam [Thu, 29 Jan 2015 20:14:21 +0000 (15:14 -0500)] 
os.linux: Extract returned value to a local variable

Change-Id: I68c22af78898bb342a2212ad3a79ee1d0b200119
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40660
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoRemove maven-less instructions and script for CTF grammar generation
Marc-Andre Laperle [Wed, 28 Jan 2015 21:42:09 +0000 (16:42 -0500)] 
Remove maven-less instructions and script for CTF grammar generation

Antlr 3.5.2 doesn't exist as a debian package so one would need to download
Antlr 3.5.2 manually.
If 3.2 is used, it results in compilation error (cast error). It's just easier
to run maven and less error-prone at this point.

Change-Id: Ibd790e8262372c14e9dc7b6a2dfd75945dc8594f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40573
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf.ui: fix constant names naming convention in TmfEventsEditor
Matthew Khouzam [Thu, 29 Jan 2015 15:07:21 +0000 (10:07 -0500)] 
tmf.ui: fix constant names naming convention in TmfEventsEditor

Change-Id: I1f9b25eaa2ca562a7d713e20c9002b7f0717e3be
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40633
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Bug 457852: Event table raw viewer selection not propagated
Patrick Tasse [Thu, 29 Jan 2015 21:57:46 +0000 (16:57 -0500)] 
tmf: Bug 457852: Event table raw viewer selection not propagated

Change-Id: I5daec2e8fb471ff053be2d48df8ca95c2c0fc06f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40670
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agolttng2.control.ui: remove redundant modifiers
Matthew Khouzam [Thu, 29 Jan 2015 20:12:38 +0000 (15:12 -0500)] 
lttng2.control.ui: remove redundant modifiers

Change-Id: I4b624a5fcfa9334f305e709e0e092aa71c8ccbd6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40659
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf.ctf: fix findbugs in ctfIteratorManager
Matthew Khouzam [Thu, 29 Jan 2015 14:47:46 +0000 (09:47 -0500)] 
tmf.ctf: fix findbugs in ctfIteratorManager

Change-Id: I7720a756cc7b1051554a8d5bc0b5771b220ba930
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40630
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agorcp: Allow updating RCP installations
Alexandre Montplaisir [Wed, 14 Jan 2015 19:05:51 +0000 (14:05 -0500)] 
rcp: Allow updating RCP installations

* Add the nightly build update site to the default repositories
* Add the "Check for Updates" command to the Help menu
* Restore the -SNAPSHOT suffix of the rcp.product/pom.xml version, to
  allow updating the RCP feature between different snapshots.

Change-Id: I718d37870a21d7238dc58e8a319fc56e2f1d63f3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39623
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agorcp: Also deploy the RCP-specific update site
Alexandre Montplaisir [Tue, 27 Jan 2015 23:05:54 +0000 (18:05 -0500)] 
rcp: Also deploy the RCP-specific update site

The RCP can use an update site separate from the main one for the plugin
version (that contains for instance the RCP product IU and features).
Populate this update site as part of the "deploy-rcp" profile.

Also removed the productDir property, this was used back when we tried
to define symlinks, which didn't really work out in the end.

Change-Id: I4a413164d4413a4767788a9efba938f98d6fdd77
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40514
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 agoreleng: Deploy update sites to the new locations
Alexandre Montplaisir [Tue, 27 Jan 2015 22:54:55 +0000 (17:54 -0500)] 
releng: Deploy update sites to the new locations

Update the default locations to the new directory structure on
download.eclipse.org.

Change-Id: I5fd85852eb760e088c992c4c9a50876a317e8e86
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40513
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 agoreleng: Rename "build-update-site" profile to "deploy-update-site"
Alexandre Montplaisir [Tue, 27 Jan 2015 22:37:16 +0000 (17:37 -0500)] 
releng: Rename "build-update-site" profile to "deploy-update-site"

The "update site" (in releng-site/target/repository) is always
built, so this is more akin to the "deploy-rcp" profile that
is used for the RCP.

Change-Id: Ide082f2738a61e326b5e35eb41b0e6aa38198fc4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40512
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 agoctf: make StreamInputPacketIndex more list like
Matthew Khouzam [Mon, 4 Aug 2014 01:33:24 +0000 (21:33 -0400)] 
ctf: make StreamInputPacketIndex more list like

gets rid of vector
improves performance

Change-Id: I1ea72e61a04c2a8f264446c05d7dbaae5e6337e2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35974
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
9 years agoSet project-specific code style preferences to use 'f' as prefix
Marc-Andre Laperle [Wed, 28 Jan 2015 21:08:34 +0000 (16:08 -0500)] 
Set project-specific code style preferences to use 'f' as prefix

That way, if you use Generate Getters and Setters, it will generate getPath
instead of getfPath, for example.

Change-Id: I65c21608f86eeab1ab32f029be918f1afbc5e922
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40569
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
9 years agoConvert the top-level Readme to markdown + small updates
Alexandre Montplaisir [Wed, 21 Jan 2015 20:42:41 +0000 (15:42 -0500)] 
Convert the top-level Readme to markdown + small updates

Also updated the plugins.svg diagram.

Change-Id: Ibb9cdcc7afee56cb728b75bab58de06737a2d2bc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40068
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoctf: Avoid direct dependency from the lttng plugins to the ctf.core one
Alexandre Montplaisir [Fri, 23 Jan 2015 23:58:30 +0000 (18:58 -0500)] 
ctf: Avoid direct dependency from the lttng plugins to the ctf.core one

The tmf.ctf plugin should encapsulate ctf.core's API completely, so that
lttng (and other eventual users) do not need to depend on ctf.core directly.

Move CtfIterator to be internal, and do not expose it in CtfTmfTrace's public
API. Instead, return ITmfContext's, which can be cast to CtfIterator for
things like tests that really the a CtfIterator reference.

Change-Id: Id7c74c284af98001ca0d0a63648e0db6219c2d5c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40292
Reviewed-by: Hudson CI
9 years agoBug 448502 - Problem opening experiments and CTF traces after restart
Marc-Andre Laperle [Tue, 27 Jan 2015 00:30:53 +0000 (19:30 -0500)] 
Bug 448502 - Problem opening experiments and CTF traces after restart

Change-Id: I5ff2aaf0335626eef1f1fc60b22737eb7f974d59
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40414
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Remove TmfTrace#processEvent()
Alexandre Montplaisir [Wed, 28 Jan 2015 00:12:43 +0000 (19:12 -0500)] 
tmf: Remove TmfTrace#processEvent()

Subclasses can (and already do) extend getNext(), so no need
for a separate overridable method.

Change-Id: If8f5342bdb41d05d46cda5d9d24dc065b3e32c8b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40515
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Have TmfTrace implement ITmfEventParser
Alexandre Montplaisir [Tue, 16 Dec 2014 22:24:18 +0000 (17:24 -0500)] 
tmf: Have TmfTrace implement ITmfEventParser

All implementations already do (and are expected to) implement
ITmfEventParser. With a little rework/cleanup, we can put this
dependency directly in TmfTrace.

Change-Id: I436806ec78d8fd1126874e3453ef67acef5c31cc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38391
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoctf: Do not specify a maximum size for String declarations
Alexandre Montplaisir [Thu, 22 Jan 2015 18:45:22 +0000 (13:45 -0500)] 
ctf: Do not specify a maximum size for String declarations

Fixes bug #457951.

Change-Id: I14c680710f4d4fa691484494957082db7d17035c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39982
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agolttng: Update the TestValues scripts used in tests
Alexandre Montplaisir [Mon, 19 Jan 2015 22:18:56 +0000 (17:18 -0500)] 
lttng: Update the TestValues scripts used in tests

Some maintenace of the {Generate}TestValues scripts:
- Make them work with the new analysis module, which would expect
  a canonical class names.
- Remove static/final modifiers, they are implied by being in an
  interface.
- Update some javadoc.

Change-Id: I423984ce0a930a2fd1f1b5262210cbfba5ed3cd0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39903
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Remove the "event type" from AbstractTmfStateProvider
Alexandre Montplaisir [Wed, 14 Jan 2015 22:42:10 +0000 (17:42 -0500)] 
tmf: Remove the "event type" from AbstractTmfStateProvider

Everybody was just asking for either ITmfEvent.class or TmfEvent.class,
so there's no point offering the option. This will avoid a potentially
costly isInstance() check for EVERY SINGLE event going through a state
provider.

If a state provider really needs a specific event type, they can do an
instanceof check in their handler methods.

Change-Id: I5486559ab5f566843c3006fefe2ce669a4171e5a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39634
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoTMF: Add utility method to return the result of an aspect for an event
Geneviève Bastien [Mon, 15 Dec 2014 20:49:05 +0000 (15:49 -0500)] 
TMF: Add utility method to return the result of an aspect for an event

This method avoids having to iterate through an event aspect iterable and
breaking as soon as it resolves to nonNull for a given event. The result of
the aspect's resolve(ITmfEvent) is returned. It can be null, but if it is
not, it can be safely cast to the aspect's return type.

Change-Id: I83cd2e56ad30c77608d9b184ede6d9df3240393a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/38301
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoos.linux: Rewrite a CPU usage test in a less insane way
Alexandre Montplaisir [Wed, 14 Jan 2015 22:07:04 +0000 (17:07 -0500)] 
os.linux: Rewrite a CPU usage test in a less insane way

Change-Id: Ia694681d6faaa2ce81b8de56c6b5816408f4d0ae
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39632
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
9 years agoFix path to look for Mylyn Wikitext in case of shared installations
Marc-Andre Laperle [Wed, 14 Jan 2015 20:23:37 +0000 (15:23 -0500)] 
Fix path to look for Mylyn Wikitext in case of shared installations

${eclipse.home} works correctly in the case where the Mylyn plugins are under
the Eclipse installation but it does not work in the case of bundle pools,
for example /home/user/.p2/pool/plugins. Instead, ${osgi.syspath} can be used.

Change-Id: Ife437c6efe1b7677210cd5cb444cf689c4384874
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39626
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
9 years agoctf: Add flipping-endianness trace to the gitignore
Alexandre Montplaisir [Wed, 14 Jan 2015 22:31:02 +0000 (17:31 -0500)] 
ctf: Add flipping-endianness trace to the gitignore

Change-Id: Ib17ff7f179ecf01b10a0ebd96cabeb0cca01848f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39633
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoFix references to linuxtools in ant build files
Marc-Andre Laperle [Wed, 14 Jan 2015 19:32:06 +0000 (14:32 -0500)] 
Fix references to linuxtools in ant build files

This prevented the "refresh after build" from working correctly.

Change-Id: I560a1c59db80c3cdf2b767543a82d209e61b305e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39620

9 years agoss: make state system more inline with coding style
Matthew Khouzam [Fri, 9 Jan 2015 15:24:36 +0000 (10:24 -0500)] 
ss: make state system more inline with coding style

change variable names to be more fCamelCase

Change-Id: I31d9d5c712eb70c6286c5909e660263e1409f39b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39087

9 years agoAdd test trace for flipping endianness (bug 453673)
Marc-Andre Laperle [Wed, 14 Jan 2015 04:39:30 +0000 (23:39 -0500)] 
Add test trace for flipping endianness (bug 453673)

Change-Id: I0e6028875683cc14489baf5f2fe8007c52b2dad6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39550
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: add schemas to build.properties file (bug 457322)
Bernd Hufmann [Tue, 13 Jan 2015 11:58:39 +0000 (06:58 -0500)] 
tmf: add schemas to build.properties file (bug 457322)

Change-Id: If5f30932e4c9225688a9dd01f9257acfc7b9ed62
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39471
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoCopyright header update, 2015 edition
Alexandre Montplaisir [Mon, 12 Jan 2015 21:32:21 +0000 (16:32 -0500)] 
Copyright header update, 2015 edition

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

9 years agobtf: fix order of modifiers in BtfEventPropertySource
Matthew Khouzam [Tue, 13 Jan 2015 01:08:59 +0000 (20:08 -0500)] 
btf: fix order of modifiers in BtfEventPropertySource

Change-Id: Ie833ab7087eadaef7172c405ae7726622a57f71e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39443
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
This page took 0.073669 seconds and 5 git commands to generate.