Perf: Replace (most) SWTBot tree expansion.

Change-Id: I0ea09facc6705c1f46d7c5e5758f06182480510b
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24231
Tested-by: Hudson CI
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
IP-Clean: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
Systemtap: Allow data filters to affect graphs.

Data filters that are applied to the Data View table (DataGrid) of a
Graph Set are now also applied to all graphs in the Set.

Also include SWTBot testing of adding filters to tables/charts.

Change-Id: If9bb7df6ea3686f0930f8ce8bf8685ec5357c45e
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/22394
Tested-by: Hudson CI
Reviewed-by: Sami Wagiaalla <swagiaal@redhat.com>
IP-Clean: Sami Wagiaalla <swagiaal@redhat.com>
Tested-by: Sami Wagiaalla <swagiaal@redhat.com>
tmf: Fix batch import doesn't respect user-chosen trace name on copy

When the user changes the trace display name in the batch import wizard
(for example to resolve a name conflict), this name is not used when
importing if the copy option is selected and the trace is a folder.

This prevents the trace type to be set correctly on a single trace
import, and prevents name-conflicted traces to be imported properly.

Change-Id: I3dd04ca5deeaf5d4f9327ef13e7c1fdd5dcd2b62
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/24122
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Systemtap: Forbid launches with invalid graphs.

Change-Id: I6e4f6d20e97f50c648700632d6cc57c39fd057fb
Reviewed-on: https://git.eclipse.org/r/24290
Tested-by: Hudson CI
Reviewed-by: Andrew Ferrazzutti <aferrazz@redhat.com>
IP-Clean: Andrew Ferrazzutti <aferrazz@redhat.com>
Tested-by: Andrew Ferrazzutti <aferrazz@redhat.com>
tmf: Replace event matching API to use Collection

instead of straight arrays. This is more flexible, and indicates
that there is no notion of ordering of the traces. Had to replace
one instance of List.get(i) with a map of traces.

Change-Id: Ia25d79b4735b0acb5d4c56975e5e384ad39ad583
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24078
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Systemtap: Fix RC graph removal.

Properly handle/resolve Run Configuration->Graphing errors
when removing invalid graphs. This fixes a bug introduced
by f252ba3.

Also, add tests for handling Graphing errors.

Change-Id: I9a8265af7116ddd67d64567913e2a57e8226ec3b
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24337
Tested-by: Hudson CI
gprof:Fix warnings.

* Remove unused parameter.
* Add comment to empty block.

Change-Id: If9c899da4809e2de90c2c007986f78005951b509
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24338
libhover: Small cleanup and formatting of ParseDevHelp.

Change-Id: I9404426813ac91683f0f898c093e2c8d80429add
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24341
TMF: Refactor XML model code, using factories to re-use element parsers

The same XML syntax (and thus parsing) can be used for many XML components'
element, like state providers and views, but the behavior of each component
may be different. We use a factory to define create the classes with the
various behaviors.

Change-Id: Iec5d54155b93a79b1ebc5ffeb8eaffef5e6569ca
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23157
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
TMF: Add support for XML-defined analysis outputs

Change-Id: Ifb1436b79a342e3ce169616f65ad293bf5eae1a6
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/23158
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
libhover: Simplify CheckDevhelp test

Change-Id: I33e21a92c0f887cce7cbd7b9e85a26e096f2a239
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24351
rpm: Remove useless call in CreaterepoProjectCreator.

Change-Id: I962db1e6ad0109afaf2b92b118ef1e5c30cb08ea
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24356
Tested-by: Hudson CI
tmf: Add Open With menu for trace elements in project explorer

The menu item is only available when the trace resource is a file.

Change-Id: I6951764fe5e357467020938c3f3802621e591aef
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/23926
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
rpm: Readability improvements to tests.

Change-Id: I05f52bc4ea589261254b62c80cfb6df787fd3992
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24353
Tested-by: Hudson CI
systemtap: Fix warnings.

There is no need to call setUp/tearDown and thus declare throws in
parent. Before/After annotations take care of calling all annotated
methods.

Change-Id: I6a862acc32452c70db74039b65c18d53113b32bf
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24445
Tested-by: Hudson CI
systemtap: Make o.e.l.s.graphing.ui.wizards.filter internal.

The package is not used by anything outside of the bundle and it
entirely undocumented.

Change-Id: I4e0cb5907c7709621c24572410d8b8e840eb49f8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/24446
TMF: Add XML state system view definition to the XSD

Change-Id: I3cad7bd42b2b263837b62392b5169781c5f9b26a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/23159
Tested-by: Hudson CI