Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-05-24TMF: Validate if an analysis can be executed using the requirementsGeneviève Bastien8-10/+105
Change-Id: If4b51af84c4fc3dc7541629b69e950b0cc54cb00 Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net> Reviewed-on: https://git.eclipse.org/r/26294 Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Hudson CI
2014-05-24TMF: Strike-out analyses that cannot be executedGeneviève Bastien3-4/+91
Also add an interface, ITmfStylecProjectModelElement to allow elements to change the style of their text. Change-Id: Iab0fa42b91539d5dbdd4a69917a2b35b3346ca05 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/26293 Tested-by: Hudson CI
2014-05-23tmf: internalize the trace import wizardsBernd Hufmann22-56/+25
Change-Id: I8f0fdf0c47da543f2545b81a77ee7f66cfe33e56 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26673 Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-05-23tmf: Move ImportTraceWizard messages in correct packageBernd Hufmann6-175/+197
Change-Id: I90434653da549e94f5ea10940822930a41f7d20d Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26672 Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-05-23Downgrade to Tycho 0.20.0 to fix buildMarc-Andre Laperle4-5/+11
Tycho 0.21.0-SNAPSHOT seems to fragile right now for us to use for the Luna release. We needed 0.21 to work around a bug in IcedTea but we can work around this issue by setting the SWT_GTK3=0 environment variable when executing the build instead of having it in the pom.xml. This is less convenient but more prudent in order to stabilize the build. Change-Id: I33fc64552c73a0cd8f2eac12fa27afab6af92557 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/27213 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-22TMF: Remove XML header classes, they are not useful anymoreGeneviève Bastien8-246/+50
With the XmlUtils utility methods, there is no added value to wrap them in a class and they are accessible from everywhere. Change-Id: I66d15423ef4dadc18a77caef6af2d63faa426173 Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net> Reviewed-on: https://git.eclipse.org/r/25584 Tested-by: Hudson CI Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
2014-05-22ctf: Rename Stream* classes to CTFStream*Alexandre Montplaisir23-183/+160
"Stream" will become very confusing with java.util.stream.Stream when Java 8 comes. Rename those classes to CTFStream, for better namespacing. Change-Id: Ifb239af0366553472463c50d8e6ed899e002f880 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/27067 Tested-by: Hudson CI Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2014-05-20lttng: Restrict version of jdt.annotation in Tycho target platformMarc-Andre Laperle1-0/+9
This works around the problem of jdt.annotation 2.0 being used which requires Java 8. Change-Id: I042709d044e40c3eb1220c2cc2a5c5687c06c102 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26967 Tested-by: Hudson CI
2014-05-16tmf: Use LinkedHashMap in state system Attribute classBernd Hufmann1-2/+2
By doing that the order in which sub-attributes are added is preserved. The call stack view showed incorrect stack frames because of that. Change-Id: I43c344d9d2667de625f9f776d76ab1bff144598a Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26759 Tested-by: Hudson CI Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
2014-05-16tmf: Support tree structure in SelectSupplementaryResourcesDialogPatrick Tasse2-23/+107
Change-Id: I62ccb5d80ace123621e2df4ddcd58dbf2fbf4d8e Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-on: https://git.eclipse.org/r/26736 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-16Change Tycho snapshot repository to the working repo.eclipse.orgMarc-Andre Laperle1-1/+1
Change-Id: Ia1eac7175691832786f06f7f914eb67796822d60 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26735 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-05-16lttng: Use specific antlr version in targetsMarc-Andre Laperle3-6/+6
To work around bug in Kepler PDE with 0.0.0 versions not using the latest version. Change-Id: I34cfd5334e3d1bc4e510f3fa694cb52f0398d8b6 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26729 Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
2014-05-15tmf: Cleanup Statistics View classes a bitAlexandre Montplaisir5-261/+196
- Remove useless interfaces - Change protected fields to private, make some of them static - Use Immutable List/Set where applicable Change-Id: Ia351e820ea6d5988074d227d369db9f821374026 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/26476 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-15tmf: Remove unneeded null check in SyntheticEventProviderStubAlexandre Montplaisir1-10/+6
Change-Id: I7df4764683fbb5dbdfdbea3309276930454a0dc9 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/26648 Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
2014-05-15tmf: Improve Delete Supplementary Files commandPatrick Tasse5-240/+117
- Make all checkbox elements checked by default in the dialog - Allow multiple selection as long as at least one of the selected elements has supplementary files - Update trace handler to support both traces and experiments, and delete the experiment handler - Ensure supplementary files for a particular trace are only shown once in the list (e.g. same trace selected both under Traces folder and under experiment, or two experiments selected that contain the same trace) - Ensure only traces and experiments that have supplementary resources to delete have their editors closed, and that their project is refreshed only once. Change-Id: I91f823c67c15da699c815fdf9daf9cfec5082ec9 Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com> Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/25858 Tested-by: Hudson CI
2014-05-15Lttng: Log test assert failures.Andrew Ferrazzutti1-2/+2
Add messages to two assert statements that otherwise produce identical output. Change-Id: I05e2b077a49fc9c9b21c9d394f9d25adbc261969 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/26551 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-05-15Systemtap: Improvements to remote operations.Andrew Ferrazzutti25-418/+357
-Resolve EBZ #433422. -Apply environment variables passed to remote runs. -Restore option to specify port number for remote operations. -Improve some error dialogs relating to failed remote connections/runs. -Cleanup, syntax standardization, and removal of unused modules/preferences. Change-Id: I6f18afaa97efb3f4196261dff51b55454b6e3ee1 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/26406 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-05-15Systemtap: Make improvements to tapset trees.Andrew Ferrazzutti33-690/+920
Allow stored tapset trees to save all information of probes and functions, including proper icons and definition locations. Also perform general cleanup and optimization on tapset tree creation, and fix EBZ #430732. Change-Id: I054c383e17c379a7f8b6e7cb5a2c1d5097cb402e Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/25596 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-05-14tmf: Mark ITmfEventRequest.handleData's parameter as NonNullAlexandre Montplaisir10-49/+36
It seems every single event request implementation out there does a null check on the event it receives in handleData(). TmfEventThread already does a null check before sending the event to this method, so it can be marked @NonNull, which avoids a bunch of redundant checks. Change-Id: I1d54d5f3f5a08af150ab0a6011d075a366db4b48 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/26247 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-14Systemtap: Clean UI plugin; organize packages.Andrew Ferrazzutti17-158/+84
-Remove/replace unused strings in .ui.ide/lugin.properties. -Move all Handlers in .ui.ide.actions to .ui.ide.handlers. Change-Id: Ic95d825a991f775be9161ef72d01a9a3e53046a1 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/26482 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-05-14Systemtap: Hide inactive tool buttons on startup.Andrew Ferrazzutti7-51/+89
Prevent inactive Systemtap toolbar items from appearing on startup before their providing plugins are loaded. Do this by using activeWhen instead of enabledWhen. (Resolves EBZ #434802.) Change-Id: I1a514d06946289d1781e428cd75c7b05d7b85d16 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/26481 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-05-14Systemtap: Apply launch enablement restriction.Andrew Ferrazzutti1-6/+11
In stap's contextualLaunch enablement logic, reapply the check for IPathEditorInput that was removed by f663000; the changes made by 3002890 make this check appropriate again for limiting context-menu launches to script editors. Change-Id: I816eaa6699db35ecf4b5b767d2130ee85ae63abe Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/26472 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-05-13[tmf] Close event editors on project delete and closeMarc-Andre Laperle1-1/+26
Bug: 433091 Change-Id: I4ede4e232c3d84b89042a3a8e1ed8a0b366ef0bf Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/25377 Tested-by: Hudson CI
2014-05-13tmf/lttng: git-ignore generated screenshots directory of swtbot testsBernd Hufmann3-0/+3
Change-Id: I4d27e332074859384b421760484f39d9392e8400 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26404 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
2014-05-13tmf: Add new interface to get pre-defined data typesGeneviève Bastien9-118/+249
This way, other trace classes may implement this interface and be queried on the events it might contain. This will be useful for analyses who can query traces to know whether or not they might contain the events it needs to execute. This can be used by many traces. The TmfEventTypeCollectionHelper class should help extract useful information from the set of events. At least until Java 8 comes out. Change-Id: I1758c0d99b2b4d4b91f5b7fa3ee14b82c325dede Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net> Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/22937 Tested-by: Hudson CI
2014-05-13lttng: Remove all unnecessary gitignore filesBernd Hufmann47-152/+2
"bin" and "target" can be set in the top-level .gitignore, which leaves no need to repeat such files in the plugins' directories. Change-Id: I6f3cb4259587aae199a3ca1418eeeee80c07b7df Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/26410 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-13tmf: Add a TextTraceEventTable for text tracesAlexandre Montplaisir2-0/+67
Current text trace implementation store all their information (timestamp, type, event content, etc.) as ITmfEventField's. Provide a standard TextTraceEventTable implementation which simply displays the contents of the event fields, one per column. Change-Id: I20989a479827f899edfa7289f6f9456cea2637f7 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/26312 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-12ctf: add scope to packet headerMatthew Khouzam1-1/+1
add a trace defintion scope to a packet header, instead of it being null. Change-Id: I6e8d361101fb0a71f25665f921378131744d8d92 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/25862 Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Hudson CI
2014-05-12tmf: Don't use ITmfEventField in TmfEventsTableAlexandre Montplaisir7-108/+72
TmfEventsTable used ITmfEventFields to transfer what it calls the "fields" of an event row in the table. These are simple Strings at their heart though, ITmfEventField is used for event payloads only. This removes many unnecessary object creations. Change-Id: Ieb82651c6dc7b54505e24a1c21cfa3222a193bbf Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/26231 Tested-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-12tmf: Fix the progress monitor in package export and importMarc-Andre Laperle2-4/+5
Change-Id: I0d126a78904e84bae80ff789dc6410d6f727eb48 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26314 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-12tmf: Add initial SWTBot test for ImportTraceWizardBernd Hufmann5-262/+478
Change-Id: If533ffb1fcd9d7df865480f0e1c679ea3b4afa80 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26230 Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-10perf: Remove TestSuite.Alexander Kurtakov2-25/+0
It doesn't serve anything as both maven/tycho and pde/jdt easily determine the tests to be run witout a test suite and these tests revering to org.eclipse.remote which is still in flux make me want to be able to disable some of theb by simply rm them. Change-Id: I177d9fe0bb9ec561f209786abb7855a3acce1be5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/26313 Tested-by: Hudson CI
2014-05-09tmf: Support folders in package importMarc-Andre Laperle3-113/+149
Change-Id: I2338b8e250c7afda9d8c576db56b76b00429b9a6 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26232 Tested-by: Hudson CI
2014-05-09lttng: Enable null-checking in test pluginsAlexandre Montplaisir24-25/+44
For some reason, annotation-based null checks were disabled in the tests plugins. To avoid NPEs during tests, might as well enable and benefit from them. Change-Id: Ib5b50a37e477aa8619f316cdbf0271ab33fce796 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/26072 Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Hudson CI
2014-05-09tmf: support folders in export trace package featureBernd Hufmann3-24/+46
Change-Id: I55fdf352e8f320c98556dea61bddb395f3e3bbae Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/25581 Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Hudson CI
2014-05-09lttng-control: Fix creation of auto sessionBernd Hufmann1-2/+2
Change-Id: I7f531ad9c59795789f40b26a21470ab1b2878366 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26306 Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-05-09lttng: Allow local host connection (non SSH) for LTTng controlBernd Hufmann6-9/+34
Change-Id: I937c76141195f02d5c3694327e4e085764cd00c4 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26300 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-05-09lttng-control: Fix creation of snapshot sessionsBernd Hufmann1-1/+7
Change-Id: Idc0279fdb7f94158537f38b8a1d9dd1ea80f45d1 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26161 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-05-09ctf: get iterable of stream input readersMatthew Khouzam2-0/+31
This patch adds a way to get all event declarations from a CTFTraceReader Change-Id: If12805ba6436ab5f5ce562686f5870c0fbf05261 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/23284
2014-05-09Gcov: Log test job failures.Andrew Ferrazzutti2-10/+19
Within a GCovTest, when a JobsRunning wait condition times out, print information about the failure to standard output. Also, increase the allowable timeout of the "dump CSV" job. NOTE: the purpose of this patch is to aid in finding the cause behind test failures, so the changes made to JobsRunning.java should be reverted once the failures are fixed. Change-Id: I4b4649003873ec19fe7ab46f63f2caeb1bf144f4 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/26297 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
2014-05-09lttng-control: Use legacy import wizard for network tracesBernd Hufmann1-2/+2
Change-Id: I0dbb361d858b2a4b1188845e84c62a7bcea681e3 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26164 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-05-09lttng-control: Auto-detect LTTng trace type during importBernd Hufmann3-45/+7
Change-Id: I2bb301151b689d2417f2fc7e62c8f3104e8727a1 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26163 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-05-09lttng-control: Preserve session folder structure during importBernd Hufmann3-45/+65
Change-Id: Ia4071a08a83d85838b1c83dbbff43b3a622f6587 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26162 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-05-08tmf: Make IAnalysisModule AutoCloseableAlexandre Montplaisir10-124/+172
This will help ensure that we always close()/dispose() analysis modules when we are done using them. This exposed many places in the tests where unclosed modules could be leaking resources. Change-Id: I32b9168d27460bd5daca61edebc38746a919ee4d Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/25895 Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net> Tested-by: Hudson CI
2014-05-08tmf: Fix Filter viewer context menu when opened from Colors viewMarc-Andre Laperle2-15/+33
When the filter viewer was opened from the Colors view, the context menu did not appear anymore. This is because the context menu code was moved to the FilterView from the FilterViewer so it would only be executed opening the Filters view. The fix moves the code back to the viewer and exposes the menu to the view so that it can add other menu items through extentions. Change-Id: I0fd447186342bfded6fb202590bbf0e69af6236a Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/25689 Tested-by: Hudson CI
2014-05-08tmf: remove open trace directory and use open trace file insteadBernd Hufmann12-105/+78
For directory traces like CTF the user has to select one of the files of the directory trace. The open procedure will first verify that the parent directory is a valid directory trace. If yes, then it will be opened with the corresponding trace type. To cover the index file of CTF which is in a subdirectory of the trace directory, also the grandparent directory of the selected file will be checked for a directory trace type. If neither parent or grandparent directory is a valid directory the file will be imported as before. Change-Id: Id6b4d8b177875b5c018cbbed82816f3ba52b067a Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com> Reviewed-on: https://git.eclipse.org/r/23386 Tested-by: Hudson CI Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net> Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net> Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-08tmf: Copy ResourceTreeAndListGroup from platform to keep compatibilityMarc-Andre Laperle2-3/+1249
ResourceTreeAndListGroup was internal in Kepler and we referenced it. It is now removed in Luna. To keep our builds compatible with Kepler, we need to have our own version of this class. Once we stop supporting Kepler, we can delete this class and use the public one from the platform. Change-Id: I35185bbc9de551cacd6aaca3d12952f04c80d34e Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/26165 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-08changelog: Bump feature versions to 3.0.0.Alexander Kurtakov6-6/+3
This gives clear update path for upstreams which were always confused with changelog being at 2.x before Linux Tools 1.0. Some standartizaton would help clarifying things. Change-Id: I4cd8b16a1555f71a892ebe0e7ce89abafca980e9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/26209 Tested-by: Hudson CI
2014-05-08tmf: Add a TextTraceEvent for text tracesAlexandre Montplaisir5-31/+104
Also restricted some parameters and return values in TextTrace to use TextTraceEvent and TextTraceContext instead. Change-Id: Iaec0c5c00cf479666f88b8042923de73df49bca5 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/26077 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
2014-05-07tmf: Restore TextTraceEventContent.getField(int)Alexandre Montplaisir1-16/+31
Commit 0554e04 moved the notion of field indexes down from the framework into the TextTraceEventContent. Since this class keeps the getFieldName(int) convenience method, getField(int) should also remain there. Change-Id: I5c30c18d605b6ee75e1867966a4fb8fdd5cdf2cd Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/26069 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>

Back to the top