lttng: Add snapshot support - LTTng Tools v2.3

Support for commands
- lttng create <session> --snapshot OPTIONS
- lttng snapshot list-output
- lttng snapshot record

Not supported
- lttng snapshot del-output
- lttng snapshot add-output
- lttng snapshot record OPTIONS

Change-Id: Id8b8a6bc487c0fe792ffe74981f42dbc1d42a81c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16644
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
tmf : Update the histogram to handle lost events correctly

Add a checkbox to toggle displaying the lost events
Display the lost events' bars in the histogram

Change-Id: Iba72f479455cadc4150efadf695f943a6572f3d2
Signed-off-by: Jean-Christian Kouamé <kadjo.gwandy.jean-christian.kouame@ericsson.com>
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15555
rpm: Always init annotation model in the error handler.

Better to init in the constructor to prevent NPEs and additionally guard
for null where needed as there are still such cases.

Change-Id: I7d7fb9712cc8363074ec6ac27039204c8ad9d403
Reviewed-on: https://git.eclipse.org/r/16904
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
IP-Clean: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
changelog: Bump version to make difference for newer releases.

Make it x.y.z+2 as it was not bumped for 2.1.0. 
Also drop java nature/builders as it's not needed for features.

Change-Id: I0db1bb3d2ccf95e2147f2e1574191b3016e5d865
Reviewed-on: https://git.eclipse.org/r/16907
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
IP-Clean: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
RPM: modify behaviour of hyperlinks B#416446

The options available when Ctrl + hovering on any kind
of valid hyperlink within a specfile editor are modified based
on whether or not the hyperlink is a valid URL or file name.

Valid URLs will be given the option to OPEN IN A BROWSER. Valid
URLs that are linking to a file will be given the option to DOWNLOAD
the file. If the file does not exist and is a patch, it will offer to
CREATE it. If the file exists, then it will offer to OPEN the file.

Non URLs will either OPEN the file if it exists, or CREATE the file
if it is a patch.

Also, "Unkown Hyperlink" showing up when hovering over a macro and valid
URL will now show a simple text saying what it will do.

Bug: 416446

Change-Id: I51021ca1163dded22a74874e9133ff3c1b4f1b60
Signed-off-by: Neil Guzman <nguzman@redhat.com>
Reviewed-on: https://git.eclipse.org/r/16119
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
IP-Clean: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
rpm: Change editor.tests packages to match tested classes.

Better consistency and allows tools like moreunit to work properly.

Change-Id: Ib8d8c0fffa51c3ce7e2ff27a5d70887ee42b9b9b
Reviewed-on: https://git.eclipse.org/r/16955
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
IP-Clean: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
systemtap: Use system colors where possible.

If one creates new Color it needs to be disposed manually which is not
an option with these static fields. For now just replace with system
color which are properly disposed by SWT itself. Not fixing the issue
entirely but at least minimizes it.

Change-Id: I0f9fe214df1c5d8f14f8e471e4ffc029f0c36583
Reviewed-on: https://git.eclipse.org/r/16946
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
IP-Clean: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Bug 416316 - New > Tracing Project appears in unrelated perspectives

Only enable the wizard in tracing related perspectives.

Change-Id: If448514e7edcadde723abe9ca6c53848dc3fb467
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16730
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
[TMF] Fix current API errors for version 2.2

Change-Id: I1267e65ee6805431dbb97f5072afc4e5978c06a9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
[TMF] Handle custom traces in TmfTraceType in a more consistent way

Instead of storing the custom trace types by human readable name, store them by traceId like the other trace types.
The trace Id is the canonical name + the definition name. This makes it consistent with TmfTraceElement.getTraceType.
Also, consolidate code that can reuse TmfTraceType.setTraceType.

Change-Id: Iac81c8d4fdf18eb83a84052c4c47d70d94cd64d5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Export trace package

Change-Id: I71f5f104b2c552a5dbb2721fbdde9b069dd1a306
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Import trace package

Change-Id: I6ee66ef133f80a7e911114cb271b6e126ee9d156
Import all trace files, import bookmarks

Change-Id: I865012358ac27415f32a61ae8f2df96d0f0bd402
Fix import bookmarks, import supp files, fix custom types

Change-Id: If2cb442e211abea5381037777f9893c0f5501708
Clean-ups and renames

Change-Id: If9d55d33931034a6f653c035c5d120384c735e20
Renames, disable trace files checkbox, check subtree

Change-Id: I489fbc891b58c85811e6174c276f4277f5e4930b
Add size comlumn

Change-Id: Id48ed0e99a7ef68546d6622541fc25d556a5ec65