[Perf] - Externalize UI strings in the PerfEventsTab class.

Change-Id: Id9aed3c92097d146e90c371d77c0f215d5533abb
Signed-off-by: Rafael Peria de Sene <rpsene@br.ibm.com>
Reviewed-on: https://git.eclipse.org/r/32666
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
TMF: Add benchmarks for timestamp transforms

Change-Id: I4b1e2c220473f1c9b7eba5002cbcdbfe4e5c56d8
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/32575
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
ctf: make CtfStreamInput not hold onto any resources

Change-Id: I61cb09c4c325479115084c54bba03d4746cd6610
Reviewed-on: https://git.eclipse.org/r/32553
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
ctf: Fix leak in CTFIteratorManager

Change-Id: I8fc12259b00b0b8e631e8a30590b38f8bcc0892b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32672
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
ctf: Provide a utility for "safe" mapping of a ByteBuffer

This works around a bug on Windows which prevents deleting a file after it
was mapped. See http://bugs.java.com/view_bug.do?bug_id=4715154

Running TraceSeekBenchmark, I noticed a 10% decreased in performance (3.8s vs 3.4s) on Windows. On Linux, the difference is negligible (2.41s vs 2.40).

Change-Id: Ie590709df4149708a37257ee3bc3d3d017f31c21
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32448
Tested-by: Hudson CI
Bug 408543 : Gcov feature version fix. 

Incremented Gcov feature version to match stable3.1. 
(as part of enabling gcov programatically). 

Change-Id: Ie2bdc038657d949db2bea9e91e81f64bf92bc018
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Reviewed-on: https://git.eclipse.org/r/32815
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
bug 408543 - Implemented first time auto-enable-checkboxes for gprof.

If the user launches gprof and it is not enabled in the options
then the user will now be prompted if he wants to have the
option enabled for him automatically.
If so, the option is enabled and project is rebuild.
Incremented version numbers in feature and gprof.

Change-Id: Ib6344a0f8608cc8100142904511d50f0d086fa4f
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Reviewed-on: https://git.eclipse.org/r/29490
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Bug 408543 - 'since' version fix for Shared api 

Also patched up some copyright headers.

Change-Id: Id4689a84f808905281138fe9c39f0f0e9f489ec8
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Reviewed-on: https://git.eclipse.org/r/32816
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
ctf: Fix a test on Windows

Change-Id: I6f355ca654243ac5c612afb7651b73f91f5fded3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32812
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
lttng: Use checksums to detect corrupt test traces

This also means that we don't have to delete the downloaded files every
time we clean.

Also increase the timeout for smaller traces.

Change-Id: I9807371434b1e1c5b226c444f577b44bc663c1de
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32825
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
RPM: Allow source downloads with FTP.

Resolves EBZ #441736.

Change-Id: I5d66e57836ebbab4638d0e3f1bc4fc2863042007
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/31580
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
RPM: Add "stop" feature for builds.

Allow stopping an RPMExportOperation to actually have an effect.
Also add a stop button on the RPM Console.

Change-Id: Id9b868d4e2c13cad601229a6813fb095e36a71ef
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30693
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
RPM: Edit targets of "Build RPM" commands.

-The "Build RPM" toolbar button now only targets the currently
active .spec file editor rather than the active selection.

-Prevent RPM Builds from being possible for projects without
an RPM nature.

-Prevent RPM popup menu options from appearing when the active
selection contains more than one element.

Change-Id: I31aa2c5827b2fa4acf692f764a64dbd7b4fc25d9
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/31564
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Systemtap: Improve script running & race conditions.

A number of race conditions can occur when running Systemtap scripts;
supress them with tighter synchronization. Also apply minor improvements
to script-running tasks, such as a fix to EBZ#441279.

Change-Id: Ie358b968bbf9ffe97b05f680dcbb3b97f180b569
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/31140
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
lttng-control: fix null string in OpenCommandScriptDialog

Change-Id: Ifb668b85bfc99e68e93018827191bf303b12e222
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32877
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
profiling.ui: Fix javadoc and make malformed one an error.

Java 8 javadoc is way stricter than previous so malformed javadoc is no
longer an option.

Change-Id: If1b7790dba4e22f53c9fe1ffb96579a3b428a061
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/32919
Tested-by: Hudson CI
oprofile: Fix Non-NLS issues.

Change-Id: Icea19be0c6d0cc87583669cb9944bc7adb745576
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/32922
Tested-by: Hudson CI
ctf: Check that test traces exist before verifying checksum

Change-Id: I13858eb2eb5f2890716b503634a54fdf5a007551
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32928
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
lttng-control: Support tcp4 string in session path (Bug 443403)

Change-Id: I4d13ce8d806ed92b3d99407bdc4ece5fcfbb308e
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32923
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
TMF: Add documentation for XML XY charts

Change-Id: Ib58d7e21ec199055440dd340d9f55150132143ec
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/32727
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>