deliverable/tracecompass.git
9 years agotmf.ctf: Split the classes into proper packages
Alexandre Montplaisir [Tue, 28 Oct 2014 21:12:42 +0000 (17:12 -0400)] 
tmf.ctf: Split the classes into proper packages

Change-Id: Ice64f1c902bc75715f02516ee7dd82b1175c8a05
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35616
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf.ctf: Move each CtfIteratorManager into its own trace object
Alexandre Montplaisir [Tue, 28 Oct 2014 20:15:56 +0000 (16:15 -0400)] 
tmf.ctf: Move each CtfIteratorManager into its own trace object

Which allows removing the "iterator manager manager" completely.

Some extra synchronization had to be added to CTFTraceReader and
CtfIteratorManager, because we've now lost the all-synchronized
manager-manager.

Change-Id: I0e11afa5865f52f6c2eba0ceb1773f23b7a9ac1d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35615
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf.ctf: Rename CtfIteratorManager classes
Alexandre Montplaisir [Tue, 28 Oct 2014 19:36:14 +0000 (15:36 -0400)] 
tmf.ctf: Rename CtfIteratorManager classes

This patch simply renames existing constructs related to TMF-CTF iterators
to better represent what they do, to help future refactoring:

CtfIteratorManager -> CtfIteratorCEO .It is a "meta-manager" that manages
all the existing, now-called CtfIteratorManager's. Silly name, but don't
worry it's temporary ;)

CtfTraceManager -> CtfIteratorManager. This is the object that manages all
the iterators of one trace. It should eventually be moved to inside the trace.

Change-Id: Ie5483844856610907d3e332307eb0844209a93ef
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35614
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoUpdate some feature names to include 'Trace Compass'
Marc-Andre Laperle [Fri, 7 Nov 2014 18:20:43 +0000 (13:20 -0500)] 
Update some feature names to include 'Trace Compass'

Change-Id: I218c81b37a03f2e2da7e3977eaf24601133db10f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36157
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoAdd support for signing the jars when building the repo
Marc-Andre Laperle [Thu, 6 Nov 2014 21:53:54 +0000 (16:53 -0500)] 
Add support for signing the jars when building the repo

Also update siteDestination to actual real path on the server.

Change-Id: Ib74f39ff0a7a48a75326396fc69fc3b960556a1d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36080
Tested-by: Hudson CI
9 years agoXML state system: Add support of different comparison operators to the XML.
Naser Ezzati [Sat, 25 Oct 2014 00:41:32 +0000 (20:41 -0400)] 
XML state system: Add support of different comparison operators to the XML.

This will add 6 new comparison operators to the xml conditional statements.
These operators are: eq, ne, ge, gt, le, lt.

Change-Id: Ice9e87503eec6fea5a5d2281ffd8e42e59c8224a
Signed-off-by: Naser Ezzati <n.ezzati@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/35681
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Extract a method so that the manifest can be embedded in other xml files
Marc-Andre Laperle [Mon, 3 Nov 2014 16:38:36 +0000 (11:38 -0500)] 
tmf: Extract a method so that the manifest can be embedded in other xml files

Change-Id: Id8537482e006b9471f7b676989c91f08144f1aae
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35819
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35920

9 years agotmf: Add package-info to internal.tmf.core.analysis package
Geneviève Bastien [Fri, 31 Oct 2014 15:06:59 +0000 (11:06 -0400)] 
tmf: Add package-info to internal.tmf.core.analysis package

Change-Id: Iac1fdff332e4fc4bdcc9889ec4790a44adbcba61
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35745
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Have ITmfTrace#getHostId return type be NonNull
Geneviève Bastien [Tue, 28 Oct 2014 20:45:30 +0000 (16:45 -0400)] 
tmf: Have ITmfTrace#getHostId return type be NonNull

This will avoid a lot of null checks in analysis

Change-Id: Ic5730cab105ac9652dde4dc71a4524d946cbaf59
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35611
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoTMF: Set the name field of TmfComponent @NonNull
Geneviève Bastien [Tue, 4 Nov 2014 17:03:51 +0000 (12:03 -0500)] 
TMF: Set the name field of TmfComponent @NonNull

Change-Id: Id043e1efc4d070e043ec92d967fdb262271f59dc
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35904
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoTMF: Do not send objects in TmfCoreTracer#traceComponent and #traceRequest
Geneviève Bastien [Tue, 4 Nov 2014 16:37:58 +0000 (11:37 -0500)] 
TMF: Do not send objects in TmfCoreTracer#traceComponent and #traceRequest

These tracing methods were sometimes called in constructors and called methods
from the object that it is not necessarily safe to use when the object is not
finished building. This patch fixes this.

Change-Id: I64acee3adb850b8e17f0be3c8a0bbe5d54e97bf8
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35902
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoTMF: Add support to more than one match event definition per trace
Geneviève Bastien [Wed, 3 Sep 2014 16:32:51 +0000 (12:32 -0400)] 
TMF: Add support to more than one match event definition per trace

Change-Id: I1da9129e616a5c831e19d9592c09b60396fb1ebf
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35491
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
9 years agoTMF: Remove some deprecated class from synchronization package
Geneviève Bastien [Fri, 24 Oct 2014 16:25:01 +0000 (12:25 -0400)] 
TMF: Remove some deprecated class from synchronization package

Change-Id: I117758ebca01e5066e4e2fb4410301c8be40e78d
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35484
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoTMF: Improve the serialization of trace synchronization
Geneviève Bastien [Tue, 2 Sep 2014 19:11:23 +0000 (15:11 -0400)] 
TMF: Improve the serialization of trace synchronization

Made some fields transient, so they are not serialized and initialize the
transient fields in the readObject method. Also added serialization unit tests.

Change-Id: I103b01b36efa66d27c37afba35935e415f4f0cc4
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35345
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoTMF: Have ITmfEvent#getTrace() return NonNull
Geneviève Bastien [Tue, 28 Oct 2014 21:40:16 +0000 (17:40 -0400)] 
TMF: Have ITmfEvent#getTrace() return NonNull

Change-Id: If3eef82eeb4c79d6d9d8e09393fc6276f485b885
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35612
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoTMF: Update .options files to the tracecompass name
Geneviève Bastien [Fri, 31 Oct 2014 18:44:02 +0000 (14:44 -0400)] 
TMF: Update .options files to the tracecompass name

Change-Id: I744bd1bfbd73d7e6ccd715e6c9e3448231c15760
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35757
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agolttng: Fix a bug with lttng version when compiled from source
Geneviève Bastien [Fri, 24 Oct 2014 19:58:34 +0000 (15:58 -0400)] 
lttng: Fix a bug with lttng version when compiled from source

The output of the lttng version command is something like this:

lttng version heads/stable-2.5-0-g3910e60 - Fumisterie

The current code didn't recognize this as version.

Change-Id: Id480402ba6de0803e88d4561d1604ad464f80926
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35495
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoTmf: Fix a bug in CFV and Xml time graph views where entries have no parent
Geneviève Bastien [Tue, 30 Sep 2014 19:59:38 +0000 (15:59 -0400)] 
Tmf: Fix a bug in CFV and Xml time graph views where entries have no parent

If a child entry starts before the parent entry, like it happens at the
beginning of a trace, then in time graph views, they are not associated with
the parent.

Change-Id: I3fb72049248c13aecdc41e88420eaf4dfae24911
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/35342
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Fix legend image leak in Histogram view
Marc-Andre Laperle [Tue, 28 Oct 2014 19:46:01 +0000 (15:46 -0400)] 
tmf: Fix legend image leak in Histogram view

Change-Id: Ic1262f2c191bec7c2e69a0b30c12d3b114f60d25
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35607
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agolttng: add some stress test for opening and closing of traces
Bernd Hufmann [Sat, 25 Oct 2014 00:41:32 +0000 (20:41 -0400)] 
lttng: add some stress test for opening and closing of traces

This will trigger concurrent starting and cancelling of analyses.
After fixing bug 447434 (commit e1c415) this test should run without
exceptions.

Change-Id: I9c7a35d29e0c4a406511ec1e8032b3d818498b94
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35508
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoState system: Make ITmfStateValue Comparable
Naser Ezzati [Mon, 22 Sep 2014 19:23:08 +0000 (15:23 -0400)] 
State system: Make ITmfStateValue Comparable

It is required to compare two state values based on different comparison
operators. It will be useful for the XML analysis.

Change-Id: I1fcb9525a41b11a648922271b5c2e06d6bd309ac
Signed-off-by: Naser Ezzati <n.ezzati@polymtl.ca>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35414
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agoUpdate top-level README file
Alexandre Montplaisir [Tue, 28 Oct 2014 13:05:56 +0000 (09:05 -0400)] 
Update top-level README file

The readme still had some references to linuxtools.

Change-Id: Ibf8371f6474f8c14d33b708a310fc98fa21be4bf
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35586
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agoUpdate maven profile names
Alexandre Montplaisir [Tue, 28 Oct 2014 12:49:51 +0000 (08:49 -0400)] 
Update maven profile names

"tracingRcp" was used back in Linux Tools to differentiate between
the different RCPs in the tree. Now we can simply call the profile
"build rcp".

There doesn't seem to be any guidelines for profile names... but I
find names-with-dashes more readable than camelCaseNames.

Change-Id: Ie18af97adf162d1f2dd6af1845ba9f5869afbbea
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35585
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Bump checkpoint index version due to incompatible timestamps
Patrick Tasse [Tue, 28 Oct 2014 17:36:22 +0000 (13:36 -0400)] 
tmf: Bump checkpoint index version due to incompatible timestamps

TmfTimestamp serialization was incompatible due to removal of precision.

Change-Id: Iace77186f730971e0296c582097fc179f332d985
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35603
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agoss: Cleanup TransientState a bit
Alexandre Montplaisir [Tue, 28 Oct 2014 02:45:10 +0000 (22:45 -0400)] 
ss: Cleanup TransientState a bit

- Remove assertions (see bug 409346)
- Add more null annotations
- Update comments

Change-Id: I1d2edb3524cefa720365926b6d589141872779b2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35566
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agoss: Also search in the ThreadedHistoryBackend's interval queue
Alexandre Montplaisir [Wed, 22 Oct 2014 18:13:02 +0000 (14:13 -0400)] 
ss: Also search in the ThreadedHistoryBackend's interval queue

If a view, like a live-enabled time graph view, makes a lot of queries
close to the "current end time" while the history is being built, it
is very possible to miss some intervals due to them being in the
ThreadedHistoryBackend's interval queue. We should also search in that
queue for possible intervals.

Since this case is still relatively rare, it's usually faster to query
the history tree first, then go look through the queue, rather than
checking in the queue first every time (which can only be explored
in O(n)).

Fixes bug #443127.

Change-Id: I82e389cf95ce04002f61629d5a0d317a35a931ff
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35504
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Allow reordering columns in event table
Patrick Tasse [Wed, 22 Oct 2014 17:26:54 +0000 (13:26 -0400)] 
tmf: Allow reordering columns in event table

Change-Id: I7885463d90bcd223abe0ac915721490038c22923
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35357
Tested-by: Hudson CI
9 years agotmf: Add unit tests for time offset
Patrick Tasse [Tue, 21 Oct 2014 18:17:24 +0000 (14:17 -0400)] 
tmf: Add unit tests for time offset

Change-Id: Ib44c6acb6f8bb0e3d23a583e30e6fec7071686b3
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35558
Tested-by: Hudson CI
9 years agotmf: Update user guide for time offsetting
Patrick Tasse [Mon, 20 Oct 2014 20:39:23 +0000 (16:39 -0400)] 
tmf: Update user guide for time offsetting

Change-Id: I4cd45175c8030bf18dd3013bf5fc91b21676e09c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35557
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Change Offset Dialog advanced mode layout
Patrick Tasse [Tue, 21 Oct 2014 19:10:39 +0000 (15:10 -0400)] 
tmf: Change Offset Dialog advanced mode layout

Change-Id: I06d67eed0b6a8c8cc341a36079baa069507eb065
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35556
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Remove the precision concept from ITmfTimestamp
Alexandre Montplaisir [Wed, 22 Oct 2014 22:41:04 +0000 (18:41 -0400)] 
tmf: Remove the precision concept from ITmfTimestamp

Timestamp precision is a problem in tracers, not in a viewer.
We already have the notion of scale which kind-of does the same
thing (if a timestamp is specified up to milliseconds, we can
consider it precise up to milliseconds).

Not only this removes big chunks of unused code, it should speed
up timestamp comparisons a little bit.

Change-Id: I55253721396cb05610503abd81861f522d3ee223
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35426
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agoss: Remove checkValidTime from the backend interface
Alexandre Montplaisir [Wed, 22 Oct 2014 17:57:46 +0000 (13:57 -0400)] 
ss: Remove checkValidTime from the backend interface

This is merely an internal method that implementations *should*
normally have, but it is not meant to be used externally.

Change-Id: Iaf03df0ec515ba4ae42896042d2fc7840ee12661
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35503
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Support for state-system based views in live mode
Marc-Andre Laperle [Tue, 1 Apr 2014 22:38:05 +0000 (18:38 -0400)] 
tmf: Support for state-system based views in live mode

Change-Id: Ida82de56a3bb214e69f68c4c75b5404c925ad76a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35286
Tested-by: Hudson CI
9 years agolttng: Support for existing live sessions
Marc-Andre Laperle [Fri, 17 Oct 2014 16:59:00 +0000 (12:59 -0400)] 
lttng: Support for existing live sessions

With this change, it is now possible to create a live session from the
command line and connect to it using the Control view as a live session.
We use the live timer interval as an indicator of whether or not a
session is live. The information about the host and the port is not
available with 'lttng list' but only local host is supported for now
anyway (127.0.0.1). For the port, we try use the default (5344). For
now, if the default port is incorrect, an error message "The connection
could not be established" is shown. As a future enhancement, there
should be a dialog to configure the relayd connection independently from
the session.

Change-Id: I9a56426ca011441ed5ebb3d8f936ababf6cdbce1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35287
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Remove AutoCloseable from IAnalysisModule
Alexandre Montplaisir [Thu, 23 Oct 2014 21:33:19 +0000 (17:33 -0400)] 
tmf: Remove AutoCloseable from IAnalysisModule

While it was very useful for tests (every test manages its own module with
try-with-resources), in reality analysis modules are stored in the trace
but need to be exposed to external components. And the trace has no knowledge
of which types of modules it contains, so it cannot provide access methods. For
this reason it was more annoying than useful to have them AutoCloseable.

Change-Id: I62a1c588155c59a6a0047a52e2965e1f3acd5744
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35425
Tested-by: Hudson CI
9 years agotmf: Use the DebugSuite test runner for some tests
Alexandre Montplaisir [Fri, 24 Oct 2014 21:20:56 +0000 (17:20 -0400)] 
tmf: Use the DebugSuite test runner for some tests

We've had the DebugSuite for a while, which allows printing the name
of every test class being started. This is extremely useful for
debugging hanging tests when run with Maven.

We could now use this by default, so that the Hudson builds also print
that output. It will help pinpointing hanging tests there too.

The class is in tmf.core.tests, so for now only enable it for plugins
that depend on tmf.core.tests already. This is a good start, since so far
most hanging tests were in tmf.core.tests. We should move the suite to
the "common" package once we get around to creating that...

Change-Id: I775b8ed9b4b20962b0df9d1b4f84dd07556890d4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35498
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: enable SWTbot test for collapsing of repetitive events
Bernd Hufmann [Sat, 25 Oct 2014 00:53:43 +0000 (20:53 -0400)] 
tmf: enable SWTbot test for collapsing of repetitive events

Change-Id: I4bb26c59641964581ba6f4b3a2f7ac42a5d23826
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35509
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoss: Add a StateSystemUtils for advanced queries
Alexandre Montplaisir [Thu, 2 Oct 2014 21:59:10 +0000 (17:59 -0400)] 
ss: Add a StateSystemUtils for advanced queries

We want to offer convenience and advance query methods for the
state system, but these should not be part of the ITmfStateSystem
interface. That one should only be for the "basic" types. Everything
else should go in a separate utility class.

Change-Id: I62936e77454112c67f6861a1f0ca7a60c9aef2d1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35341

9 years agotmf: Fix NLS bundle for the time offset dialog
Patrick Tasse [Fri, 24 Oct 2014 20:27:26 +0000 (16:27 -0400)] 
tmf: Fix NLS bundle for the time offset dialog

Change-Id: I9e170fb689042f889db4d766bd52196027292728
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35496
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Axe the TmfEventTypeManager
Alexandre Montplaisir [Wed, 22 Oct 2014 17:14:03 +0000 (13:14 -0400)] 
tmf: Axe the TmfEventTypeManager

Track the available event types in each trace object instead. K.I.S.S.

Also removed the notion of "context" from TmfEventType, which is not
needed anymore.

Change-Id: I8dc1409abb08fd930dd1f8b01027ece488551ec1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35354
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agopcap: Fix a test so that it works in any time zone
Marc-Andre Laperle [Sat, 18 Oct 2014 03:07:23 +0000 (21:07 -0600)] 
pcap: Fix a test so that it works in any time zone

Change-Id: I79d1cff9cb6be30c73ec0d5c4ba05d682b919202
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35284

9 years agotmf: Make TmfTimePreferences completely static
Alexandre Montplaisir [Wed, 22 Oct 2014 13:40:53 +0000 (09:40 -0400)] 
tmf: Make TmfTimePreferences completely static

Marking the class final shows us that all the methods can be marked
as static, since they do not use any internal fields. This means
the getInstance() itself is unneeded.

Change-Id: Iaed5876fd3f6151fceb90991d5deb452c6e70ef3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35334
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agopcap: Fix tests always being skipped
Marc-Andre Laperle [Wed, 22 Oct 2014 04:26:37 +0000 (00:26 -0400)] 
pcap: Fix tests always being skipped

Change-Id: Ie04334f8617fe3db3ea8ea3210c1e37054d41560
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35285
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agoUpdate some class paths in plugin.xml files
Alexandre Montplaisir [Wed, 22 Oct 2014 13:27:00 +0000 (09:27 -0400)] 
Update some class paths in plugin.xml files

Probably due to some auto-resolved merge conflicts. Strange that they
didn't show up earlier.

Change-Id: I997f9182b288bd15ceac75204cbb7c9c9aede7ae
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35333
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agolttng: Mark a field private in the SWTBot test
Alexandre Montplaisir [Wed, 22 Oct 2014 13:23:03 +0000 (09:23 -0400)] 
lttng: Mark a field private in the SWTBot test

This fixes a "missing Javadoc" warning.

Change-Id: Icfc5c1272453c9b246a9f7512b1d2639d4b3f09d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35332
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agorcp: update branding plug-in for correct application reference
Bernd Hufmann [Thu, 23 Oct 2014 13:46:57 +0000 (09:46 -0400)] 
rcp: update branding plug-in for correct application reference

Change-Id: I71758aeb92c48297df898dfb20c3001a39f1e20e
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35401
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: fix concurrency issue in analyses modules (bug 447434)
Bernd Hufmann [Wed, 15 Oct 2014 18:26:36 +0000 (14:26 -0400)] 
tmf: fix concurrency issue in analyses modules (bug 447434)

The access of member fTrace in class TmfAbstractAnalysesModule was
not thread-safe. The attribute was set to null when cancelling
the analyses (e.g. in the UI thread).

With this patch this attribute will be accessed (read and write)
using a synchronization lock and it will be checked for null
references before using it.

Additionally, this patch takes care of count down initialization
latches in case of cancellation.

Change-Id: Id632f128242ce85b04b7acdb79264ea466497947
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35347
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoctf: Commit the generated ANTLR files to the source tree
Alexandre Montplaisir [Tue, 14 Oct 2014 21:51:30 +0000 (17:51 -0400)] 
ctf: Commit the generated ANTLR files to the source tree

This means users who just pulled the git tree won't need to run
a Maven build manually to generate them. Which in turn, completely
removes the need for installing m2e or such in their Eclipse.

They are now only built when the "ctf-grammar" profile is enabled.
Rebuilding always produces a diff: the first line of the generated
files contains a timestamp, and there is some randomness in the
generated comments. So it's better to only do it on-demand.

Also added a copyright header to these files, since they didn't
seem to have one.

Change-Id: I0fcf4cb32f111c7eecde3ab641205fb1d526fb28
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/35269

9 years agoFix cast warnings (errors) when targetting 4.5
Marc-Andre Laperle [Wed, 22 Oct 2014 17:28:35 +0000 (13:28 -0400)] 
Fix cast warnings (errors) when targetting 4.5

Change-Id: I39acc21f45f474e09366b3610bcff3d538c8e3ad
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35355
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoChange linuxtools to tracecompass in generate-grammar script
Simon Marchi [Mon, 20 Oct 2014 20:58:01 +0000 (16:58 -0400)] 
Change linuxtools to tracecompass in generate-grammar script

Change-Id: Ida3bec0759fafeb88d7cae73ed3f2353535d0e90
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/35352
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoRemove the API Tooling builders and natures
Alexandre Montplaisir [Fri, 17 Oct 2014 21:05:06 +0000 (17:05 -0400)] 
Remove the API Tooling builders and natures

Disable the API tooling, at least until we have an actual release
and can start tracking APIs again.

Change-Id: Ia0ac03ef4b2b181fa31795242c96ca400fbdef5f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Fix sequence diagram unit tests
Alexandre Montplaisir [Fri, 17 Oct 2014 18:51:26 +0000 (14:51 -0400)] 
tmf: Fix sequence diagram unit tests

The extension point location in the test facility was using
Activator.PLUGIN_ID, which was renamed to "org.eclipse.tracecompass",
but we left the extension point IDs to "org.eclipse.linuxtools" for
now. Fix the references accordingly and re-enable the tests.

Change-Id: I40e2d4d7021f55043f5f51b2472a07bec01eb5d5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoRename remaining packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Mon, 29 Sep 2014 20:15:23 +0000 (16:15 -0400)] 
Rename remaining packages to org.eclipse.tracecompass.*

that being the packages in the "alltests" and "examples" plugins.

Change-Id: Ia9d28cefaed3d2974ba67e6902eb04763ba75413
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agobtf: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Fri, 26 Sep 2014 20:11:32 +0000 (16:11 -0400)] 
btf: Rename packages to org.eclipse.tracecompass.*

Change-Id: I56194cc3c13c57c315aedd300efaf49bf0e57058
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoctf: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Fri, 26 Sep 2014 20:01:18 +0000 (16:01 -0400)] 
ctf: Rename packages to org.eclipse.tracecompass.*

Change-Id: Ia069f48869616df6661c12b616be124333758e1d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agogdbtrace: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Thu, 25 Sep 2014 20:55:14 +0000 (16:55 -0400)] 
gdbtrace: Rename packages to org.eclipse.tracecompass.*

Change-Id: Iee74553bdb6ab5a5d1b50405f749d229575eea2c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agolttng: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Thu, 25 Sep 2014 20:48:37 +0000 (16:48 -0400)] 
lttng: Rename packages to org.eclipse.tracecompass.*

Change-Id: If67346f1e38c173ff74379e18738e606864d287f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agopcap: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Thu, 25 Sep 2014 20:36:52 +0000 (16:36 -0400)] 
pcap: Rename packages to org.eclipse.tracecompass.*

Change-Id: I8c1497ea665bcf7904408deec3fd7071e76be942
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agorcp: Rename plugins to org.eclipse.tracecompass
Alexandre Montplaisir [Thu, 25 Sep 2014 20:33:30 +0000 (16:33 -0400)] 
rcp: Rename plugins to org.eclipse.tracecompass

Change-Id: I29f43aa20166dd5a6af4cd5660eb0b430fd3a9c3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoss: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Thu, 25 Sep 2014 20:30:33 +0000 (16:30 -0400)] 
ss: Rename packages to org.eclipse.tracecompass.*

Change-Id: I2fcf70501c26510d0215852c99025c801051a715
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Rename packages to org.eclipse.tracecompass.*
Alexandre Montplaisir [Wed, 24 Sep 2014 21:23:30 +0000 (17:23 -0400)] 
tmf: Rename packages to org.eclipse.tracecompass.*

Change-Id: I7072126d88e93cf44b0a1169c5090edb626b73c5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoMove alltests plugin to the Trace Compass namespace
Alexandre Montplaisir [Mon, 29 Sep 2014 19:01:27 +0000 (15:01 -0400)] 
Move alltests plugin to the Trace Compass namespace

Change-Id: I9ab5a7ee50bae2b9871ba3f4cd9e5a4d7eafb78b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoMove misc plugins to Trace Compass namespace
Alexandre Montplaisir [Fri, 26 Sep 2014 22:07:59 +0000 (18:07 -0400)] 
Move misc plugins to Trace Compass namespace

"examples", "lttng.help" and "lttng.testing" plugins

Change-Id: I20b5bb985988444e7f8e1c72117d9f3cf36e4997
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoMove RCP plugins to the Trace Compass namespace
Alexandre Montplaisir [Wed, 24 Sep 2014 19:59:34 +0000 (15:59 -0400)] 
Move RCP plugins to the Trace Compass namespace

Change-Id: I99b76ca059ea50ecb341b9928f5b4e992e9004e6
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Wed, 24 Sep 2014 18:00:03 +0000 (14:00 -0400)] 
tmf: Move plugins to the Trace Compass namespace

We'll keep the name "TMF" for now to refer to the core framework.

Change-Id: Ifb221f2c8239feb0eb0e2e308cc24e094c6501e1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoss: Move plugins to Trace Compass namespace
Alexandre Montplaisir [Tue, 23 Sep 2014 22:21:48 +0000 (18:21 -0400)] 
ss: Move plugins to Trace Compass namespace

Change-Id: I6cfee9874e9893d13374f05b139e73a6c8478fd7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agopcap: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Tue, 23 Sep 2014 22:08:30 +0000 (18:08 -0400)] 
pcap: Move plugins to the Trace Compass namespace

Change-Id: I8effa07aba182ee4796d007355e0f31e1b38b356
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agolttng: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Tue, 23 Sep 2014 20:59:53 +0000 (16:59 -0400)] 
lttng: Move plugins to the Trace Compass namespace

Change-Id: Iba52d6b728b235e76f1ce1fc0eb9a96c2205c702
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agogdbtrace: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Tue, 23 Sep 2014 18:30:49 +0000 (14:30 -0400)] 
gdbtrace: Move plugins to the Trace Compass namespace

Change-Id: I3407ed9c13052b2959c9446bedd4ceee52c10610
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoctf: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Mon, 22 Sep 2014 22:16:41 +0000 (18:16 -0400)] 
ctf: Move plugins to the Trace Compass namespace

Change-Id: Ice502abf91920f0e5128193cff92e11b92847b72
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agobtf: Move plugins to the Trace Compass namespace
Alexandre Montplaisir [Mon, 22 Sep 2014 21:19:49 +0000 (17:19 -0400)] 
btf: Move plugins to the Trace Compass namespace

Change-Id: I0723494466881a9d17ff9eb717554da130b47a11
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoRename parent, releng and target modules to tracecompass
Alexandre Montplaisir [Mon, 22 Sep 2014 21:00:21 +0000 (17:00 -0400)] 
Rename parent, releng and target modules to tracecompass

Change-Id: I28e21dba39eacd4d28bb2845c9692a03ca5fecd3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoUpdate README to reflect new commands
Alexandre Montplaisir [Mon, 22 Sep 2014 20:46:54 +0000 (16:46 -0400)] 
Update README to reflect new commands

Change-Id: Ic663674af40a4b2cde7a397b10d9a7f4b92eb22c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoMake Maven build possible with the new repo
Alexandre Montplaisir [Mon, 22 Sep 2014 18:22:07 +0000 (14:22 -0400)] 
Make Maven build possible with the new repo

This required:
- Importing some settings from Linux Tools's top-level pom.xml
- Maven'ifying our target plugin, and adding some missing elements
  (Wikitext, Antlr sources)

Change-Id: Id3db846ad90f1e6cfec97fe3a5189d41ae9b1b27
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Add 'last modified' and 'size' properties for traces
Patrick Tasse [Fri, 26 Sep 2014 14:55:05 +0000 (10:55 -0400)] 
tmf: Add 'last modified' and 'size' properties for traces

Change-Id: I037bd0eb7f6abb91fa73bcf3ca6fae93986f0eb3
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33983
Tested-by: Hudson CI
9 years agotmf: Remove unnecessary System.gc since we now have SafeMappedByteBuffer
Marc-Andre Laperle [Thu, 16 Oct 2014 19:08:10 +0000 (15:08 -0400)] 
tmf: Remove unnecessary System.gc since we now have SafeMappedByteBuffer

Change-Id: Ifa1297448a68e4903dcea7c21ee13bd5b8ed8c20
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35004
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Fix source location on import from archive
Patrick Tasse [Wed, 15 Oct 2014 20:21:08 +0000 (16:21 -0400)] 
tmf: Fix source location on import from archive

Change-Id: I0f8a89b2c50d09745d71bada384d896fe6db01b1
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/34954
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng: More performance improvements to the Resources view
Patrick Tasse [Tue, 14 Oct 2014 18:50:23 +0000 (14:50 -0400)] 
lttng: More performance improvements to the Resources view

In the Resources view, the CPU Status states are further split, when the
current thread switches mid-state, into sub-states by a drawing overlay.

There was no limit to the number of sub-states that this overlay
produces. It should be limited to at most one sub-state per pixel.

Furthermore the vertical bar delimiting these sub-states should not be
drawn when the sub-state is smaller than a pixel, otherwise the bars
can block the underlying state color.

Change-Id: I26fa3ef27ebbde41481fb210c702ddbf22a10773
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/34883
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng: Some performance improvements to the Resources view
Marc-Andre Laperle [Fri, 10 Oct 2014 22:30:29 +0000 (18:30 -0400)] 
lttng: Some performance improvements to the Resources view

On Linux/GTK, calls to getSystemColor, getFontMetrics and gc.stringExtent are
quite expensive. This patch minimizes those calls. As a future improvement,
we should look into optimizing calls to TimeGraphControl.getXForTime because it
calls Control.getSize() which is slow as well.

Change-Id: I63460e305d8de458dbee4b6cb162b6cf04e77054
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34743
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Fix some leaks in the sequence diagram
Marc-Andre Laperle [Thu, 9 Oct 2014 23:47:31 +0000 (19:47 -0400)] 
tmf: Fix some leaks in the sequence diagram

Change-Id: Id2a1be23d7f3119e259df221df037c0813127e26
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34674
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Offset traces ui
Matthew Khouzam [Wed, 6 Aug 2014 19:07:03 +0000 (15:07 -0400)] 
tmf: Offset traces ui

Change-Id: Ifbcfa32cddfaa21e6c526169e9b2b3a8f06fcf72
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30689
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: lttngControl: fix: way to retrieve probe and function information
Jonathan Rajotte Julien [Thu, 28 Aug 2014 20:48:23 +0000 (16:48 -0400)] 
tmf: lttngControl: fix: way to retrieve probe and function information

Change-Id: Ie47ac49b58de165397be92b23161f90faf43772d
Signed-off-by: Jonathan Rajotte Julien <jonathan.rajotte-julien@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/32440
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Cache the result of gc.getFontMetrics in callstack view
Marc-Andre Laperle [Wed, 8 Oct 2014 20:37:21 +0000 (16:37 -0400)] 
tmf: Cache the result of gc.getFontMetrics in callstack view

This is a major performance bottleneck on Linux/GTK when a lot of elements are
drawn.

Change-Id: I5259a8910f08b6602801f97fc200b00b7c55c4a1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34605
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoTMF: Change API for synchronization files' folder
Geneviève Bastien [Tue, 9 Sep 2014 16:50:19 +0000 (12:50 -0400)] 
TMF: Change API for synchronization files' folder

Some clients of experiment need a relative path, others need the absolute
path, the getSynchronizationFolder method is unified and the constant becomes
private.

Change-Id: I02688b55ec047820fbe756a269cf4bde3721a9b7
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/33133
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agoXML state system: Add timestamp field to the current eventfields
Naser Ezzati [Thu, 2 Oct 2014 20:52:07 +0000 (16:52 -0400)] 
XML state system: Add timestamp field to the current eventfields

It is sometimes required to get also the timestamp of the events.

Change-Id: I013d91cbba4732245b1981b4e88f9c7648d05ec8
Signed-off-by: Naser Ezzati <n.ezzati@polymtl.ca>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/34471
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agotmf: Fix copy trace handler enabled in unrelated dialogs
Patrick Tasse [Fri, 3 Oct 2014 20:23:43 +0000 (16:23 -0400)] 
tmf: Fix copy trace handler enabled in unrelated dialogs

Ctrl-C no longer opens the Copy Trace dialog from another dialog when
the current selection in the Project Explorer is a trace element.

The same fix is applied to the copy experiment handler.

Change-Id: I4eb9df578d2227b74312d7fe660b2a3caf2b2627
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/34415
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agoRevert "XML state system: Add timestamp field to the current eventfields."
Alexandre Montplaisir [Mon, 6 Oct 2014 20:44:20 +0000 (16:44 -0400)] 
Revert "XML state system: Add timestamp field to the current eventfields."

This reverts commit d4507ad7c220770cfc698db62874fb46b79888db.

This introduced a new field in a public interface, which is a major API break.
Let's revert it for now, and get it into Trace Compass.

Change-Id: I2bc0ebe90f438ca72a1156878ed0f300c5492183
Reviewed-on: https://git.eclipse.org/r/34470
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agolttng: Include the "alltests" plugin in the sync-settings script
Alexandre Montplaisir [Tue, 16 Sep 2014 19:07:27 +0000 (15:07 -0400)] 
lttng: Include the "alltests" plugin in the sync-settings script

Change-Id: Icb22e027f0d892fbb0390bb77b724c407a07420e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/33470

9 years agostatesystem: Remove duplicate empty state creation
Alexandre Montplaisir [Mon, 8 Sep 2014 21:00:54 +0000 (17:00 -0400)] 
statesystem: Remove duplicate empty state creation

The transient state already creates a "null" value for every state
attribute that is added. No need for the attribute tree to do an
explicit insertion immediately after (which gets ignored any way).

That attribute tree should also keeps its paws off the transient state,
but that's a different problem.

Change-Id: Ib77e16d67375e65c495b9ff0b73c5cee78eddf02
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/33076
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoXML state system: Add timestamp field to the current eventfields.
Naser Ezzati [Thu, 2 Oct 2014 20:52:07 +0000 (16:52 -0400)] 
XML state system: Add timestamp field to the current eventfields.

It is sometimes required to get also the timestamp of the events.

Change-Id: I7166f0c27431696e93432a47cb7f3f36c5277382
Signed-off-by: Naser Ezzati <n.ezzati@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/34317
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotracing rcp: save workspace during shutdown
Bernd Hufmann [Fri, 3 Oct 2014 17:00:54 +0000 (13:00 -0400)] 
tracing rcp: save workspace during shutdown

Change-Id: Ifa4413602ca8543997dccea82764508ff7f429be
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34405
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
9 years agotmf: add SWTBot tests for collapsing feature (disabled for now)
Bernd Hufmann [Tue, 23 Sep 2014 13:50:38 +0000 (09:50 -0400)] 
tmf: add SWTBot tests for collapsing feature (disabled for now)

Change-Id: I67952062a74c744ca7ef8abce474bb92ebfa328c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33846
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng: Annotate 3.2 APIs
Alexandre Montplaisir [Wed, 1 Oct 2014 21:13:42 +0000 (17:13 -0400)] 
lttng: Annotate 3.2 APIs

Many APIs were not actually part of 3.1, mark them @since 3.2 instead.

Change-Id: Idf17db685b4c0ed57c7e772f2718bdb0bfeffc03
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/34242
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agotmf: use in memory index for sequence diagram test cases
Bernd Hufmann [Wed, 1 Oct 2014 15:34:25 +0000 (11:34 -0400)] 
tmf: use in memory index for sequence diagram test cases

This makes sure that each test class starts with its own index and
doesn't reuse an existing index on disk.

Change-Id: I3d4497603ed1ea79bc2cdf6e055f43767d4dcbb4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34219
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
9 years agoFix temp directory path when workspace path contains a space
Marc-Andre Laperle [Tue, 30 Sep 2014 22:29:24 +0000 (18:29 -0400)] 
Fix temp directory path when workspace path contains a space

Change-Id: I9066def7c55d8c324cfe30e82bf320a107bb67e0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34167
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agotmf: Fix missing trace properties
Patrick Tasse [Tue, 30 Sep 2014 18:21:04 +0000 (14:21 -0400)] 
tmf: Fix missing trace properties

The 'Trace properties' category (e.g. CTF properties of an opened trace)
was missing due to change of trace path to OS String.

Change-Id: I5592f4e979e86f2a33225065832c685e7020aad6
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/34152
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng/tmf: Update guides for collapsing feature
Bernd Hufmann [Tue, 30 Sep 2014 17:29:05 +0000 (13:29 -0400)] 
lttng/tmf: Update guides for collapsing feature

Change-Id: I25b858c6cc61a462662a4c5471528085d1cd7ed6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34149
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agolttng: Fix alltests pom version number
Marc-Andre Laperle [Tue, 30 Sep 2014 20:21:33 +0000 (16:21 -0400)] 
lttng: Fix alltests pom version number

Change-Id: I49b4826ad6d14b4354dbe3031af838f20fc805dc
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34156
Tested-by: Hudson CI
9 years agoTMF: Do not add synchronization data for traces from the same host
Geneviève Bastien [Mon, 29 Sep 2014 16:40:59 +0000 (12:40 -0400)] 
TMF: Do not add synchronization data for traces from the same host

Change-Id: Ia45d7568a80a731672cee1d33211451d55a5c922
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/34067
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoSupport incremental update of Call Stack view
Patrick Tasse [Mon, 22 Sep 2014 19:42:51 +0000 (15:42 -0400)] 
Support incremental update of Call Stack view

Change-Id: I3fcbd3569a28b16f53755cb346c2b59741509222
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33720
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
This page took 0.05805 seconds and 5 git commands to generate.