Upgrade to Tycho 0.21.0

Change-Id: I14e50608117110d86d0f8c728316550fcebce728
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29953
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
pcap: Add unit tests to pcap.core

Change-Id: I6cb472acb44a6108242188dd24ae5b3386388c62
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29146
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: update calculation of confidence level of text trace validation

With this patch text traces with patterns that have higher number
of groups to match have higher confidence level.

Change-Id: I631c2ad15630a79e989c95ced93e9ff0c8cc3ed0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30281
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
tmf: Add clear command on the Traces folder

This will delete all the trace folders and traces under
the Traces folder but not the folder itself.

Change-Id: I82aaa5fd8f5d1ecca7c4da212abd0fecd8e113d6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30290
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf: Callstack: Import name mapping from a binary with debug symbols

Using CDT's core binary parsers, we can read the binaries and
extract function name mapping without the need of an external
command-line program. This patch adds an action to the callstack
view so that the user can browse for a binary file and import the mapping.

Change-Id: I000b48a5057d9137f57f43cb8f0372c9e2af58fb
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/20005
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
lttng: Add support for creating a live session in Control view

Change-Id: Ifb31933f8a93437cf976cef71b53cfa5d1f4ec8f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23593
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: add subfield filtering

Change-Id: I4e7b8ba2ffaf99d95639129ac8b33f673d0673e9
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30152
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
pcap: update pcap.core preferences

Change-Id: I58d8b0df23ec8d767086788974307e2ab63bcf14
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30432
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Fix PieChart to handle different swtchart versions

- swtchart 0.9 changes the title from being a Control to
  just being a PaintListener that is positioned in the Chart
  layout
- when title is a Control, we position it using its setLocation
  method
- when title is a PaintListener, we alter the title to add
  trailing spaces and we force the listener to follow the
  PieChartPaintListener

Change-Id: I9cc09dcefdf6d8356cd9901b45aa3926e65054e9
Reviewed-on: https://git.eclipse.org/r/30387
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
TMF: Support for drag selection listeners in TimeGraphControl

The TimeGraphControl can send a TimeGraphTimeEvent to the attached
ITimeGraphTimeListener(s) to notify the time interval currently
being selected while the user is moving the mouse (drag selection).

Change-Id: I340e4749861123febd268fb3e1969bcf809470b4
Signed-off-by: Generoso Pagano <generoso.pagano@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30124
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
lttng: Open a live trace and update the events table

With this patch, it becomes possible to import a live
trace session in progress from the Control view. Once it's opened,
the events table updates as more data is available when indicated
by Relayd.

Change-Id: I2470f4c3d4dd2570f4595455d2824806f0dacf09
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29646
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
ctf: fix ctf.core gitignore

Change-Id: I9b6725840af6386f9f48736b37bd7e8ff35c77ea
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30448
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
pcap: fix blockers for sonar

Change-Id: I793c038b7bfcb7c002233132115d3a9b01a6fef9
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30453
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
tmf: Support for selecting both traces and folders when deleting

Change-Id: Iace8f35b4e85749244291a575040fc82a901ff23
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30392
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
ctf: Increase the timeout for download test traces

Change-Id: I01ca111adcd02c81bb1dcf6122ff8d5665e47e87
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30535
Reviewed-by: Vincent Perot <vincent.perot@ericsson.com>
lttng: Step version of UST call stack state system provider

Incremented due to changes for thread id.

Change-Id: I45cb63a2bc84f5ffd49495464697babac76b66bf
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30126
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
pcap: use a larger trace for parser benchmarking

The previous trace contained only 640 events, so the parser finished parsing the whole file in a couple of microseconds. Thus, the variation of the results was a large percentage of the total CPU time, which is bad.

This new trace contains 100k events (and is totally anonymized), so the benchmark gives more precise results. This allows to really see the influence of future commits on the parsing speed.

Change-Id: I45900d5a25160d37ceb4dc6a06175d6a6b74f475
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30472
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
ctf: remove redundant null check in lexical scope

Change-Id: Id00df1f7a43e69d770790c63e7d91fdb871129e3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30149
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
ctf: add hashcode and equals to CTFCallsite

Change-Id: Ia63701468c591a78a37ae245964d80993e39fb5b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30150
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
ctf: fix call to equals of two different types (CTFStreamIn...)

CTFStreamInputPacketReader's lookup definition compares the lookup path
to lexical scopes, and not their strings. It should be comparing the
strings.

Change-Id: I35aafb3462ca4e03906d3d8d7636bf49581f459a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30151
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>