systemtap: Rename plugins.

o.e.l.systemtap.ui.graphingapi.[ui,nonui] is weird at least. Proper
naming is o.e.l.systemtap.graphingapi.core(ex nonui) and
o.e.l.systemtap.graphingapi.ui (ex ui.graphingapi.ui).

Change-Id: Id049b4ce32f0ee22a4a9eeb89a61477db01c72fd
Reviewed-on: https://git.eclipse.org/r/11741
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: Change plugin ids in the feature too.

Should have been part of previous commits.

Change-Id: I2858e9c6366c89ad6aca8b2ffc5e8a9224b54823
Reviewed-on: https://git.eclipse.org/r/11746
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
rpm: add API to call rpm --eval.

Change-Id: Ia25edd9259c125813e25183c6d9611110a402915
Reviewed-on: https://git.eclipse.org/r/11744
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Add SWTBot test for creating a new Systemtap script

Change-Id: I5f2bc84074ceb0390766e5cb56cb1f478c0dfe6d
Reviewed-on: https://git.eclipse.org/r/11691
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Provide hover help in the SystemTap Editor

Change-Id: I796abcbf2e6099100ac45f760e92d945ebe6e68e
Reviewed-on: https://git.eclipse.org/r/11645
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
systemtap: Remove commented and not used stuff in dashboard.

Change-Id: I783ae8a24dc140af567c4d0a7845e728eb552805
Reviewed-on: https://git.eclipse.org/r/11751
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
systemtap: dashboard - more unused stuff removal.

Change-Id: I8a7122097714bfb56338e38ff7842e343dcc362c
Reviewed-on: https://git.eclipse.org/r/11766
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Assume stap is installed in tests dealing with stap processes.

* Skip tests that depend on stap when the tool is unavailable.
* Move stap installation check to o.e.l.systemtap.ui.tests.
* Remove plugin.xml and activator from o.e.l.systemtap.ui.tests.

Change-Id: I18ba65d8f903dd6018bb669750f415902b27629a
Reviewed-on: https://git.eclipse.org/r/11737
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>
releng: Remove wrong check in promoter.xml

It is checking explicitly for Ant 1.8 which breaks if one has Ant 1.9. As we would better keep this scripts
to the minimum and Ant 1.8 being a commodity nowadays I simply removed the check.

Change-Id: If3d4b854c2bd07eb3d12202d456b93a57f8bdffb
Reviewed-on: https://git.eclipse.org/r/11777
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>
Remove debugging print statements

Change-Id: I2361f460ee02e6bb8b6d8b3189c001c278bb2a79
Reviewed-on: https://git.eclipse.org/r/11778
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
tmf: Fix new Kepler warnings

Mainly null-check warnings, due to the new JDT with improved
null checks.

Change-Id: Ibe47a0e830547d10c9947dd79289a7194ecc9bd0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11761
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
tmf: Make TmfEventType immutable

Almost no changes needed, nobody was ever modifying the fields,
other than the tests.

Change-Id: Id6319fc46e3df4bee06e357bbe371b20109ebb94
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11736
tmf: Register statistics state systems into the trace

This way they will show up in the State System Explorer, among
other things.

Change-Id: I40c49600b8bac40e5c49f2877cd42d578c1229ea
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11660
systemtap: Dashboard simplifications.

* remove unused methods
* member to variable
* remove unneeded formal parameters
* formatting
* foreach

Change-Id: I0013980658a89c1b1272733f628c555a0df821a4
Reviewed-on: https://git.eclipse.org/r/11813
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Rename systemtap error log to not have same name as platform one.

Change-Id: Ibb34abae7f8a9dacf4fe92e266e5a9d2e134555f
Reviewed-on: https://git.eclipse.org/r/11814
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Add license header to SystemtapTest.

Change-Id: I92b271b1def61f0deb6265fdb445b0e295b4a196
Reviewed-on: https://git.eclipse.org/r/11817
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>
Fix Messages class in o.e.linuxtools.internal.perf.launch.

Change-Id: I427258ee2109bdb369f0caf0a17693be46ea3598
Reviewed-on: https://git.eclipse.org/r/11820
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Handle Systemtap Not installed in SWTBot test

Change-Id: I5239c4d8e721d563d01a1817a783fe724260379a
Reviewed-on: https://git.eclipse.org/r/11821
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Fix Systemtap API errors

- Move files to internal bundles.
- Delete unused methods and classes.
- Add missing @since tags.

Some automatic save actions:

- Organize imports.
- Add braces to single-line if statements.
- remove trailing white space.

Change-Id: Id00bf1b9538638f67fafd1cd14982bc7e3cd651f
Reviewed-on: https://git.eclipse.org/r/11776
Tested-by: Hudson CI
Reviewed-by: Camilo Bernal <cabernal@redhat.com>
IP-Clean: Camilo Bernal <cabernal@redhat.com>
Tested-by: Camilo Bernal <cabernal@redhat.com>
Add support for comparing perf stat sessions

* Abstract class containing common comparison functionality.
* Perf stat diff handler.
* Perf stat diff view.
* Comparison data class to handle stat data comparison.
* Stat entry class to represent an entry in a perf stat report.
* Add tests for PMStatEntry.
* Remove secondary id from stat view.

Change-Id: I0cb8c9015051c975b10821bd772651a2e45b67f7
Reviewed-on: https://git.eclipse.org/r/11122
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
IP-Clean: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>