Systemtap: Remove reliance on stap from UI tests.

Also make changes where appropriate to allow dummy data to be
to be read into the Function & Probe views, so that testing of
their contents is possible without needing stap to populate them.

Change-Id: I054227235e44c8584c79951d44148edb8a615373
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/27312
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
tmf: Make TimeGraphEntry implementation less restrictive

A TimeGraphEntry's parent and children no longer have to be instances
of TimeGraphEntry. They can now be any type of ITimeGraphEntry.

The method addChild(int, ITimeGraphEntry) is added to insert a child at
any position.

Change-Id: I8144c7f06505c3a2a4c56264e1543fab84a77be5
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29829
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: Add trace entry parent in Call Stack view

The root entries in the Call Stack view tree are now trace entries and
the thread entries are child of their corresponding trace.

The CallStackEntry and ThreadEntry classes now extend TimeGraphEntry.

The thread name is now displayed in the tool tip.

Change-Id: I91091d492d3304ad1cd5588af807e18c65093e8f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29835
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: Add thread id to call stack state system

This will optionally be used for sorting threads

Change-Id: Ie38aba65745f123a5195ac1621a749d24fbffa93
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29836
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
tmf: Add sorting capability to TimeGraphEntry

Also update Resource view to use the new interface.

Change-Id: I492145df6c4f787015c68eb33f6d86c68013c8ff
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30053
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: Add sort options to Call Stack view

Change-Id: Idcfe2b9562c6701d337d5fee1e49d5c8fa6c8de4
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30054
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
TMF: Update guava version to 15.0.0 to match that of wikitext

Change-Id: Id0600fcaee2b395ebae6a393c0a66cd0ec77f7b5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/30080
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
perf: fix double click to source code in synchronized projects

Change-Id: I133ccde4b9d17cf0fac6754d733841e964bf0067
Reviewed-on: https://git.eclipse.org/r/28713
Tested-by: Hudson CI
Reviewed-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
tmf: fix the ctf parser benchmark

Change-Id: Ieabefd01a81608ffee475bd114160b1e50df34ed
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30085
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
TMF: Add host ID to CTF traces' properties

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

Change-Id: I08bd4620ed74cbd1d603efa3f30cd25ff24ce565
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30133
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Add app data files for ChangeLog and gcov plug-ins

- Bug 437343 - Add app data for ChangeLog
- Bug 437337 - Add app data for gcov

Change-Id: Ie46620cf6fde8f02d432e32468a29aeec9e84d18
Reviewed-on: https://git.eclipse.org/r/28836
Tested-by: Hudson CI
Reviewed-by: Mat Booth <mat.booth@redhat.com>
tmf: clean up pcap.core

Change-Id: I5167232dc80effbe762825daa5fac28a27c3549d
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30084
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
lttng: Add Eclipse 4.4 target

Also, don't reference simrel update site because it's big.
This should make the targets a bit faster.

Change-Id: I42c52db65a1b852c3e5b3e307a29ceb3e90c2ec9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30139
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
tmf: Fix Call Stack sort icons not set when dialog setting doesn't exist

Change-Id: I45c87a45e7572005010a10116ea0973e3aee7017
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30138
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf: add way to not refresh project when adding a trace to experiment

Change-Id: I9b9a049bb196efe073d41986da0ee5211fc371d4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30135
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>
tmf: add progress feedback to select traces operation

Change-Id: I404ee0d6af2912494e5421be092bb7ff868f5607
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30121
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: add progress feedback to delete traces execution

Change-Id: Ifcd73c85192c3aef9c94decc541d35ff561e3280
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30122
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf: Add support of XML XY-charts

Change-Id: Ib4f2715d621aa51d1935d1a3486a2a33a9b575bd
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29351
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Do not short-circuit timer mode check if 'operf' is enabled.

If timer mode is enabled, we cannot support any events.

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