Patrick Tasse [Thu, 18 Dec 2014 17:22:21 +0000 (12:22 -0500)]
tmf: Support aspect-based filtering in FilterViewer
Change-Id: I260e86d331130b060c96097aa852b76b8ef2e975
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38515
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Wed, 14 Jan 2015 22:08:05 +0000 (17:08 -0500)]
tmf: Make pcap aspects singletons
Change-Id: I979248f0dcf8417d59c699501a68799dc947d367
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39801
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Thu, 18 Dec 2014 16:39:14 +0000 (11:39 -0500)]
tmf: Replace TmfFilterEventTypeNode with TmfFilterTraceTypeNode
The filtering on event type is replaced with filtering on trace type.
This is done because in the upcoming change to replace field-based
filtering with aspect-based filtering, the aspect list is dependent on
the trace type and not on the event type. Furthermore filtering on event
type will still be possible since an 'Event type' aspect is available.
With this patch, the narrowing of field list based on event type for
child nodes of an EVENTTYPE node is no longer supported. In the
upcoming patch the aspect list will be narrowed based on trace type for
child nodes of a TRACETYPE node.
The handling of trace type labels "category : name" is consolidated in
utility classes TmfTraceType and TraceTypeHelper.
Change-Id: Ie911e9c63ecf7e219540e038fd82e70415e2e0ee
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38514
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Fri, 30 Jan 2015 20:23:10 +0000 (15:23 -0500)]
Fix backwards compatibility issues when copying traces or experiments
Change-Id: I6390da1bf9edb324e6659c9031dd661f14792690
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40920
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Matthew Khouzam [Tue, 3 Feb 2015 22:49:45 +0000 (17:49 -0500)]
swtbot: fix ColorsViewTest to compile and add test, disable FilterViewerTest
There appears to have been a cherry pick issue that was undetected.
FilterViewerTest will be re-enabled when the issue is resolved.
Change-Id: I2b6702cfabc07a7547654265e042690b329e020a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/41026
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Wed, 17 Dec 2014 23:09:22 +0000 (18:09 -0500)]
tmf: Rename getCanonicalName() to getTraceTypeId() in TraceTypeHelper
The trace type id is not always a canonical name, it is any string
defined by the developer in the plugin.xml tracetype extension point.
Change-Id: I3618398b74e460368219cff397d02ef81349485c
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38513
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Wed, 17 Dec 2014 22:45:09 +0000 (17:45 -0500)]
tmf: Support subfield array in TmfEventFieldAspect
Change-Id: I3ada68c24d73b55a55851100a8269cd506fd56e5
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38512
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Wed, 21 Jan 2015 23:08:15 +0000 (18:08 -0500)]
tmf.ui.swtbot.tests: swtbot tests for offsetting
Change-Id: Ibc4876f373ff454036141d19cbcaa3b6371ca1fe
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40083
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Thu, 29 Jan 2015 22:56:36 +0000 (17:56 -0500)]
tmf.ui.swtbot: test colors view
Most functionalities call OS specific widgets and cannot be swtbot
tested.
Makes all events yellow.
Change-Id: Id22f5c8921844e2143341c1fd33af1d2255bc6dd
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40675
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Mon, 26 Jan 2015 22:10:08 +0000 (17:10 -0500)]
tmf.ui.swtbot: add filterview tests
implements:
* tracetype test
* contains test
* filter node test
* apply test
* filternode test
* matches test
* equals test
* compare test
It does not:
* import
* export
these functions require access to native widgets
Change-Id: I00684956c065042add2b8ffbbf0ba9df57f01ab2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40407
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Wed, 28 Jan 2015 21:02:27 +0000 (16:02 -0500)]
rcp: Update documentation
* Refer to "Trace Compass" instead of the previous
"Linux Tools Trace Viewer" naming.
* Add a small section describing how to update the program.
Change-Id: I916d1c6d6615cf601ba1df5210294c838d87660a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40568
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Thu, 29 Jan 2015 22:20:24 +0000 (17:20 -0500)]
tmf: Bug 457109: Exit early in TmfEventThread if request is cancelled
Change-Id: Ifc848bf4f98b2a95164b54b2330b3262a678d08d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40672
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Thu, 29 Jan 2015 22:17:59 +0000 (17:17 -0500)]
tmf: Bug 457109: Throttle time graph listener notifications
Change-Id: I7a84fb51cce3f0614b19bcaab2259711d9c6ec47
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40671
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Mon, 26 Jan 2015 18:38:20 +0000 (13:38 -0500)]
swtbot: Add to SWBotUtils a selectTracesFolder to ease initialization
Change-Id: If6c17e4224bf9333026577d28a635bfee8d6b6f5
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40398
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Thu, 29 Jan 2015 20:14:21 +0000 (15:14 -0500)]
os.linux: Extract returned value to a local variable
Change-Id: I68c22af78898bb342a2212ad3a79ee1d0b200119
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40660
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Wed, 28 Jan 2015 21:42:09 +0000 (16:42 -0500)]
Remove maven-less instructions and script for CTF grammar generation
Antlr 3.5.2 doesn't exist as a debian package so one would need to download
Antlr 3.5.2 manually.
If 3.2 is used, it results in compilation error (cast error). It's just easier
to run maven and less error-prone at this point.
Change-Id: Ibd790e8262372c14e9dc7b6a2dfd75945dc8594f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40573
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Thu, 29 Jan 2015 15:07:21 +0000 (10:07 -0500)]
tmf.ui: fix constant names naming convention in TmfEventsEditor
Change-Id: I1f9b25eaa2ca562a7d713e20c9002b7f0717e3be
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40633
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Thu, 29 Jan 2015 21:57:46 +0000 (16:57 -0500)]
tmf: Bug 457852: Event table raw viewer selection not propagated
Change-Id: I5daec2e8fb471ff053be2d48df8ca95c2c0fc06f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/40670
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Thu, 29 Jan 2015 20:12:38 +0000 (15:12 -0500)]
lttng2.control.ui: remove redundant modifiers
Change-Id: I4b624a5fcfa9334f305e709e0e092aa71c8ccbd6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40659
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Thu, 29 Jan 2015 14:47:46 +0000 (09:47 -0500)]
tmf.ctf: fix findbugs in ctfIteratorManager
Change-Id: I7720a756cc7b1051554a8d5bc0b5771b220ba930
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40630
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Wed, 14 Jan 2015 19:05:51 +0000 (14:05 -0500)]
rcp: Allow updating RCP installations
* Add the nightly build update site to the default repositories
* Add the "Check for Updates" command to the Help menu
* Restore the -SNAPSHOT suffix of the rcp.product/pom.xml version, to
allow updating the RCP feature between different snapshots.
Change-Id: I718d37870a21d7238dc58e8a319fc56e2f1d63f3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39623
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Tue, 27 Jan 2015 23:05:54 +0000 (18:05 -0500)]
rcp: Also deploy the RCP-specific update site
The RCP can use an update site separate from the main one for the plugin
version (that contains for instance the RCP product IU and features).
Populate this update site as part of the "deploy-rcp" profile.
Also removed the productDir property, this was used back when we tried
to define symlinks, which didn't really work out in the end.
Change-Id: I4a413164d4413a4767788a9efba938f98d6fdd77
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40514
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 27 Jan 2015 22:54:55 +0000 (17:54 -0500)]
releng: Deploy update sites to the new locations
Update the default locations to the new directory structure on
download.eclipse.org.
Change-Id: I5fd85852eb760e088c992c4c9a50876a317e8e86
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40513
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 27 Jan 2015 22:37:16 +0000 (17:37 -0500)]
releng: Rename "build-update-site" profile to "deploy-update-site"
The "update site" (in releng-site/target/repository) is always
built, so this is more akin to the "deploy-rcp" profile that
is used for the RCP.
Change-Id: Ide082f2738a61e326b5e35eb41b0e6aa38198fc4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40512
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Matthew Khouzam [Mon, 4 Aug 2014 01:33:24 +0000 (21:33 -0400)]
ctf: make StreamInputPacketIndex more list like
gets rid of vector
improves performance
Change-Id: I1ea72e61a04c2a8f264446c05d7dbaae5e6337e2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35974
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Wed, 28 Jan 2015 21:08:34 +0000 (16:08 -0500)]
Set project-specific code style preferences to use 'f' as prefix
That way, if you use Generate Getters and Setters, it will generate getPath
instead of getfPath, for example.
Change-Id: I65c21608f86eeab1ab32f029be918f1afbc5e922
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40569
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Wed, 21 Jan 2015 20:42:41 +0000 (15:42 -0500)]
Convert the top-level Readme to markdown + small updates
Also updated the plugins.svg diagram.
Change-Id: Ibb9cdcc7afee56cb728b75bab58de06737a2d2bc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40068
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Fri, 23 Jan 2015 23:58:30 +0000 (18:58 -0500)]
ctf: Avoid direct dependency from the lttng plugins to the ctf.core one
The tmf.ctf plugin should encapsulate ctf.core's API completely, so that
lttng (and other eventual users) do not need to depend on ctf.core directly.
Move CtfIterator to be internal, and do not expose it in CtfTmfTrace's public
API. Instead, return ITmfContext's, which can be cast to CtfIterator for
things like tests that really the a CtfIterator reference.
Change-Id: Id7c74c284af98001ca0d0a63648e0db6219c2d5c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40292
Reviewed-by: Hudson CI
Marc-Andre Laperle [Tue, 27 Jan 2015 00:30:53 +0000 (19:30 -0500)]
Bug 448502 - Problem opening experiments and CTF traces after restart
Change-Id: I5ff2aaf0335626eef1f1fc60b22737eb7f974d59
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40414
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Wed, 28 Jan 2015 00:12:43 +0000 (19:12 -0500)]
tmf: Remove TmfTrace#processEvent()
Subclasses can (and already do) extend getNext(), so no need
for a separate overridable method.
Change-Id: If8f5342bdb41d05d46cda5d9d24dc065b3e32c8b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/40515
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Tue, 16 Dec 2014 22:24:18 +0000 (17:24 -0500)]
tmf: Have TmfTrace implement ITmfEventParser
All implementations already do (and are expected to) implement
ITmfEventParser. With a little rework/cleanup, we can put this
dependency directly in TmfTrace.
Change-Id: I436806ec78d8fd1126874e3453ef67acef5c31cc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38391
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Thu, 22 Jan 2015 18:45:22 +0000 (13:45 -0500)]
ctf: Do not specify a maximum size for String declarations
Fixes bug #457951.
Change-Id: I14c680710f4d4fa691484494957082db7d17035c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39982
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Mon, 19 Jan 2015 22:18:56 +0000 (17:18 -0500)]
lttng: Update the TestValues scripts used in tests
Some maintenace of the {Generate}TestValues scripts:
- Make them work with the new analysis module, which would expect
a canonical class names.
- Remove static/final modifiers, they are implied by being in an
interface.
- Update some javadoc.
Change-Id: I423984ce0a930a2fd1f1b5262210cbfba5ed3cd0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39903
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Wed, 14 Jan 2015 22:42:10 +0000 (17:42 -0500)]
tmf: Remove the "event type" from AbstractTmfStateProvider
Everybody was just asking for either ITmfEvent.class or TmfEvent.class,
so there's no point offering the option. This will avoid a potentially
costly isInstance() check for EVERY SINGLE event going through a state
provider.
If a state provider really needs a specific event type, they can do an
instanceof check in their handler methods.
Change-Id: I5486559ab5f566843c3006fefe2ce669a4171e5a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39634
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Mon, 15 Dec 2014 20:49:05 +0000 (15:49 -0500)]
TMF: Add utility method to return the result of an aspect for an event
This method avoids having to iterate through an event aspect iterable and
breaking as soon as it resolves to nonNull for a given event. The result of
the aspect's resolve(ITmfEvent) is returned. It can be null, but if it is
not, it can be safely cast to the aspect's return type.
Change-Id: I83cd2e56ad30c77608d9b184ede6d9df3240393a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/38301
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Wed, 14 Jan 2015 22:07:04 +0000 (17:07 -0500)]
os.linux: Rewrite a CPU usage test in a less insane way
Change-Id: Ia694681d6faaa2ce81b8de56c6b5816408f4d0ae
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39632
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Wed, 14 Jan 2015 20:23:37 +0000 (15:23 -0500)]
Fix path to look for Mylyn Wikitext in case of shared installations
${eclipse.home} works correctly in the case where the Mylyn plugins are under
the Eclipse installation but it does not work in the case of bundle pools,
for example /home/user/.p2/pool/plugins. Instead, ${osgi.syspath} can be used.
Change-Id: Ife437c6efe1b7677210cd5cb444cf689c4384874
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39626
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Wed, 14 Jan 2015 22:31:02 +0000 (17:31 -0500)]
ctf: Add flipping-endianness trace to the gitignore
Change-Id: Ib17ff7f179ecf01b10a0ebd96cabeb0cca01848f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39633
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Wed, 14 Jan 2015 19:32:06 +0000 (14:32 -0500)]
Fix references to linuxtools in ant build files
This prevented the "refresh after build" from working correctly.
Change-Id: I560a1c59db80c3cdf2b767543a82d209e61b305e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39620
Matthew Khouzam [Fri, 9 Jan 2015 15:24:36 +0000 (10:24 -0500)]
ss: make state system more inline with coding style
change variable names to be more fCamelCase
Change-Id: I31d9d5c712eb70c6286c5909e660263e1409f39b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39087
Marc-Andre Laperle [Wed, 14 Jan 2015 04:39:30 +0000 (23:39 -0500)]
Add test trace for flipping endianness (bug 453673)
Change-Id: I0e6028875683cc14489baf5f2fe8007c52b2dad6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39550
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 13 Jan 2015 11:58:39 +0000 (06:58 -0500)]
tmf: add schemas to build.properties file (bug 457322)
Change-Id: If5f30932e4c9225688a9dd01f9257acfc7b9ed62
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39471
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Mon, 12 Jan 2015 21:32:21 +0000 (16:32 -0500)]
Copyright header update, 2015 edition
Change-Id: I412ce918833500e1c8a9f864c25b3c487d384b15
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39427
Matthew Khouzam [Tue, 13 Jan 2015 01:08:59 +0000 (20:08 -0500)]
btf: fix order of modifiers in BtfEventPropertySource
Change-Id: Ie833ab7087eadaef7172c405ae7726622a57f71e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39443
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Francis Giraldeau [Wed, 24 Dec 2014 18:40:22 +0000 (13:40 -0500)]
TMF: Introduce a fast linear timestamp transform
The fast timestamp transform uses standard integer arithmetic to compute the
the transform, instead of BigDecimal, yet producing monotonic timestamp within
3ns of the original function.
Test that the fast transform yields about the same results as the original
function, either forward or backward, and also verify that the cache is
effectively used.
The benchmark results are:
Transform | time (ms)
-----------------------
original | 17310
fast | 256
This benchmark suggests that the fast transform is about 67 times faster than
the original transform.
Change-Id: Ifdf8e23b3e042bf1f2b0454e64a4ab4c47d408d4
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38770
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Fri, 19 Dec 2014 19:34:27 +0000 (14:34 -0500)]
tmf: Bug 422341: Mouse wheel on horizontal scroll bar a bit too small
- Remove the built-in horizontal scroll bar from the time graph control
- Add method to programatically scroll left or right in time graph
control
- Scroll horizontally instead of zooming on mouse scroll over horizontal
scroll bar, zoom on Ctrl+mouse scroll (Windows)
- Add a horizontal slider to the time graph viewer
- Scroll horizontally and ignore the slider's internal selection event
on mouse scroll, zoom on Ctrl+mouse scroll (Linux)
Change-Id: Ibee72b075c5344d1184fbd5f8fb75c6692f3fe21
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/38590
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Fri, 9 Jan 2015 22:55:29 +0000 (17:55 -0500)]
Add SourceReferences to plugins
This allows the user to clone and checkout the source code of Trace Compass
without knowing where the repository is. See:
https://wiki.eclipse.org/PDE/UI/SourceReferences
One use case is to right-click on a plug-in under the Plug-in dependencies in
Package Explorer view and select Import from Repository. Note that for this
EGit needs to be installed.
What this patch does is to let Tycho generate the source references in the
MANIFEST.MF of the built jars. So to test this patch, one can build the update
site locally and inspect the manifests of the (non-source) jars.
Change-Id: Ie28c96a03df01fa9f15b13ccc6e0662f2cb3d0f4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39339
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Fri, 9 Jan 2015 00:15:09 +0000 (19:15 -0500)]
tmf: Re-organize the SWTBot test plugin
* Move each test family in packages named similarly to their
runtime equivalents.
* Move the things meant to be reused by other swtbot test plugins
in a "shared" folder.
* Simplify the ConditionHelpers class.
Change-Id: I00cce218695d73f02722a14d248b456242d091f7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39243
Reviewed-by: Hudson CI
Alexandre Montplaisir [Thu, 11 Dec 2014 15:14:27 +0000 (10:14 -0500)]
tmf: Remove equals()/hashCode() from TmfEventRequest
Separate event requests should never be considered "equal", the only
thing the method could do is "return (other == this);", which is pretty
much what Object.equals() does.
Change-Id: Ia5723b65402c27acec83e76196d6dbda22f710d7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37762
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Geneviève Bastien [Thu, 6 Nov 2014 15:11:01 +0000 (10:11 -0500)]
TMF: Add @NonNull annotation to some TmfTraceManager methods
And have get*TraceSet* all return Collections instead of sometimes Set,
sometimes ITmfTrace[], sometimes null
Change-Id: I16769cd1e3adb5bc3846d9c078b6ddf1dc77fd4a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/36041
Reviewed-by: Hudson CI
Marc-Andre Laperle [Fri, 9 Jan 2015 21:05:47 +0000 (16:05 -0500)]
tmf: Add missing test files in jars and make XmlAnalysisModuleSource safer
If the analysis.xml.ui.tests binary plugin is present in an installation,
XmlAnalysisModuleSource looks for an inexistant file and throws a NPE.
In this patch, the missing files are included and XmlAnalysisModuleSource
is made safer in case an extension throws an exception.
Change-Id: I28669c4d6f0ae61af15d1e6cc48a8c7a16e1d783
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39156
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39333
Reviewed-by: Hudson CI
Alexandre Montplaisir [Wed, 3 Dec 2014 22:07:46 +0000 (17:07 -0500)]
Extract the linux-kernel-specific things into their own plugin
This will allow better separation of analyses that do not depend on a
specific kernel tracer (LTTng, perf, ftrace,...) vs those that really
depend on LTTng.
Change-Id: I9a3e018df91c90cc33d3066f49b7ac5be8bdb3d4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38385
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Thu, 8 Jan 2015 06:05:45 +0000 (01:05 -0500)]
Support for upgrading Linux Tools features to Trace Compass
This patch modifies each feature's p2.inf files so that it can be upgraded from
the matching feature in Linux Tools.
The lines to add the Trace Compass repository are now only in the TMF feature
to avoid a lot of duplication and it is only necessary to put this in a "base"
feature that the user is likely to install. This is only a shorcut so that the
user doesn't have to add the update site manually.
Change-Id: I81a5e65c151995888df78f4b47282d6ad1cfcf06
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39164
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Thu, 8 Jan 2015 22:05:28 +0000 (17:05 -0500)]
lttng: Remove the lttng2.kernel.ui.tests plugin
It's empty (save for a dummy Activator test), and this plugin is
well covered by SWTBot tests already.
Change-Id: I16e21f542971bd912fe2848c99b8602d1d89b6d5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/39242
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Mon, 15 Dec 2014 20:24:30 +0000 (15:24 -0500)]
TMF: Make the ITmfEventAspect#resolve nullable
A null value has the advantage to really show an aspect is not available for
a given event instead of having to find of dummy empty objects that we need to
compare with in most cases.
With the new common NonNullUtils class, it is now easy to convert a null value
to something useful, like a nonNull String, so it does not add useless null
checks to the code.
Change-Id: I9f41ec6522b5132244c630ce9a6b174599802954
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38297
Reviewed-by: Hudson CI
Geneviève Bastien [Mon, 15 Dec 2014 20:15:23 +0000 (15:15 -0500)]
common: Replace the String parameter in nullToEmptyString() by Object
Change-Id: I9deb9a2be7b39a45d90391716c02ffa7d2bc4b0a
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/38296
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Mon, 15 Dec 2014 22:48:44 +0000 (17:48 -0500)]
tmf: Null-annotate state system API classes
The main culprits here are the createStateProvider() method, that need
to pass a @NonNull trace, but simply take the result of getTrace() which
is already marked @Nullable. Simply wrapping them in checkNotNull() calls
feels lazy, but it's still better than the current situation.
Change-Id: Ic1ceb149cbb06e6f91a3351ef757231907a67ae2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38308
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Mon, 5 Jan 2015 18:10:05 +0000 (13:10 -0500)]
tmf/ctf: Speed up CtfTmfEvent#getType
This is called once per event per analysis
Change-Id: I9d975031ea5649e74fca0916f5190d08f35844d0
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38995
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Mon, 22 Dec 2014 17:29:32 +0000 (12:29 -0500)]
tmf: clean-up event provider package cycle
Change-Id: Ia6a9339ef41fecaa5d8b9bff89c2b929dff8afa9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39131
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Fri, 19 Dec 2014 20:31:34 +0000 (15:31 -0500)]
[LTTng Control] Store error stream output in command result (Bug 455801)
Change-Id: I9487153bc9b3a9ae653157615fba1cf03f2e56fb
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38739
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Fri, 19 Dec 2014 16:27:19 +0000 (11:27 -0500)]
[lttng control] Use List<String> for control commands (Bug 455382)
By doing this, it's not necessary to surround commands with wildcards
and filters with quotes which made these commands fail using
org.eclipse.remote/Built-in SSH and org.eclipse.remote.Local.
For the PTP RSE adapter for org.eclipse.remote, the user has to enter
quotes otherwise the command will fail. The UI was changed to allow
quotes in the text boxes.
Change-Id: I2185c5b658f635ff491a6022fab206c208ca5d8f
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38738
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Mon, 5 Jan 2015 22:44:37 +0000 (17:44 -0500)]
tmf: Fix IndexOutOfBoundsException in OffsetDialog
Exception occurred when opening the dialog from an empty experiment or
trace folder.
Change-Id: I454f76f24b3af3602fd2c52111ad63b1aae190e0
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39008
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Fri, 12 Dec 2014 23:09:02 +0000 (18:09 -0500)]
Add source features to update site
Change-Id: I4893c6f1d9303332bc79038372159c1055093206
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38183
Reviewed-by: Hudson CI
Marc-Andre Laperle [Mon, 5 Jan 2015 20:22:20 +0000 (15:22 -0500)]
Fix build error related to null annotations
Change-Id: I05bd255254bf6542a35bf2ee3d34e297da976f8d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39000
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 2 Dec 2014 12:32:33 +0000 (07:32 -0500)]
tmf: Make Pair utility class non-null and immutable
Nullable generic types summon all sorts of hells with Java 8
type annotations. Making this class immutable and non-null
makes it much easier to handle.
Change-Id: I58007eaa488db337d0f34698e3144f232ee3c784
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37517
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Mon, 22 Dec 2014 18:47:58 +0000 (13:47 -0500)]
tmf: add utilities to support '\' and ':' in path manipulation
Change-Id: I52dcaaeebd33e58c32061307baec532e6bc219e7
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38691
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Mon, 22 Dec 2014 22:56:02 +0000 (17:56 -0500)]
Fix more cast warnings (errors) when targetting 4.5
Change-Id: Idb30ee34374e5c0efd005146ed80709ac260d806
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38700
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Thu, 4 Dec 2014 03:53:03 +0000 (22:53 -0500)]
TMF: Add tracing capabilities for analyses
Change-Id: Ic8eede9defc25eb604bb453f8d1efde7608a85f2
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/37599
Reviewed-by: Hudson CI
Geneviève Bastien [Thu, 4 Dec 2014 02:46:32 +0000 (21:46 -0500)]
LTTng: Add unit tests for the virtual machine analysis
Tests the virtual CPU state system and its integration with LTTng kernel
analysis.
Change-Id: I22467a6d6d502e60d87ee37322c4df83834f7575
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/37601
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Mohamad Gebai [Thu, 4 Dec 2014 02:40:56 +0000 (21:40 -0500)]
LTTng: Introduce the virtual machine analysis analysis and core model
This patch includes the core part of the virtual machine analysis:
* An experiment type for experiments containing guests and host traces
* A generic model for hypervisors to determine which virtual CPUs of which
guests run on which hosts
* The implementation of that model for the Qemu/KVM hypervisor
* The virtual machine analysis itself, tracking the state of the virtual CPUs
of the guests
Change-Id: I5763687fac627c78ae07b58ec60d907cf7339ff8
Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/37600
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Thu, 20 Nov 2014 21:04:08 +0000 (16:04 -0500)]
LTTng: Add analysis specific methods to LttngKernelAnalysis
Change-Id: Ie5ea536fcd050177a4dfcc8bcc08f33d1cd14783
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/36816
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Fri, 19 Dec 2014 22:49:32 +0000 (17:49 -0500)]
rcp: Fix not being able to print the Sequence diagram
Bug: 436440
Change-Id: I09b0169602b16eaef4759119d2cc32d6d3c0ac3a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38455
Reviewed-on: https://git.eclipse.org/r/38600
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 16 Dec 2014 20:59:50 +0000 (15:59 -0500)]
rcp: Add missing plugin dependencies to the RCP
Change-Id: Ic2a5352918db2a2875b7ecc2c3cc43ad5eb9f3ca
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38383
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Tue, 16 Dec 2014 19:50:44 +0000 (14:50 -0500)]
Upgrade to Tycho 0.22.0 (again) and newly released JBoss plugin 0.22.0
Change-Id: Iaf68a882135a13fc1184c90370b6fe0975f4ac6a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38377
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 26 Nov 2014 22:42:56 +0000 (17:42 -0500)]
tmf: Use TmfFilterMatchesAspectNode's in the event table
This will allow filtering/searching on aspects in the event table,
which is more flexible than fields with field IDs.
With this switch, we can now remove the notion of getFilterId() from
the event aspects.
Change-Id: Iecbc47de06c44ef2d114dc3225cd094c111f1f08
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37124
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Tue, 2 Dec 2014 13:58:28 +0000 (08:58 -0500)]
Use the NonNull utility methods where we can
This could allows us to bump the "check conversion of non-annotated
type to @NonNull" warning to error, but we can't at the moment because
of bug 453474.
Change-Id: If3265067e68627b6379770fb5503259760c67b18
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37618
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Marc-Andre Laperle [Fri, 12 Dec 2014 21:59:18 +0000 (16:59 -0500)]
Support for live sessions using LTTng MI (2.6)
Change-Id: I946559f931dd20cc954a4714e647e6fd67ef502e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38180
Reviewed-by: Hudson CI
Matthew Khouzam [Mon, 15 Dec 2014 11:25:52 +0000 (06:25 -0500)]
lttng.control: make live timer a long
Change-Id: Ia24d268ac4ead13fc86e057aebc236a43d23ec8a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38234
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Matthew Khouzam [Sat, 29 Nov 2014 16:43:53 +0000 (11:43 -0500)]
ctf: make StringDeclaration "static"
StringDeclarations are only really available in 3 flavors, so this
creates an immutable object of each type.
Change-Id: If06a89ad285f262a386379fe1fa74ea6bacf9863
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37316
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Matthew Khouzam [Tue, 25 Nov 2014 23:28:53 +0000 (18:28 -0500)]
ctf: fix checkstyle for ctf.core
Many magic numbers
Final classes
Change-Id: Id89c8028fe3e402130a31279ce564228a86fa87b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37088
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Mon, 1 Dec 2014 19:32:13 +0000 (14:32 -0500)]
Bug 453706 - Uncategorize RCP and Testing features
The RCP features should not be installed by users but should be available
for RCP extending Trace Compass. The Testing feature is also not meant to
be installed by users manually.
Change-Id: I208d49d8a10d7898969cad73b621b268756b43f5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37420
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Thu, 11 Dec 2014 21:06:17 +0000 (16:06 -0500)]
Remove Uncategorized category using JBoss plugin and downgrade Tycho
The JBoss doesn't support Tycho 0.22.0 yet.
Change-Id: I44dd080d8c0e6a9bdf071a7aa3005c00be4fdfb1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38070
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Simon Marchi [Thu, 11 Dec 2014 20:08:39 +0000 (15:08 -0500)]
Implement TmfRangeSynchSignal toString
I found it sad that TmfTimeSynchSignal had its toString but not
TmfRangeSynchSignal. This commit fixes the injustice.
Example of the result:
TmfRangeSynchSignal [source=\
org.eclipse.tracecompass.tmf.ui.views.histogram.HistogramView@
3a7b058e, \
range=TmfTimeRange [fStartTime=03:02:54.940 166 462, \
fEndTime=03:02:54.977 325 374]]
Change-Id: Ic3accae7610e454736497251c170fbdecb9b83fb
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/38067
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Thu, 11 Dec 2014 16:40:33 +0000 (11:40 -0500)]
Remove unintentional dependency to CTF in TMF feature
Change-Id: Iad0b96e142410072e2758e07035b97fa459e9dfa
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38059
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Thu, 11 Dec 2014 14:55:38 +0000 (09:55 -0500)]
tmf: Fold ITimeEvent2 into ITimeEvent
Also split the one method in ITimeEvent2 into two separate ones,
since the Pair object was never used, so we can return the two
separate values directly.
Change-Id: Ia711b9cacf803b3afab1982a831478aef0bc38e1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38039
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Thu, 11 Dec 2014 15:47:53 +0000 (10:47 -0500)]
tmf: Synchronize on a class literal, not on this.getClass()
Change-Id: I4612e842d8494d651c37bc77b4109f03dba4056a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/38051
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Tue, 2 Dec 2014 13:58:28 +0000 (08:58 -0500)]
common: Add utility class for non-null things
These utility methods should help avoid the crufty
@SuppressWarnings("null")
@NonNull ret = ...;
return ret;
pattern we had been using so far.
Change-Id: I8c1aa8469dc466a1b42aae799b24789dc23837cf
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37516
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Bernd Hufmann [Wed, 2 Apr 2014 20:11:16 +0000 (16:11 -0400)]
tmf: Update TmfExperiment to new API in ITmfEventProvider
Change-Id: I3ab5f0c8c731921674e693622e5c92265a165ae9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35970
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Mon, 17 Mar 2014 01:49:38 +0000 (21:49 -0400)]
tmf: only dispatch events to relevant event providers
When coalescing request across event providers (e.g. Experiment and
traces) then the requests done on the traces are not interested
in events from other requests. Before this patch each implementation
of handleData() had to do this.
Change-Id: I1482c79ef3a0359b9b3526212c4555b57c102650
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35969
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Fri, 14 Mar 2014 01:59:40 +0000 (21:59 -0400)]
tmf: add JUnits for coalescing across parent/children providers
Change-Id: I5cbb5a3784962048df5c251cf76912ba1dd6c847
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35968
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 11 Mar 2014 11:44:34 +0000 (07:44 -0400)]
tmf: coalescing across event providers
Change-Id: I971854ba0f062acc0a3480bba90b02ee42082131
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35967
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 11 Mar 2014 20:02:48 +0000 (16:02 -0400)]
tmf: update TmfTraceManager for new API in ITmfEventProvider
Change-Id: I98ff0a37290be4dae1de63ec852beb3d170edd8f
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35966
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 11 Mar 2014 14:09:24 +0000 (10:09 -0400)]
tmf: Add parent/child API to the ITmfEventProvider interface
Change-Id: I2fec1da979033454552c45b52e4e2e3153295cd0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/35965
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Mon, 8 Dec 2014 21:10:55 +0000 (16:10 -0500)]
tmf: Fix possible concurrency issue with event request IDs
Protect accesses to the static field with a static lock, to make sure
that all requests really have different IDs. Now that coalesced
requests are put in a Set, the IDs matter.
Change-Id: Iccb226aa6969c8150e0c8cc506b8c68a94e902ee
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37759
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Alexandre Montplaisir [Tue, 9 Dec 2014 20:20:18 +0000 (15:20 -0500)]
Re-enable the "unused method paramater" error
Revert of commit
a6503a11.
Now that bug 439750 was fixed, and a new separate "unused exception parameter"
compiler option was added, we can re-enable the previously-used setting of
"unused method parameters".
This should not break existing 4.4 installations, since the old option didn't
check for exception paramaters at all. Only requirement would be for 4.5 users
to update to the latest integration build.
Only one such error slipped in while the option was disabled, which is honestly
not that bad!
Change-Id: I9d14daea3f004ed000ab9f9b72e46b5954579a8d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37892
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Mon, 8 Dec 2014 21:38:29 +0000 (16:38 -0500)]
Add BTF feature to update site and RCP
Change-Id: Ia1770a3d35e6bd592f8dc8063b951a4375e4de2b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37761
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 9 Dec 2014 03:11:30 +0000 (22:11 -0500)]
rcp: Avoid deleting the index.php on the server
Only include the tar.gz and zip files, which should cover only
the RCP archives.
Change-Id: I39a635da606265f311fe23de2e52a8d5f2bbb962
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37782
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Mon, 8 Dec 2014 03:52:07 +0000 (22:52 -0500)]
tmf: Fix supplementary files always being imported in trace package
Change-Id: Ia7cb4f8434e1221c9a4c1e49e9ce49895a8ec0e1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37765
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Mon, 8 Dec 2014 03:34:46 +0000 (22:34 -0500)]
Add utility method to open a trace in the editor using SWTBot only
Change-Id: Ia98e7c029b46fdae4489e24ddfc0ee8c41963eb3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37715
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37764
Reviewed-by: Hudson CI
Alexandre Montplaisir [Mon, 8 Dec 2014 21:22:41 +0000 (16:22 -0500)]
Delete extra "linuxtools" image
A o.e.linuxtools plugin sneaked its way into the tree in
80f680b!
The exact same picture is already part of the corresponding tracecompass
plugin, so we can safely delete it.
Change-Id: I45ce43ffd3395aeb0cefa7318c0c953ccb4f5fde
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37760
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
This page took 0.046818 seconds and 5 git commands to generate.