tmf: add constant offset synchronization algorithm and algorithm factory

Change-Id: Ia5b2b49c0e49275b6fa78a16655325a57ab04725
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30687
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
tmf: Import from archive in the standard import wizard

Change-Id: I80caf396b8bf8cff2a7bc3824da83800097e1130
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30556
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
btf: throw an exception when the trace is deleted.

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

- stop parsing file when we know we have our function info
  by throwing an exception
- close the InputStream each time after parsing

Change-Id: I1c41b7695b35561eeec687cd9e480d5bc53c597d
Reviewed-on: https://git.eclipse.org/r/30832
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
tmf: implement hashcode and equals on filter classes

Change-Id: Ic72c475995aaf63f3cb2cff83c4a7de395543f30
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31062
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
tmf: extract common elements in custom txt/xml trace definitions

Change-Id: Ia381638636ea27f4b295537044f933ce2dcc8068
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31055
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Bug 439260: GCov plugin must depend on Binutils plugin 5.0.0.

Change-Id: Id59b5e35eb702bbe51771e2fc90073490c8a85fd
Reviewed-on: https://git.eclipse.org/r/30450
Tested-by: Hudson CI
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
tmf: add addFilter method to FilterView

This is used by tmf.pcap when extracting a filter from a stream.

Change-Id: I4f44924a769b79cef8bf68b80a11cde407628b50
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31063
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Fix PieChartPaintListener to properly save and restore Fonts

- when Title is added as PaintListener after PieChartPaintListener
  it will try and save and restore Font and this must not already
  be disposed of in PieChartPaintListener

Change-Id: I8d9ead6a530789fc5aa76feaaa2e942e367b8343
Reviewed-on: https://git.eclipse.org/r/31143
Tested-by: Hudson CI
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
pcap: make PacketStream compute useful information

The PacketStream now computes Nb of packets/bytes, duration of
the conversation, Bytes per seconds, etc. Also, it now does not
store indexes to packet, since it makes the size of PacketStream
proportional to the size of the trace. This is unwanted since we
have to be able to open traces that are bigger than memory.

Change-Id: I8f6bde99ceabc20c4a66786a2dbd25d49251cc9e
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30998
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Add better serialization of sync algorithm, also fix the isTraceSynced for multi-traces

Change-Id: I1522af7e6201384c8d73c8e706e491b8d899a1cd
tmf: Add SWTBot test for import from archive

Also delete projects at the end of tests to stabilize
a bit more the tests.

Change-Id: I151a7b78d75306ee71e74ae70e161e3af6ef78b8
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30626
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
pcap: remove some sonar critical issues for pcap.core

Change-Id: Ifd96292525f9707a47fd4dd795880460a49ab67a
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30756
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
HACK: TMF: Add a view listener helper with utility methods to add listeners to views

This will allow for instance to add a selection listener to the control flow
view to be warned when the user selects a new thread.

Change-Id: I401259b433c0e59861fa0eb9aa65976488968f75
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Merge branch 'master' into tmf_modifs
Merge branch 'tmf_modifs' into graph
API fixes

Change-Id: Iefdb5cdfc9a722fe4ec689cea3f7fcd31ae3dc51
Temp fix: copy classes to avoid circular dependency

Copy required classes for trace synchronization.

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>

Fix sync

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Merge branch 'graph' of git://git.dorsal.polymtl.ca/~gbastien/linuxtools-tmf into graph

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>

Conflicts:
	lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/synchronization/SyncAlgorithmFullyIncremental.java