lttng-rcp: fix parent version pom.xml files

Change-Id: I4ba418ed0b9c2d06040ff7d9f6e4f0c51523895b
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16082
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>
Merge branch 'master' into lttng-luna

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>

Conflicts:
	lttng/org.eclipse.linuxtools.ctf.core.tests/shared/org/eclipse/linuxtools/ctf/core/tests/shared/CtfTestTrace.java
	lttng/org.eclipse.linuxtools.ctf.core.tests/traces/get-traces.xml
	lttng/org.eclipse.linuxtools.tmf.core.tests/shared/org/eclipse/linuxtools/tmf/core/tests/shared/CtfTmfTestTrace.java

Change-Id: I4fa50b717809ea2cf7cc92e2a0addb159f6b9cc2
tmf: Update TmfSchedulerBenchmark requests

With ff830df currently sitting in the luna branch, the constructor
that was called by the inner request classes for the benchmark
does not exist anymore. However, turns out that its signature
matches the one of the new unique constructor. This had the nasty
effect of compiling fine, but giving completely meaningless results.

Update the constructor calls so that they use the new, relevant
parameters.

Change-Id: I5e86b40d735185fddb633cfedb754080fae09986
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16145
Fix left-over merge conflicts

No matter how many F5's, Eclipse won't report any error until AFTER
you pushed it to the repo. Of course.

Change-Id: I67e1c090c74f323c275b3f1226ecf4777b23a0c2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
tmf: Tweaks to CallStackStateProvider

- Add a considerEvent() method to put all checks in. This avoids
  running checks more than once per event.
- Make the abstract methods protected instead, they should not be called
  by external components.
- Add a check when popping state values if func_exit names are available.
  This makes sure the value matches the current function we are in. If it
  doesn't, log a warning in the error log. This will most definitely happen
  if there are lost events in the trace.

Change-Id: I1f2014486768c9317cbddb9556faf3e061f130b0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16393
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
lttng: Add Callstack View support for UST traces

UST traces using the lttng-ust-cyg-profile library will contain events
about function entries and exists. We can leverage(!) this information
to populate the generic TMF Callstack view.

For now it will only print the function addresses. Until the whole
function-names-in-the-trace debate is resolved upstream, we will provide
a mechanism to import a mapping file manually. This will come in a
separate commit.

Change-Id: I03b461ef9e863ddb6988907514e96bb3db3eaef9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16394
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
lttng: Unit tests for the UST callstack provider

Also contains a small fix to actually create the temporary folder
returned by TmfTraceManager.getSupplementaryFileDir() when it's
used in unit tests.

Change-Id: Iafed5c7099f15d36badd6d486cc0cf632df38c53
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16399
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
IP-Clean: Genevieve Bastien <gbastien+lttng@versatic.net>
Add .DS_Store to gitignore

This file is a hidden file created on Mac that contains extra folder information and should be ignored.

Change-Id: I4cb5cc410ada33fb6d6090a8ab0ff842ca4b3844
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/16573
Tested-by: Hudson CI
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Fix bug occuring when ophelp is not on the path.

Change-Id: Icbbe59ac8de1613281b28a957c7312478328f81a
Reviewed-on: https://git.eclipse.org/r/16654
Tested-by: Hudson CI
Reviewed-by: Rodrigo Fraxino Araujo <rfaraujo@linux.vnet.ibm.com>
IP-Clean: Rodrigo Fraxino Araujo <rfaraujo@linux.vnet.ibm.com>
Tested-by: Rodrigo Fraxino Araujo <rfaraujo@linux.vnet.ibm.com>
Use consistent ID for gprof/gcov Profiling category.

Change-Id: Iedb4c96033d9302197c6b6c2c5ff2614ed1d2100
Reviewed-on: https://git.eclipse.org/r/16723
Tested-by: Hudson CI
Reviewed-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
IP-Clean: Xavier Raynaud <xavier.raynaud@kalray.eu>
TMF: Change abstract class TmfNetworkMatchDefinition to interface

Change-Id: I72d8da6167491ea80ad67f9ff00c324f05e4b27d
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/15907
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tmf: Rework test trace stub for non-ctf traces

Change-Id: Ica47ed67824ea77d975c683fd0794ef6e6840d35
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/16423
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>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
valgrind: Fix project dir when verifying bin for sync projects

Change-Id: Ic7dbfeb26d1b2fdcfddae52b4b93e50289d869b2
Reviewed-on: https://git.eclipse.org/r/16739
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>
Perf sessions should be read-only at creation.

Change-Id: Ib72213ec126607b2fbd87c1166d68671fc2fb600
Reviewed-on: https://git.eclipse.org/r/16802
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>
Merge branch 'master' into lttng-luna

Conflicts:
	lttng/org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/trace/TmfTraceTest.java

Change-Id: I05d77b219631978aa83b787b091337eb6e01c129
tmf: Fix in-memory backend to use a TreeSet insead of a list

The query performance is superior and it handles receiving different
attributes with different end times out of order. (within the spec)

Change-Id: Iba72f479455facedecacaadf695f943a6572f3d2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/16816
Tested-by: Hudson CI
Systemtap: perform line-by-line graph parsing.

Modify parsers so that the regex input in the Run Configurations->
Graphing menu must match an entire line of output (rather than a
portion of it) for it to capture data to graph.

Change-Id: I0faba1a31abdb47bedc377f9968e6a9759703d3e
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/16655
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
IP-Clean: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
Merge branch 'master' into lttng-luna
tmf : introducing the mipmap

Introduce the AbstractTmfMipmapStateProvider class which can be used to
modify state system attributes while creating a mipmap of the attribute
for one or more of the supported features (max, min, average).

Add queries for max, min and average of an attribute over a range to the
state system operation. If the attribute was not built using the mipmap
state provider, the queries still work but query the base attribute
intervals over the full range.

Change-Id: Idfde25a4cc622db35c5e9bb8a3f88bc89285a6b4
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14143
Tested-by: Hudson CI
TMF: User and developer documentation for trace synchronization

Change-Id: Ibbd6c16e08a12ccf065a9b57c4db99eef354f787
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/15908
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>