ctf: Remove deprecated datatypes

Change-Id: I65f2e72c21ecd44993f969b1192e9f5e973be89f
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36092
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
TMF: Add possibility to set autoExpand level in time graph views

Change-Id: Idfeea90916fe1ebb7f60bb8a4893e730ef4a9544
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/36066
Tested-by: Hudson CI
lttng.kernel: Rename analysis packages and classes

There are two analyses in the kernel plugin right now, "kernel" and
"cpu usage". Simply rename the packages and classes to align them
better.

Change-Id: I9b7f86d2b9bad2d3d286d234eacea4ad51143bd4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36290
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
lttng: Add interface to abstract the event layout away

It would be possible to run the kernel analyses using events coming
from different tracers (or different versions of the same tracer).
This adds a IKernelAnalysisEventLayout, which specifies know concepts
in the Linux kernel, and the "support implementation" of each tracer
(or version) can extend it.

This will allow re-using the same modules and state providers, no matter
which actual tracer took the kernel trace. Also avoids having to define
separate trace types.

Also took the chance to rename some classes and packages to align them
better (i.e., the "CPU usage" and "kernel" analyses now use the same
naming scheme).

Change-Id: I0f073060071991e206011810bbb50dd826c688a8
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36185
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
lttng: Fix system calls for LTTng 2.6 kernel traces

The "syscall entry" and "syscall exit" events were renamed in LTTng 2.6.
This patch adds a new trace layout, which extends the base LTTng definitions,
but updates the system call event names.

"syscall exit" also had to be changed to a prefix, because LTTng 2.6 now lists
the syscall name in exits too. We don't make use of it though, so it shouldn't
affect other tracers who don't.

Also required updating the CFV/RV to only display the non-prefix part of the
syscall name, no matter what layout is used underneat.

Change-Id: I9061b0dff92daa11894d951c09ed3dffe80e4d1b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36199
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
lttng: Experimental support for perf-CTF traces

Implement initial support for perf kernel traces in CTF format.
They can re-use the event layout capabilities introduced previously,
so that we can add this support without implementing a completely new
trace type and accompanying analyses.

Also rename the "LTTng Kernel" trace type and analysis to "Linux Kernel",
as they are now tracer-agnostic.

The perf-in-CTF format is not set in stone yet, so the settings used
here will most probably have to be updated in the future.

Change-Id: I099f6e21caf40b9bfbe1a305c51947f1a264124b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36200
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Disable "warn for deprecated in deprecated code" warnings in test plugins

Change-Id: Ie22c99b600e0c6c162e94cd6f7d62cc311bffb3c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36248
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: Consolidate constructors in TmfExperiment

Change-Id: I3844cde0e651052b626eeeb90e367a03b1743a4d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36207
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: Move TmfExperiment to its own package

With many experiment-specific concepts, and more on the way, it's
making more sense to put TmfExperiment in its own package.

Change-Id: I1ae03f693b075dd6e521fc20fb22d70b0c619551
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36208
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
ctf: Use new location for the test traces

Simply change them from .../test-traces/ to .../test-traces/ctf/
We will eventually put other trace types there (pcap for instance),
so it would make it a bit cleaner to have each in their own directory.

Change-Id: Ie5ce2098e47a65872759d99a359c20219e6710b5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36249
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf: Add some nonNull annotation to the tmf.core.analysis package

And some more of those where required.

Change-Id: I369b0c5a0a2db8b3fccc6f6b97a2ba272b14fb28
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35752
Tested-by: Hudson CI