Valgrind: use tool_id in launchers instead of hardcoded values.

Enable various warning that are spotted and fix them.

Change-Id: I2abb3619026fc54316d3993c10416a7e95758560
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24871
Tested-by: Hudson CI
systemtap: Beautify launcher's options tab.

* Fix alignment.
* Remove unused components.
* Simplified i18n.

Change-Id: I6d404327934d78103f4133c806b269337cd20104
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24869
Tested-by: Hudson CI
tmf : queryHistoryRange performance fix

This patch removes unnecessary loops for small resolutions,
which increases the performance.

Benchmark :

Before :
Query resolution 1022444670: 0.245
Query resolution 102244467: 1.167
Query resolution 10224446: 3.390s
Query resolution 1022444: 4.028s
Query resolution 102244: 4.285s
Query resolution 10224: 5.451s
Query resolution 1022: 10.970s
Query resolution 102: 37.396s
Query resolution 10: 306.308s

After :
Query resolution 1022444670: 0.278s
Query resolution 102244467: 1.138s
Query resolution 10224446: 3.373s
Query resolution 1022444: 3.976s
Query resolution 102244: 4.329s
Query resolution 10224: 5.309s
Query resolution 1022: 8.001s
Query resolution 102: 8.145s
Query resolution 10: 8.231s

Reference :
Performance with queryHistoryRange without resolution : 8.414s

Change-Id: I6022dc6c562d994310f9419c362dd1f06a414036
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/21155
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Bug 350291: Gcov annotations should appear in the C/C++ editor.

Gcov has a separate editor for displaying code annotations. To better
integrate with C/C++ developer tooling, the annotations should appear in
the same editor being used to view the source code.

The Gcov annotation model renders for an open ICEditor if the
corresponding project has been launched using the Gcov profiling launch
delegate. The model also renders when a user attempts to open a Gcov
data file (.gcno, .gcda). Once a build-related action (clean, build) is
performed on a project, the annotation model is disabled for all files
within that project.

Change-Id: Ia7966207261cfbb376902b9099cfc78962f553ca
Reviewed-on: https://git.eclipse.org/r/24876
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
gcov: change makefile link order

Change from gcc -llib file.c to gcc file.c -llib

Change-Id: If2d39b413891625d3270e57e2cbfb8a04259fd11
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/24870
Tested-by: Hudson CI
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
dataviewers: Remove dead code.

* Enable unused parameters warnings and fix them.
* Remove unused classes.

Change-Id: Ie714af3d763e0c06f3ab25c7671136801874ad1c
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24877
Tested-by: Hudson CI
Remove annotatedsourceeditor and friends.

Now that gcov use the CDT editor annotatedsourceeditor and methods used
by it are no longer needed.

Change-Id: I96a75031edd2081630fc3bac76ed5203e81483d1
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24899
Tested-by: Hudson CI