deliverable/tracecompass.git
11 years agolttng: Add copyright headers to properties files
Alexandre Montplaisir [Wed, 24 Apr 2013 17:34:54 +0000 (13:34 -0400)] 
lttng: Add copyright headers to properties files

Change-Id: If65f4920bf2177d135208759d9a6158c9d4d6fd1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/12163
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>

11 years agotmf/lttng: Remove unneeded (non-Javadoc) comments
Alexandre Montplaisir [Tue, 9 Apr 2013 17:06:46 +0000 (13:06 -0400)] 
tmf/lttng: Remove unneeded (non-Javadoc) comments

Those comments are not needed anymore. With Java >= 6,
overriding classes marked with @Override also inherit
the Javadoc from the base class.

Also:
- Some auto-formatter actions, to remove those pesky tabs.
- Ran the copyright tool. Might have updated unrelated files.

Change-Id: I93f699efa075a5629f31f478b7045247388f58fe
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/12141
Tested-by: Hudson CI
11 years agoFix NLS-related Javadoc warnings
Alexandre Montplaisir [Tue, 23 Apr 2013 20:05:41 +0000 (16:05 -0400)] 
Fix NLS-related Javadoc warnings

Some new warnings slipped through in 9a9673c.

It was also externalizing strings in a test plugin, which is
not needed.

Change-Id: I8c9b309363c022b2072a701099e1f79c435737a0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/12140
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
11 years agolttng: add support for kernel-only in tracer control (bug406120)
Bernd Hufmann [Tue, 23 Apr 2013 19:10:20 +0000 (15:10 -0400)] 
lttng: add support for kernel-only in tracer control (bug406120)

This commit allows the user to connect to a remote LTTng node
where UST is disabled and only the kernel tracer is available.
For LTTng tools 2.0.x, the command lttng list -u causes a
segmentation fault on the remote side. This segmentation fault
makes it impossible to use the kernel-only mode. This bug is fixed
in later versions of LTTng tools starting from 2.1.0.

Change-Id: I2862ccce68c575706722eea89fdd4b450797d5d6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12139
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
11 years agolttng: Support for port number in lttng control (bug 406122)
Bernd Hufmann [Wed, 24 Apr 2013 11:50:35 +0000 (07:50 -0400)] 
lttng: Support for port number in lttng control (bug 406122)

Change-Id: I38ce9ea1e84f3a57c28cb9877d2033cf42b0af57
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12135
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>

11 years agolttng: Handle the sched_wakeup event
Alexandre Montplaisir [Wed, 17 Apr 2013 19:17:55 +0000 (15:17 -0400)] 
lttng: Handle the sched_wakeup event

This event should put the relevant process (indicated in the
event's payload) in the "wait for cpu" state.

Change-Id: I5cf6a617f0558ff98cfc007fc10a688dab292f6b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11998
Tested-by: Hudson CI
11 years agolttng: Correctly assign syscall state for new processes
Alexandre Montplaisir [Tue, 9 Apr 2013 18:40:59 +0000 (14:40 -0400)] 
lttng: Correctly assign syscall state for new processes

If a process is already in kernel mode ("syscall" state) at
the beginning of a trace, all its children created via fork/clone
would be wrongly assigned to a user mode state once they get
scheduled on a CPU. This is because the parent's sycall name was
not set (since we never saw that syscall entry event).

This is actually a common case with LTTng traces: the lttng-consumerd
process is always already in kernel mode at the start of a trace,
and forks another process soon after.

Fixes bug #405221.

Change-Id: Iffdfb3277c1fa3fb9316c2ef9c8e6f04f539bb43
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11756
Tested-by: Hudson CI
11 years agolttng2: Use ReadOnlyTextPropertyDescriptor in control model
Bernd Hufmann [Mon, 22 Apr 2013 19:01:24 +0000 (15:01 -0400)] 
lttng2: Use ReadOnlyTextPropertyDescriptor in control model

Change-Id: I78e68d4c4d53ca753c09a807498204676ebb2dc3
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12107
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>

11 years agotmf: use ReadOnlyTextPropertyDescriptor in project model
Bernd Hufmann [Mon, 22 Apr 2013 18:57:28 +0000 (14:57 -0400)] 
tmf: use ReadOnlyTextPropertyDescriptor in project model

Change-Id: I4edd75e5dd4796e3196105ddb274b15033b0cdfd
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/12106
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>
11 years ago[Tmf][Ctf] Add descriptive fail to import messages.
Matthew Khouzam [Thu, 18 Apr 2013 17:35:48 +0000 (13:35 -0400)] 
[Tmf][Ctf] Add descriptive fail to import messages.

This patch proposes a way of showing more error details.
The ctf modifications use reflexion since the parser and lexer are
auto-generated. Now with number format exceptions for ints
Messages.java now have suppress warnings javadoc

Change-Id: I74cbbd4aaff29f458786ffc96e88b5416b49beed
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/11788

11 years agotmf: Only keep the full constructor in TmfEventField
Alexandre Montplaisir [Mon, 8 Apr 2013 19:43:23 +0000 (15:43 -0400)] 
tmf: Only keep the full constructor in TmfEventField

It's relatively risky to have two methods (in this case constructors)
where one uses 'Object' and the other 'ITmfEventField[]', since
an array is also an Object, so one constructor overloads the other.

We've had problems in the past with CtfTmfEventField, and it was
changed to only keep one constructor with all three arguments.
Propagate this change up to TmfEventField, and fixes all callers.
It's now much clearer what type of field we are constructing.

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

11 years agotmf: Eliminate lesser constructors in TmfTrace
Alexandre Montplaisir [Sat, 13 Apr 2013 00:01:40 +0000 (20:01 -0400)] 
tmf: Eliminate lesser constructors in TmfTrace

It's becoming very hard to figure out which exact constructor
is being called, and the resulting program flow. Remove the
intermediate constructors in TmfTrace and redirect implementations
to the full one.

Improved the Javadoc at the same time, to mention which default
values can be used.

Change-Id: Id0d03a976ce6d84e680021bf1634fa15d03942f3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11913
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
11 years agoUse a read-only TextPropertyDescriptor for event properties
Bernd Hufmann [Wed, 17 Apr 2013 15:52:03 +0000 (11:52 -0400)] 
Use a read-only TextPropertyDescriptor for event properties

Use a custom, read-only TextPropertyDescriptor to use the cursor
in the value column to scroll for long property strings. In the
previous implementation, long value strings couldn't be read properly.

Change-Id: I6469442cb5b8f6779c807e90f8dc569ed3f71b49
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11984
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
11 years agoTMF: Add Variant field class to CtfTmfEventField
Geneviève Bastien [Thu, 28 Mar 2013 15:59:01 +0000 (11:59 -0400)] 
TMF: Add Variant field class to CtfTmfEventField

A variant field class was necessary to not lose the name of the variant
field.  The output of a variant field type is now identical to that of
babeltrace.

Modified some comments and added the getFormattedValue to CTFStructField
to correctly handle empty structs.

Removed overriden toString functions that are not overridden anymore.

Change-Id: Iccffc6a2375df54945ff41614628760afcdf147f
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/11550
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: 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>
11 years agoAdd newline awareness to filter and search function of the event view
François Rajotte [Wed, 17 Apr 2013 19:22:14 +0000 (15:22 -0400)] 
Add newline awareness to filter and search function of the event view

Change-Id: I9d5f03b55931e954f30da8fe36342413b4a2adb1
Signed-off-by: François Rajotte <francois.rajotte@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/11993
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
11 years agolttng: Use interfaces for constant definitions
Alexandre Montplaisir [Wed, 17 Apr 2013 20:04:54 +0000 (16:04 -0400)] 
lttng: Use interfaces for constant definitions

Change-Id: I4e42d82d52674bbe8cb1c4391291882c7ecbfdaf
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11997
Tested-by: Hudson CI
Reviewed-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
IP-Clean: Xavier Raynaud <xavier.raynaud@kalray.eu>
Tested-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
11 years agotmf: Fix start time of partial history event requests
Alexandre Montplaisir [Tue, 16 Apr 2013 13:27:36 +0000 (09:27 -0400)] 
tmf: Fix start time of partial history event requests

Change-Id: I187750b8cd781c7e7bed893678f5d9e84e6ce7c3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11946
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agotmf: Add a state system explorer view
Alexandre Montplaisir [Wed, 27 Mar 2013 20:23:29 +0000 (16:23 -0400)] 
tmf: Add a state system explorer view

This view displays raw state system information, synchronized with
the currently selected timestamp. This is amazingly useful for
debugging, but could also be useful for end-users trying to get
more low-level information.

For this reason, it's shipped with the runtime plugin, but not
present in the default perspective.

Based on initial implementation by Florian Wininger.

Change-Id: I2dc6b798862039b1c5c18ec5418d7f5913e27dcc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11628
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agotmf: Add an 'intersects' method to ITmfTimestamp
Alexandre Montplaisir [Fri, 12 Apr 2013 23:05:18 +0000 (19:05 -0400)] 
tmf: Add an 'intersects' method to ITmfTimestamp

Trivial implementation, but makes it more simple to check if
a timestamp is part of a given range.

Change-Id: I6ec1cc929f77cd5df5bc95b6b238c235f8b11f55
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11914
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agotmf: Streamline CtfTmfEventField creation
Alexandre Montplaisir [Thu, 11 Apr 2013 20:07:42 +0000 (16:07 -0400)] 
tmf: Streamline CtfTmfEventField creation

Less LOCs to do the same thing.

Change-Id: Iebfd3331b52012a9e62c16b5a8877e4559b21a6c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11837
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agotmf: Expose TmfExperiment.getTraces() up to ITmfTrace
Alexandre Montplaisir [Wed, 27 Mar 2013 19:00:33 +0000 (15:00 -0400)] 
tmf: Expose TmfExperiment.getTraces() up to ITmfTrace

When a view should display information about either 1 stand-alone
trace or an experiment, it will be able to call trace.getTraces()
directly, without having to do clunky instanceof checks every
single time.

Change-Id: I2f962a1dc4e6e34bf956aa0e62ba8b42cb234a99
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11531
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agotmf: Merge the two statesystem-getting methods into one
Alexandre Montplaisir [Thu, 4 Apr 2013 18:31:30 +0000 (14:31 -0400)] 
tmf: Merge the two statesystem-getting methods into one

Use Collections.unmodifiableMap() to return a map directly,
instead of using two separate methods.

Also changed the declared type to a LinkedHashMap, so that
the order of iteration remains constant.

Change-Id: I876be06ea550d1244da87215e58fddee95f6de3d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11659
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agoAdd "check subtree" feature to TimeGraphFilterDialog
Simon Marchi [Fri, 22 Mar 2013 15:16:04 +0000 (11:16 -0400)] 
Add "check subtree" feature to TimeGraphFilterDialog

Change-Id: Ib3d9a4c634d506c58524af704f903be685aaf3d1
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/11390
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
11 years agoCtf: Correct endianness when reading ctf integers
Geneviève Bastien [Wed, 27 Mar 2013 18:22:10 +0000 (14:22 -0400)] 
Ctf: Correct endianness when reading ctf integers

Endianness was not correctly taken into account when reading
integer fields in different endianness.

Also add the tests for endianness reading.

Change-Id: I77d72b75116f8fabcbbdf962afa6ad2903c39c26
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/11528
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
IP-Clean: 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>
11 years agotmf: Register statistics state systems into the trace
Alexandre Montplaisir [Wed, 3 Apr 2013 19:38:00 +0000 (15:38 -0400)] 
tmf: Register statistics state systems into the trace

This way they will show up in the State System Explorer, among
other things.

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

11 years agotmf: Make TmfEventType immutable
Alexandre Montplaisir [Mon, 8 Apr 2013 21:05:32 +0000 (17:05 -0400)] 
tmf: Make TmfEventType immutable

Almost no changes needed, nobody was ever modifying the fields,
other than the tests.

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

11 years agotmf: Fix new Kepler warnings
Alexandre Montplaisir [Tue, 9 Apr 2013 22:12:05 +0000 (18:12 -0400)] 
tmf: Fix new Kepler warnings

Mainly null-check warnings, due to the new JDT with improved
null checks.

Change-Id: Ibe47a0e830547d10c9947dd79289a7194ecc9bd0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11761
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agoo.e.l.tmf.ui: add a ScrolledComposite in TimeGraphLegend.
Xavier Raynaud [Wed, 3 Apr 2013 11:44:12 +0000 (13:44 +0200)] 
o.e.l.tmf.ui: add a ScrolledComposite in TimeGraphLegend.
TimeGraphLegend now handles many states gracefully.

Change-Id: I1bb754b3046584b3b0af6197d618276377411910
Reviewed-on: https://git.eclipse.org/r/11619
Tested-by: Hudson CI
Reviewed-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
IP-Clean: Xavier Raynaud <xavier.raynaud@kalray.eu>
Tested-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
11 years agolttng/o.e.l.tmf.ui: disable menu detected event during mouse drag
Patrick Tasse [Wed, 30 Jan 2013 19:05:07 +0000 (14:05 -0500)] 
lttng/o.e.l.tmf.ui: disable menu detected event during mouse drag

Change-Id: I432296df9774862f1c56a58f3e8245c6ea226de7
Reviewed-on: https://git.eclipse.org/r/8709
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: Xavier Raynaud <xavier.raynaud@kalray.eu>
IP-Clean: Xavier Raynaud <xavier.raynaud@kalray.eu>
Tested-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
11 years agotmf: Remove getFieldType() method from CTF event fields
Alexandre Montplaisir [Fri, 22 Mar 2013 22:09:11 +0000 (18:09 -0400)] 
tmf: Remove getFieldType() method from CTF event fields

It's not used anywhere. If we ever need it in the future, it would
be better to use an enum.

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

11 years agoctf: Clean up unit tests
Alexandre Montplaisir [Fri, 15 Mar 2013 22:00:16 +0000 (18:00 -0400)] 
ctf: Clean up unit tests

Remove all remaining artifacts from CodePro.

Change-Id: Id313c48e4b00be694340d7cfeb66f40d74c489c2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11215
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agoctf: Disable NLS warnings in test plugin
Alexandre Montplaisir [Fri, 15 Mar 2013 21:33:54 +0000 (17:33 -0400)] 
ctf: Disable NLS warnings in test plugin

Test plugins are never meant to be shipped to end-users, so
instead of having to put $NON-NLS-1$ and SuppressWarnings
everywhere, just disable those in the project settings instead.

Change-Id: Ifc9d23e4ce9944fb03cb8c019dd5176d2247a70e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11214
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agotmf: Add a trace-getting method in TmfView
Alexandre Montplaisir [Wed, 27 Mar 2013 18:17:03 +0000 (14:17 -0400)] 
tmf: Add a trace-getting method in TmfView

Instead of calling the getSite.getPage.getEditor mantra every
time, if anyone has a reference to a view they can now use this
convenience getActiveTrace() method to get the currently selected
trace.

Kind of replacement for the old TmfExperiment.getCurrentExperiment();

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

11 years agotmf: Improve histogram responsiveness
Alexandre Montplaisir [Tue, 26 Mar 2013 21:49:08 +0000 (17:49 -0400)] 
tmf: Improve histogram responsiveness

The Histogram had its own kind of throttling TimeRangeSynch signals,
but simply freezing itself for ~100 ms, which would of course imply
no other time range could be selected.

Replace this with the fancy new signal throttlers. Now the
histogram display gets updated right away, while the background
time range updates and queries only happen after a short time
without any new time range selection.

The user experience should increase a great deal!

Change-Id: I89a872d9d829d5522523912f73dca2c31f48e64c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11503
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agotmf: Add a TmfSignalThrottler
Alexandre Montplaisir [Tue, 26 Mar 2013 19:29:28 +0000 (15:29 -0400)] 
tmf: Add a TmfSignalThrottler

Components can now decide to use a signal throttler for outgoing
signals. This offers a centralized way of controlling the rate
of signals (TimeRange sync signals come to mind).

Change-Id: Ia26cb12a87c6db2fae23892aff908715fe527755
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11502
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agotmf: Update formatting in TmfSignalManager
Alexandre Montplaisir [Tue, 26 Mar 2013 19:29:10 +0000 (15:29 -0400)] 
tmf: Update formatting in TmfSignalManager

Change-Id: I60812013bd524792024c249369ecd270599f286b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11501
Tested-by: Hudson CI
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agotmf: Use same field format in properties and events views
Geneviève Bastien [Wed, 13 Mar 2013 18:57:10 +0000 (14:57 -0400)] 
tmf: Use same field format in properties and events views

Change-Id: I5e5e80abd0b2acb83b06e5560db6cf70c2900f8c
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/11320
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
11 years agoDisplay exception in message dialog box in TmfEventsTable
Bernd Hufmann [Fri, 22 Mar 2013 11:27:39 +0000 (07:27 -0400)] 
Display exception in message dialog box in TmfEventsTable

Change-Id: Iac0dd768257a020b1db69e4dd39a4709988e7aa9
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11382
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agotmf: Generalize the support for call sites and model URIs
Bernd Hufmann [Thu, 21 Mar 2013 16:11:06 +0000 (12:11 -0400)] 
tmf: Generalize the support for call sites and model URIs

The support for source code and model element look-up had been
specific to CTF. This commit generalizes the implementation so
that other trace extensions can use it.

Change-Id: Iff663e85e22a69f48258a5057de15b3e10e76863
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11264
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agogdb trace: Update menu item for executable selection
Bernd Hufmann [Wed, 20 Mar 2013 13:32:21 +0000 (09:32 -0400)] 
gdb trace: Update menu item for executable selection

Change menu item from "Select Trace Executable" to
"Select Trace Executable..." to indicate that a dialog box will be
opened.

Change-Id: Ic0e3a267fe6b73e4b0a880b7d4c79803780eee0f
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11335
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agolttng: Add missing state value type case
Alexandre Montplaisir [Fri, 15 Mar 2013 20:49:03 +0000 (16:49 -0400)] 
lttng: Add missing state value type case

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

11 years agotmf: Add Variant field handling in CtfTmfEventField
Geneviève Bastien [Tue, 5 Mar 2013 21:08:35 +0000 (16:08 -0500)] 
tmf: Add Variant field handling in CtfTmfEventField

* Also add unit test for variant types
* Move the base-formatting of numeric values to parent class

Change-Id: I863fb57ea34dafd0ed7e02caa3f698b4cb88f65c
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/10872
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>
11 years agotmf: Disable NLS warnings in tests
Alexandre Montplaisir [Mon, 18 Mar 2013 20:12:40 +0000 (16:12 -0400)] 
tmf: Disable NLS warnings in tests

Change-Id: I202b132026aff9339778f4cc5cc7fa13fe3fc995
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11284
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
11 years agolttng: Disable NLS warnings in tests
Alexandre Montplaisir [Mon, 18 Mar 2013 19:32:29 +0000 (15:32 -0400)] 
lttng: Disable NLS warnings in tests

Change-Id: Iec8f1108c0b26f1e3d0b6c3eaa479c00dfa8e6cb
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11283
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
11 years agogdbtrace: Disable NLS warnings in tests
Alexandre Montplaisir [Mon, 18 Mar 2013 19:14:50 +0000 (15:14 -0400)] 
gdbtrace: Disable NLS warnings in tests

Change-Id: Id30877eddc2b7728e218e1181729fe52a8926570
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11282
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
11 years agoAdd multiple selection in the time graph filter dialog
Simon Marchi [Thu, 14 Mar 2013 18:53:05 +0000 (14:53 -0400)] 
Add multiple selection in the time graph filter dialog

* Add "(un)check selected" buttons
* Change "(de)select all" to "(un)check all"
* Remove container mode option

Change-Id: Id002dc2f93589f2e8c209c87598476ba3f4006c0
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: François Rajotte <francois.rajotte@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/11170
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
IP-Clean: 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>
11 years agotmf: keep event fields ordering as per ctf metadata
Geneviève Bastien [Tue, 12 Mar 2013 20:21:00 +0000 (16:21 -0400)] 
tmf: keep event fields ordering as per ctf metadata

* While there, change the HashMap type of the fields to interface
  type map
* Change unit tests with new field ordering

Change-Id: I4fb1fec8b922f01e62573c415ca6f23826ec072a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/11090
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>
11 years agoUpdate GDB Tracepoint Analysis help files
Patrick Tasse [Wed, 13 Mar 2013 21:25:24 +0000 (17:25 -0400)] 
Update GDB Tracepoint Analysis help files

Change-Id: I68053b9522a0c5dc5969f6cd3f0396a125f124cc
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11176
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agotmf: Enable the partial state system unit tests
Alexandre Montplaisir [Wed, 13 Mar 2013 20:36:32 +0000 (16:36 -0400)] 
tmf: Enable the partial state system unit tests

Forgot to enable it in the previous patch. It should be working
fine now!

Change-Id: I5ad6198b0ad270e8486a108f2b3b4f1acd25d6e6
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11153
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agotmf ui: Make UML2SD UI tests independent from each other
Bernd Hufmann [Thu, 14 Mar 2013 20:12:40 +0000 (16:12 -0400)] 
tmf ui: Make UML2SD UI tests independent from each other

This fixes the problem introduced when using JUnit version 4.11
where the order of test execution within a file is not the order
in the file.

Change-Id: I49ac3560c2cb5138c3dc606524a9a741d9827a2a
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11171
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>
11 years agoFix for unit test concurrency
Patrick Tasse [Thu, 14 Mar 2013 15:50:38 +0000 (11:50 -0400)] 
Fix for unit test concurrency

Change-Id: Ib98210cb5c691f4da4f67ba78d28c8d31dc4229c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11156
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>
11 years ago[TMF] Add support for 64-bit integers in the history tree
François Rajotte [Tue, 5 Mar 2013 19:43:48 +0000 (14:43 -0500)] 
[TMF] Add support for 64-bit integers in the history tree

Change-Id: Ib37fc52bcb3e032bb671ba836023281f4c4f0b01
Signed-off-by: François Rajotte <francois.rajotte@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/10868
Tested-by: Hudson CI
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
11 years agoctf: Make sure CTFTraceTest's are independent
Alexandre Montplaisir [Thu, 14 Mar 2013 18:32:56 +0000 (14:32 -0400)] 
ctf: Make sure CTFTraceTest's are independent

The getClock() tests would use the value set by a previous test.
Remedy that by merging the getter and setter tests. Also cleaned
up the file a bit while a it.

Change-Id: I10df9ae5960ae426e607eb92b5a3956bb90a158d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11162
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agogdb trace: fix UI plug-in test
Bernd Hufmann [Thu, 14 Mar 2013 12:02:04 +0000 (08:02 -0400)] 
gdb trace: fix UI plug-in test

Change-Id: I5cb8c69ab9c5a74c6c224271bf0eee94baed0615
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11147
Tested-by: Hudson CI
11 years agoUpdate GDB Tracepoint Analysis tests
Patrick Tasse [Wed, 13 Mar 2013 21:58:29 +0000 (17:58 -0400)] 
Update GDB Tracepoint Analysis tests

Also rename package org.eclipse.linuxtools.internal.gdbtrace to
org.eclipse.linuxtools.internal.gdbtrace.core.

Change-Id: I72d623344ebbbcb9c6dcc7afd2e499e9d5495e35
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11139
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>
11 years agolttng: Fix gdb trace reference in lttng specific releng
Bernd Hufmann [Wed, 13 Mar 2013 19:56:32 +0000 (15:56 -0400)] 
lttng: Fix gdb trace reference in lttng specific releng

Change-Id: I389fd0fd238af6590d85b5aea6409a785976cf52
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11129
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
11 years agotmf: Add support for partial state system history
Alexandre Montplaisir [Tue, 5 Mar 2013 16:55:27 +0000 (11:55 -0500)] 
tmf: Add support for partial state system history

A partial history is like a shim between a trace's state system
and a "standard" history backend.

In a standard history, all state intervals are inserted into the
backend. With a partial history, only the intervals that cross
pre-determined checkpoints are inserted. To rebuild any state
between checkpoints, we load the previous checkpoint and re-read
the events in the trace between the checkpoint and the time of
the query.

Partial histories do not support single queries. While those
could be implemented by using a full-query, it seemed to cause
problems with range queries, where multiple state/event queries
happen in parallel (which is not so bad, range-query performance
would be absolutely disastrous!).

Change-Id: Iad709a00d630a40bf5a1c2e13d55d901f9a1eaa5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10990
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agolttng: Add an in-depth test for full state system queries
Alexandre Montplaisir [Wed, 6 Mar 2013 20:04:04 +0000 (15:04 -0500)] 
lttng: Add an in-depth test for full state system queries

Also add a small program/script in the 'headless' package to
regenerate those reference values easily, in case we need to
update the test values after we modify the kernel state provider.

Change-Id: I5cf66367a246ca78bb85f4cb3b3ad3c24ea6142e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10908
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agotmf: Replace state value types with an enum
Alexandre Montplaisir [Mon, 11 Mar 2013 21:45:47 +0000 (17:45 -0400)] 
tmf: Replace state value types with an enum

Originally, we specified the low-level byte to write to the
history tree file in ITmfStateValue. Now that we have multiple
possible state backends, it's much more convenient to use an
enum in the framework, and define the type<->byte conversion
inside the History Tree only.

Change-Id: I8bd694672256c15737e41813b3146b2f929d8c78
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/11065
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agogdb trace: Improve executable selection
Bernd Hufmann [Wed, 13 Mar 2013 18:30:41 +0000 (14:30 -0400)] 
gdb trace: Improve executable selection

Change-Id: Id7f05a0611b81ffa7802a77c70e2ea8b5bbe6db2
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11111
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agogdb trace: Fix shutdown deadlock
Bernd Hufmann [Wed, 13 Mar 2013 17:18:35 +0000 (13:18 -0400)] 
gdb trace: Fix shutdown deadlock

Change-Id: I16b822e3bf413d2dae86b95614fb12883d50240f
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11112
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agoIntroduce GDB Tracepoint Analysis feature
Patrick Tasse [Wed, 6 Mar 2013 19:13:05 +0000 (14:13 -0500)] 
Introduce GDB Tracepoint Analysis feature

Change-Id: I0800687b8b55b381fb304b828f57b9cd330c0d4b
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10946
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agolttng: add command execution timeout preference
Bernd Hufmann [Tue, 12 Mar 2013 17:49:13 +0000 (13:49 -0400)] 
lttng: add command execution timeout preference

Change-Id: Ia3b09ad1260517ead01c53dd21cfa97a0484ad03
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11086
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
11 years agoFix NullPointerException in TimeChartView
Patrick Tasse [Mon, 11 Mar 2013 21:42:29 +0000 (17:42 -0400)] 
Fix NullPointerException in TimeChartView

Change-Id: Icdf83a6ee5109a7684ff3450745c028f565dd420
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/11063
Tested-by: Hudson CI
IP-Clean: Xavier Raynaud <xavier.raynaud@kalray.eu>
Tested-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
11 years agotmf: Don't access the attribute tree directly
Alexandre Montplaisir [Tue, 5 Mar 2013 19:20:20 +0000 (14:20 -0500)] 
tmf: Don't access the attribute tree directly

but go through a new StateSystem.getAttributeTree() method that
wraps it. This way, a potential subclass only needs to override
that method to point to a different attribute tree.

Change-Id: I77b306f53095eb7b7423e10ee1ebb97c3ddaf6f5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10856
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agoUpdate plug-in and feature descriptions
Patrick Tasse [Wed, 6 Mar 2013 18:34:17 +0000 (13:34 -0500)] 
Update plug-in and feature descriptions

Change-Id: I6b68175455e2cb27eebcf65f97c2593090d11a61
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10901
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Hudson CI
11 years agolttng ui: fix handling of command output for verbose commands
Bernd Hufmann [Wed, 6 Mar 2013 18:17:35 +0000 (13:17 -0500)] 
lttng ui: fix handling of command output for verbose commands

When executing commands with preference verbose the command output
parsing of certain commands were not correct and caused
ExecutionExceptions in Eclipse even if the command was successfully
executed. This has been corrected with this commit. Also, this
commit contains JUnit tests to verify the updates.

Change-Id: I24196959a28093a292f599f93f6b78f6fd76c69e
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10864
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
11 years agolttng/tmf: update versions and dependencies
Bernd Hufmann [Tue, 5 Mar 2013 16:09:51 +0000 (11:09 -0500)] 
lttng/tmf: update versions and dependencies

Change-Id: I8bce498a0ffa19cbdc097351a13fbee72b84ce4a
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10848
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agotmf: Move some code to copy/add/remove traces in UI
Geneviève Bastien [Thu, 28 Feb 2013 21:04:19 +0000 (16:04 -0500)] 
tmf: Move some code to copy/add/remove traces in UI

The "Copy trace", "Select traces..." and "Remove" functionnalities have
some code that can be reused by each other and future features.  This
code has been moved to the model element's classes.

Change-Id: Id61914521f41d9c2b2c25fe1268e61be62c1d504
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/10751
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
11 years agotmf: Call parent before CtfTmfTrace specific initialization
Geneviève Bastien [Fri, 1 Mar 2013 16:50:39 +0000 (11:50 -0500)] 
tmf: Call parent before CtfTmfTrace specific initialization

Some features need to have resources initialized before the CtfTmfTrace
starts fetching its events.

Change-Id: If3d638263713064e8b4be4e651e4e0e33c734e4e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/10783
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>

11 years agotmf: Add method to replace a statesystem's ongoing state
Alexandre Montplaisir [Thu, 28 Feb 2013 23:01:27 +0000 (18:01 -0500)] 
tmf: Add method to replace a statesystem's ongoing state

Replace the vestigial TransientState.changeOngoingStateInfo()
(which was never used so far) with a similar method that can
generate a current state from an array of intervals.

For now, this this potentially dangerous method is only exposed
to classes extending StateSystem.

This will be useful for the partial history, but also for anybody
wanting to do funky stuff with the state system.

Change-Id: Ieebe6dfceb57c1437d81fd9a97c6be10040afeb4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10760
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agotmf: Add a method to query an ongoing state's start time
Alexandre Montplaisir [Thu, 28 Feb 2013 20:59:09 +0000 (15:59 -0500)] 
tmf: Add a method to query an ongoing state's start time

We can already query a state system's current state value for
a given attribute. It's trivial to expose a method to also query
the start time of that state.

Change-Id: I4b2610709bb0af33b612514007787b20f941f490
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10757
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agotmf: Add a copy method to state system inputs
Alexandre Montplaisir [Thu, 28 Feb 2013 20:47:23 +0000 (15:47 -0500)] 
tmf: Add a copy method to state system inputs

This is another requirement for partial histories. It is not a
real "clone" method, since we do not want to copy the assigned
state system at that moment, it's supposed to be assigned later
with another call to assignTargetStateSystem().

Change-Id: I744030084fc968b6426718c2fac5ace7f1a2c6dc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10756
Tested-by: Hudson CI
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agolttng: Do not cache attribute tree locations
Alexandre Montplaisir [Thu, 28 Feb 2013 20:30:54 +0000 (15:30 -0500)] 
lttng: Do not cache attribute tree locations

As a requirement for partial histories, we cannot cache
commonly-used attribute tree locations in the state providers.
Since the partial history's inner state provider will not know
the cached values of the real one, we need to resolve them
every time.

This unfortunately hampers the performance of standard state
system constructions a bit.

Change-Id: I93e104ea1e4fe7159805ff54296d4cfc830444a3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10755
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agolttng: Don't throw irrelevant exceptions in state system tests
Alexandre Montplaisir [Fri, 1 Mar 2013 22:04:56 +0000 (17:04 -0500)] 
lttng: Don't throw irrelevant exceptions in state system tests

Some tests expect exceptions, so these have to keep the "throws"
clause. For everything else, handle the excpetion in a try/catch
which will fail() the test if they happen.

This makes it simpler to extend the test cases, since the throws
may or may not be relevant in the subclass.

Change-Id: If71b351ba22bd88377120833eb83e9b78717d579
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10795
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agoImproved error handling for connection errors in LTTng control
Bernd Hufmann [Fri, 1 Mar 2013 19:47:41 +0000 (14:47 -0500)] 
Improved error handling for connection errors in LTTng control

Change-Id: I4c91fd06433a38a30903b82e762284de36486a26
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10784
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agoFix ResourceException in drag and drop to experiment from same project
Patrick Tasse [Thu, 28 Feb 2013 21:49:23 +0000 (16:49 -0500)] 
Fix ResourceException in drag and drop to experiment from same project

Change-Id: Idf0945dd0c965b99360a4f4df7d8f3a31b371fcc
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10752
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agoRemove unnecessary methods in LTTng Tracer Control model
Bernd Hufmann [Wed, 27 Feb 2013 15:42:28 +0000 (10:42 -0500)] 
Remove unnecessary methods in LTTng Tracer Control model

In many classes of the LTTng Tracer Control model convenience
methods exists that don't require passing a progress monitor and
that just calls another methods to pass a NullProgressMontior
instance. This causes increased maintenance work and doesn't bring
much gain.

Change-Id: Iae4c38d994953ead656dffc7065f01168dbbc7a7
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10732
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>
11 years agoChange the TimeGraphCombo's filter to a blacklist rather than a whitelist
François Rajotte [Thu, 28 Feb 2013 16:12:35 +0000 (11:12 -0500)] 
Change the TimeGraphCombo's filter to a blacklist rather than a whitelist

This should better support views that modify the list of entries dynamically.

Change-Id: I1a5e324d49a58e8444d4767542815c1e00836c64
Signed-off-by: François Rajotte <francois.rajotte@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/10740
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agoUpdate default filter behavior in TimeGraphCombo
Patrick Tasse [Wed, 27 Feb 2013 22:01:55 +0000 (17:01 -0500)] 
Update default filter behavior in TimeGraphCombo

Instead of storing all elements as non-filtered in the raw viewer filter
on setInput, set the list of non-filtered elements to null by default
and use this default null value to make the filter allow all elements.

Change-Id: Ida8e7ccb198bdde6b8dc736bdd24d510ae168a50
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10719
Tested-by: Hudson CI
11 years agolttng: Add clear() call before add elements to list
Bernd Hufmann [Thu, 28 Feb 2013 13:12:48 +0000 (08:12 -0500)] 
lttng: Add clear() call before add elements to list

In various LTTng Tracer Control core model classes, the relevant
array list is not cleared when the setter is being called. For
example, the method DomainInfo.setChannels(List chans) doesn't
clear the channel list before filling the channel list with the
new channels passed as parameter.

Change-Id: I0e5c8c4f0bd84a6de1c383131255b61c7ca94406
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10731
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>

11 years agotmf: Update copyright headers in tmf.core
Alexandre Montplaisir [Wed, 27 Feb 2013 19:13:49 +0000 (14:13 -0500)] 
tmf: Update copyright headers in tmf.core

Using the copyright tool in Eclipse's Releng Tools.

Apparently we should only have 2 years on the (c) line: the
initial creation year and the year of the latest revision.

Change-Id: I0c684a187a823df800cb751094cf5f58f39de910
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10714
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agotmf: Update copyright headers in tmf.ui
Alexandre Montplaisir [Wed, 27 Feb 2013 19:15:35 +0000 (14:15 -0500)] 
tmf: Update copyright headers in tmf.ui

Change-Id: I2acd0fe55407f36cd7ee0df0404050206216fd6c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10715
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agolttng: Update copyright headers
Alexandre Montplaisir [Tue, 26 Feb 2013 21:17:38 +0000 (16:17 -0500)] 
lttng: Update copyright headers

Change-Id: I438daa1aad7347388f54468f4b09d66ac4b1d192
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10713
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agoctf: Update copyright headers and add missing ones
Alexandre Montplaisir [Tue, 26 Feb 2013 21:11:20 +0000 (16:11 -0500)] 
ctf: Update copyright headers and add missing ones

Change-Id: I7b4166fae6a48d38fe4a6eecc3198fa9db1303ec
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10712
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years ago[CTF] Fix Struct toString fields in CtfTmfEventFields
Matthew Khouzam [Wed, 20 Feb 2013 22:59:50 +0000 (17:59 -0500)] 
[CTF] Fix Struct toString fields in CtfTmfEventFields

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Change-Id: I33caa90a998c95cba2bf46cd77d042601b50ac3c
Reviewed-on: https://git.eclipse.org/r/10546
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
11 years agoAdd README files for ctf.parser and {lttng|tmf}.help
Alexandre Montplaisir [Wed, 27 Feb 2013 21:10:58 +0000 (16:10 -0500)] 
Add README files for ctf.parser and {lttng|tmf}.help

Those plugins require special steps to build, so if somebody
hasn't read the wiki page, they can refer to these files for
the instructions.

Change-Id: Ic34f0e89491076b2e133b94bb52652336445552f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10718
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

11 years agoUpdate User Guide for support of LTTng Tools v2.1.0
Bernd Hufmann [Wed, 27 Feb 2013 18:58:24 +0000 (13:58 -0500)] 
Update User Guide for support of LTTng Tools v2.1.0

Change-Id: Idd4e9534023cd9a63704b87614de9828a75a259c
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10633
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>
11 years agoDrag and drop enhancements
Patrick Tasse [Tue, 26 Feb 2013 20:27:08 +0000 (15:27 -0500)] 
Drag and drop enhancements

- Add support for DROP_LINK
- Add rename prompt on name collision with automatic name resolution
- Add support for unknown trace type icon
- Fix propagation of selected trace type to experiment traces
- Updated user guide

Change-Id: I1eb7c7bcbe5566a0fc507aef1554780515d62eb5
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10667
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agoUse transparent color for unknown states in ControlFlow/Resources view
Patrick Tasse [Tue, 26 Feb 2013 19:14:39 +0000 (14:14 -0500)] 
Use transparent color for unknown states in ControlFlow/Resources view

The TRANSPARENT value is used for unknown states (states embedded by the
view in between actual states due to the sampling). When many states
occur in the same pixel range, the pixel now takes the color of one of
the states within the pixel range. The selected state color for a pixel
can change with regards to the current widget size and time range. The
tool tip information may be computed for a transparent state which does
not match the visible color under the cursor. In that case the state
name "(multiple)" is displayed.

Change-Id: If9185f67826bdab450cecf6f70c8b25f9beda33d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10187
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Hudson CI
11 years agoAdd transparent events to time graph
Patrick Tasse [Tue, 26 Feb 2013 19:22:09 +0000 (14:22 -0500)] 
Add transparent events to time graph

The time graph presentation provider interface is updated to define two
new constants for the state table index. When TRANSPARENT value is
returned, only the event border will be drawn, the event body will
remain transparent (empty) to allow the pixel to take the color of the
next visible event on the same pixel. The INVISIBLE value is defined,
although the functionality was previously supported. When INVISIBLE
value is returned, the event is not drawn at all and neither are its
borders.

The Time Chart view is updated to use the INVISIBLE value to hide
filtered events.

Change-Id: Ide68c4237db60824094f1f16739341cbf5e69860
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10186
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Hudson CI
11 years agoFix merged event iterator
Patrick Tasse [Tue, 26 Feb 2013 19:20:58 +0000 (14:20 -0500)] 
Fix merged event iterator

The merged event iterator was sometimes creating split events with
negative duration when a zoomed event was longer than an unzoomed event
starting at the same time, and when the requested iterator range was
smaller than the zoomed events range. The algorithm for the iterator is
reworked. Also, comments.

Change-Id: I6ef83d3e3b9b25d716978cba906e9bef0985b5bd
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10185
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Hudson CI
11 years agotmf: Add support for versioning state input plugins
Alexandre Montplaisir [Mon, 25 Feb 2013 22:59:14 +0000 (17:59 -0500)] 
tmf: Add support for versioning state input plugins

As we have seen with the recent addition of WAIT_FOR_CPU and
WAIT_BLOCKED state, if the framework gets updated we need a
way to tell it to rebuild any existing (and now outdated)
state history file that can be present in the workspace.

This patch reuses the minor_version field which was present
in the history tree's file header, but wasn't used. We now
assign this int to represent the version of the specific
state input we're trying to build. If the version in the
framework and the version of the existing file don't match, it
will force a rebuild.

Since the initial value used is 0, it should keep working with
any currently-existing history files (until the framework's
handlers are modified).

Change-Id: Id321db30f2e124cf93c96205a0450cccad47a49f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10638
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
11 years agotmf: Remove deprecated HistoryTree constructor
Alexandre Montplaisir [Mon, 25 Feb 2013 18:17:45 +0000 (13:17 -0500)] 
tmf: Remove deprecated HistoryTree constructor

Change-Id: I7826994d2071c14fd183d778df65c9f6e5879ef2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10637
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agotmf: Update comments in HistoryTree
Alexandre Montplaisir [Mon, 25 Feb 2013 18:11:11 +0000 (13:11 -0500)] 
tmf: Update comments in HistoryTree

Change-Id: Ic912058f261b042c88d772175b7d89f010b160cb
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10636
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agotmf: Move timestamps to their own package
Alexandre Montplaisir [Thu, 14 Feb 2013 16:37:10 +0000 (11:37 -0500)] 
tmf: Move timestamps to their own package

Eventually, for trace synchronization among other things, we
will need to use trace-specific timestamp factories. It will
be much better organized if timestamps have their own package
(they are not specific to events anyway).

The trace sync/timestamp factory rework is really big, and it
probably won't make Kepler. However, doing this move right now
will allow us to introduce timestamp factories and the such
post-Kepler, without breaking the 2.0 API.

Change-Id: Iffe4dc4758d9e0627f78aad6cbd9c6013097f800
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10496
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>

11 years agoUpdate to session creation procedure
Bernd Hufmann [Mon, 25 Feb 2013 13:40:47 +0000 (08:40 -0500)] 
Update to session creation procedure

- Removed --no-consumer and --disable-consumer option because these
options will be obsolete in LTTng Tools 2.2
- Updated commands and dialog boxes for this change
- Updated JUnit tests

Change-Id: Ic89c7af3df98c25ff777eebbe1a7e15785ec91ae
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10590
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
11 years agoUpdate file headers in LTTng Control feature
Bernd Hufmann [Mon, 25 Feb 2013 13:47:30 +0000 (08:47 -0500)] 
Update file headers in LTTng Control feature

Previously delivered features for LTTng Tools 2.1 support lack
the update of the file headers. This commit corrects that.

Change-Id: I4fb7d4731ab13ee4d905a0a3e94cd589cab95efe
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10617
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>
11 years agoTMF: Add supplementary folder to experiments
Geneviève Bastien [Mon, 18 Feb 2013 15:20:00 +0000 (10:20 -0500)] 
TMF: Add supplementary folder to experiments

Just like traces, experiments can save information in supplementary
files on disk (see bug 400949).
* Added class TmfWithFolderElement that TmfTraceElement and
  TmfExperimentElement extends
* TmfExperiment constructors are modified/added to receive a
  IResource as parameter
* Call to constructors are modified in the .ui code to add the
  resources
* Added calls to delete/copy/rename supplementary folder

Change-Id: Ic6996ca2c39bd3ea499521349f04bfc7c237b419
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/10435
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
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>
11 years agotmf: Remove redundant null checks
Alexandre Montplaisir [Thu, 21 Feb 2013 22:34:02 +0000 (17:34 -0500)] 
tmf: Remove redundant null checks

If a final field is instantiated at declaration, it cannot
ever be null, so null checks are redundant in this case.

Change-Id: Iae8a3064bd209d931196ff256fde9db879ea20aa
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10577
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>

This page took 0.049217 seconds and 5 git commands to generate.