deliverable/tracecompass.git
9 years agotmf: add progress feedback to select traces operation
Bernd Hufmann [Fri, 18 Jul 2014 12:13:45 +0000 (08:13 -0400)] 
tmf: add progress feedback to select traces operation

Change-Id: I404ee0d6af2912494e5421be092bb7ff868f5607
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30121
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: add way to not refresh project when adding a trace to experiment
Bernd Hufmann [Fri, 18 Jul 2014 17:23:06 +0000 (13:23 -0400)] 
tmf: add way to not refresh project when adding a trace to experiment

Change-Id: I9b9a049bb196efe073d41986da0ee5211fc371d4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30135
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agotmf: Fix Call Stack sort icons not set when dialog setting doesn't exist
Patrick Tasse [Fri, 18 Jul 2014 18:43:53 +0000 (14:43 -0400)] 
tmf: Fix Call Stack sort icons not set when dialog setting doesn't exist

Change-Id: I45c87a45e7572005010a10116ea0973e3aee7017
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30138
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agolttng: Add Eclipse 4.4 target
Marc-Andre Laperle [Fri, 18 Jul 2014 18:44:28 +0000 (14:44 -0400)] 
lttng: Add Eclipse 4.4 target

Also, don't reference simrel update site because it's big.
This should make the targets a bit faster.

Change-Id: I42c52db65a1b852c3e5b3e307a29ceb3e90c2ec9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30139
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
9 years agotmf: clean up pcap.core
Vincent Perot [Thu, 17 Jul 2014 19:51:18 +0000 (15:51 -0400)] 
tmf: clean up pcap.core

Change-Id: I5167232dc80effbe762825daa5fac28a27c3549d
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30084
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agotmf: fix warning in CallstackEntry
Matthew Khouzam [Fri, 18 Jul 2014 17:03:42 +0000 (13:03 -0400)] 
tmf: fix warning in CallstackEntry

Change-Id: I08bd4620ed74cbd1d603efa3f30cd25ff24ce565
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30133
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agoTMF: Add host ID to CTF traces' properties
Geneviève Bastien [Mon, 14 Jul 2014 20:39:16 +0000 (16:39 -0400)] 
TMF: Add host ID to CTF traces' properties

Change-Id: Ic329c52abbef4c48c87b0c60aaac899007240924
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29881
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: fix the ctf parser benchmark
Vincent Perot [Thu, 17 Jul 2014 19:48:54 +0000 (15:48 -0400)] 
tmf: fix the ctf parser benchmark

Change-Id: Ieabefd01a81608ffee475bd114160b1e50df34ed
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30085
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agoTMF: Update guava version to 15.0.0 to match that of wikitext
Geneviève Bastien [Thu, 17 Jul 2014 19:14:05 +0000 (15:14 -0400)] 
TMF: Update guava version to 15.0.0 to match that of wikitext

Change-Id: Id0600fcaee2b395ebae6a393c0a66cd0ec77f7b5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/30080
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Add sort options to Call Stack view
Patrick Tasse [Thu, 17 Jul 2014 14:43:01 +0000 (10:43 -0400)] 
tmf: Add sort options to Call Stack view

Change-Id: Idcfe2b9562c6701d337d5fee1e49d5c8fa6c8de4
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30054
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
9 years agotmf: Add sorting capability to TimeGraphEntry
Patrick Tasse [Thu, 17 Jul 2014 14:42:26 +0000 (10:42 -0400)] 
tmf: Add sorting capability to TimeGraphEntry

Also update Resource view to use the new interface.

Change-Id: I492145df6c4f787015c68eb33f6d86c68013c8ff
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30053
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Add thread id to call stack state system
Patrick Tasse [Fri, 11 Jul 2014 20:30:17 +0000 (16:30 -0400)] 
tmf: Add thread id to call stack state system

This will optionally be used for sorting threads

Change-Id: Ie38aba65745f123a5195ac1621a749d24fbffa93
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29836
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
9 years agotmf: Add trace entry parent in Call Stack view
Patrick Tasse [Fri, 11 Jul 2014 19:42:55 +0000 (15:42 -0400)] 
tmf: Add trace entry parent in Call Stack view

The root entries in the Call Stack view tree are now trace entries and
the thread entries are child of their corresponding trace.

The CallStackEntry and ThreadEntry classes now extend TimeGraphEntry.

The thread name is now displayed in the tool tip.

Change-Id: I91091d492d3304ad1cd5588af807e18c65093e8f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29835
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Make TimeGraphEntry implementation less restrictive
Patrick Tasse [Fri, 11 Jul 2014 17:31:07 +0000 (13:31 -0400)] 
tmf: Make TimeGraphEntry implementation less restrictive

A TimeGraphEntry's parent and children no longer have to be instances
of TimeGraphEntry. They can now be any type of ITimeGraphEntry.

The method addChild(int, ITimeGraphEntry) is added to insert a child at
any position.

Change-Id: I8144c7f06505c3a2a4c56264e1543fab84a77be5
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29829
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Make TmfEventField's equals() also check the sub-fields
Alexandre Montplaisir [Thu, 10 Jul 2014 21:21:58 +0000 (17:21 -0400)] 
tmf: Make TmfEventField's equals() also check the sub-fields

If two TmfEventField objects have the same name/value but different
sub-fields, they were considered equals. With this patch, they also
need the same sub-fields.

Change-Id: I7e07a5624348b812878e1934425a29fba4737e4c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30001
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoTMF: Update the benchmark's scenario ID to match our own spec
Geneviève Bastien [Tue, 15 Jul 2014 16:17:30 +0000 (12:17 -0400)] 
TMF: Update the benchmark's scenario ID to match our own spec

As we discussed, the names of benchmark should be org.eclipse.linuxtools#
<Application component>#<identifier of the scenario>

Change-Id: I78f0c3207a824990706bc8d479044d8df2024708
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29918
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agoTMF: Add developer documentation for performance tests
Geneviève Bastien [Fri, 27 Jun 2014 15:54:32 +0000 (11:54 -0400)] 
TMF: Add developer documentation for performance tests

Change-Id: I6d43db374bce3c3c99fd6621b8254352c40576d3
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29132
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Allow call stack module to override default attribute path
Patrick Tasse [Tue, 8 Jul 2014 21:09:11 +0000 (17:09 -0400)] 
tmf: Allow call stack module to override default attribute path

This patch allows a specific implementation of the abstract call stack
analysis module to override the default state system attributes to use.

The call stack state system is also stored in the call stack entry to
avoid computing it repeatedly.

Change-Id: I1541cd639d38944225765e69d7150f1ea8def881
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29634
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agotmf: Update the AbstractTimeGraphView to use the refresh handler
Alexandre Montplaisir [Fri, 4 Apr 2014 21:52:54 +0000 (17:52 -0400)] 
tmf: Update the AbstractTimeGraphView to use the refresh handler

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

9 years agotmf: Update the statistics viewer to use the refresh handler
Alexandre Montplaisir [Fri, 4 Apr 2014 21:51:38 +0000 (17:51 -0400)] 
tmf: Update the statistics viewer to use the refresh handler

Change-Id: Ic4a9a60c949e077ed37c25b7de2340730e8d0094
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24480
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Provide a static method to retrieve state systems
Alexandre Montplaisir [Tue, 13 May 2014 21:55:21 +0000 (17:55 -0400)] 
tmf: Provide a static method to retrieve state systems

This new method in TmfStateSystemAnalysisModule will:

- Null check the analysis module, so callers don't all have to do it.
- Start the execution of the module, if required (calling schedule()
  after it has already been started is a no-op).
- Avoid exposing a ITmfAnalysisModule object, which is Closeable
  because it holds disposable resources.

This fixes a bunch of the new potential leaks warnings (actually, it
isolates them in one place). Eventually the analysis module API might
have to be reworked, to either never expose the analysis module objects
publicly, or to separate the "accessor" objects from the ones holding
the resources.

Change-Id: I693d233f02a8f53c49c5dc429a84c098bd35f004
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26487
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agolttng: Fix string externalization in plugin.xml's
Alexandre Montplaisir [Fri, 4 Jul 2014 18:36:05 +0000 (14:36 -0400)] 
lttng: Fix string externalization in plugin.xml's

Some strings were not externalized, some others were refering to
non-existing labels.

Change-Id: I2e0052785c02a008de81d7328e47fddfb0e1876c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29492
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
9 years agolttng: Resynchronize project settings
Alexandre Montplaisir [Mon, 14 Jul 2014 19:04:36 +0000 (15:04 -0400)] 
lttng: Resynchronize project settings

Simply ran the sync-settings.sh script. This introduces warnings in
tracing.examples, but those are related to unclosed analysis modules,
so they will go away once the analysis module un-auto-closeability
patch goes in.

Change-Id: Ieb8f7b82dbda17847050dd92e167f4b4dddb2c61
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29880
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
9 years agotmf: Add a handler for UI refresh operations
Alexandre Montplaisir [Fri, 4 Apr 2014 21:47:36 +0000 (17:47 -0400)] 
tmf: Add a handler for UI refresh operations

To avoid having many many threads calling Display.asyncExec()
concurrently, offer a way to "coalesce" those UI operations.

Components can now call TmfUiRefreshHandler.getInstance().queueUpdate()
instead, which will accumulate updates coming from many components,
keep only the latest one from each component, and send them all to
the UI thread in one go after a timer has expired.

Change-Id: I367a59584a9a2b57d8409df603fc120bea993cd0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24479
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
9 years agotmf: Initial commit of Pcap Parser
Vincent Perot [Tue, 3 Jun 2014 21:37:09 +0000 (17:37 -0400)] 
tmf: Initial commit of Pcap Parser

This commit is the first step toward adding pcap-reading abilities to
TMF. It only adds the parser, and as such it is completely
independent from TMF. The parser supports four protocols (Ethernet,
IPv4, TCP, UDP) and both microsecond and nanosecond pcap files.

Change-Id: I334571c06a44cec99f9e37011fbfaa27b6a414e3
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27887
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
9 years agotmf: Add missing exported package in tmf.analysis.xml
Alexandre Montplaisir [Thu, 10 Jul 2014 20:49:28 +0000 (16:49 -0400)] 
tmf: Add missing exported package in tmf.analysis.xml

Change-Id: I034231f014d69438c6bd62828c303e183a0efa4f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29765
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
9 years agotmf: Fix exception when trace type has no category
Patrick Tasse [Tue, 8 Jul 2014 18:24:12 +0000 (14:24 -0400)] 
tmf: Fix exception when trace type has no category

Change-Id: Ie652449fb84b59d022a0c8a82af717a2ac0c67f9
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29625
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoTMF: bug 438949: fix the traceTypeApplies method in analysis module helper
Geneviève Bastien [Mon, 7 Jul 2014 17:11:52 +0000 (13:11 -0400)] 
TMF: bug 438949: fix the traceTypeApplies method in analysis module helper

Analysis modules described in configuration elements can now support correctly
many trace type elements. And it makes sure the applies="false" is treated
correctly as well.

Change-Id: I8e940bdde94feaa709ccac48e671aa5dced1a5c5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29564
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Vincent Perot <vincent.perot@ericsson.com>
9 years agoctf: introducing the ICompositeDefinition
Matthew Khouzam [Tue, 8 Jul 2014 20:04:30 +0000 (16:04 -0400)] 
ctf: introducing the ICompositeDefinition

This is a definition that contains subfields.

Change-Id: I347de51cb12022262891b59c00d0342c52bc7439
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29628
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agoctf: introducing IDefinition
Matthew Khouzam [Mon, 7 Jul 2014 21:34:06 +0000 (17:34 -0400)] 
ctf: introducing IDefinition

This is a step in adding a real api to CTF. Now an IDefinition can
be used instead of a definition.

Change-Id: I2f1cea03265afcfd1125ccecff4657324b55ad84
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29573
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoTMF: Add utility method to return trace set, including experiment
Geneviève Bastien [Fri, 13 Jun 2014 19:19:25 +0000 (15:19 -0400)] 
TMF: Add utility method to return trace set, including experiment

And add the experiment state systems in the state system explorer

Change-Id: I0470804d2057b25a778f04c195661d505fdaf7be
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29394
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoctf: accelerate n-grams for ctf scopes
Matthew Khouzam [Fri, 2 May 2014 04:05:29 +0000 (00:05 -0400)] 
ctf: accelerate n-grams for ctf scopes

CTF-based LTTng traces have 30-40% of their requests directed to the
same fields, this makes looking up these field _names_ faster.

Change-Id: I3cf32b10d22de04a1bd94ecadde37afa8e50b0a1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25861
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agoTMF: Add class to manage XML view information
Geneviève Bastien [Thu, 26 Jun 2014 14:29:10 +0000 (10:29 -0400)] 
TMF: Add class to manage XML view information

This allows to reuse code between different XML views, for instance time graph
views and xy chart views.

Change-Id: I6656978bce9bf88d43cc41aa4424779db77feb0e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29078
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agotmf: Bug 437841: NullPointerException in HistogramBucket
Patrick Tasse [Fri, 20 Jun 2014 19:55:33 +0000 (15:55 -0400)] 
tmf: Bug 437841: NullPointerException in HistogramBucket

Change-Id: I5bd31107c826592cd7ffe41c73a441792470fa50
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28834
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agotmf: Support auto-expand level in time graph widgets
Patrick Tasse [Fri, 20 Jun 2014 15:39:40 +0000 (11:39 -0400)] 
tmf: Support auto-expand level in time graph widgets

Change-Id: Ide5bf142c251349eaf0c757da3390f6151934695
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28822
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agoTMF: Support multiple view types in XML analysis output source
Geneviève Bastien [Thu, 26 Jun 2014 19:33:24 +0000 (15:33 -0400)] 
TMF: Support multiple view types in XML analysis output source

Change-Id: I0419a9290fb0b5bb40f82fccca3b1d16580fac38
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/29081
Tested-by: Hudson CI
9 years agoctf: minor CTFTrace cleanup
Matthew Khouzam [Fri, 2 May 2014 03:08:24 +0000 (23:08 -0400)] 
ctf: minor CTFTrace cleanup

moved IDefinition scope stuff together

Change-Id: I5d21ef90d44b1cc6f3824d6050e538888f8f2223
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25860
Tested-by: Hudson CI
9 years agoTMF: Add initialization method in xy line chart
Geneviève Bastien [Thu, 26 Jun 2014 19:27:00 +0000 (15:27 -0400)] 
TMF: Add initialization method in xy line chart

This allows to reinitialize the data even though the trace is already loaded.
It is to match the TimeGraphView's rebuild() method, so that XML defined XY
chart can be used with more than one view element.

Change-Id: Ib0573ea210bdd7ffb1c6dc550afb2cd021bd16d0
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29080
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agoTMF: Add benchmark for event matching and trace synchronization
Geneviève Bastien [Thu, 3 Jul 2014 17:59:00 +0000 (13:59 -0400)] 
TMF: Add benchmark for event matching and trace synchronization

Change-Id: I91c11dc65eef2dabb030ed74b021dd928eb308ba
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29425
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
9 years agoTMF: Add apache derby to the target files
Geneviève Bastien [Fri, 27 Jun 2014 20:50:32 +0000 (16:50 -0400)] 
TMF: Add apache derby to the target files

So that performance tests can be run and their results saved in a derby
database.

Change-Id: I137aa17e48a82a4bb6c3a4238d4bdaea616d62d1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29142
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9 years agotmf: Fix the import/export of the filter view
Vincent Perot [Fri, 27 Jun 2014 22:30:12 +0000 (18:30 -0400)] 
tmf: Fix the import/export of the filter view

Change-Id: I45e22113b54076bb3bcacf88c623f990413f0b8d
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29147
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
9 years agoTMF: Register analysis module to parameter provider only if trace active
Geneviève Bastien [Fri, 13 Jun 2014 19:18:50 +0000 (15:18 -0400)] 
TMF: Register analysis module to parameter provider only if trace active

Sometimes a module will register itself to a parameter provider, but it does
not correspond to the currently active trace, especially for modules from both
traces and experiments. This registers only the module for the currently
selected trace.

Change-Id: If29264c3823968530063cba4c6edd18c679baf69
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29356
Tested-by: Hudson CI
9 years agoTMF: TmfAnalysisManager is not meant to be instantiated
Geneviève Bastien [Thu, 3 Jul 2014 14:48:05 +0000 (10:48 -0400)] 
TMF: TmfAnalysisManager is not meant to be instantiated

Change-Id: I126fa119c035bd8d8f021d78347bf85bd53acbac
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29406
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoTMF: Add XML unit tests to the alltests package
Geneviève Bastien [Wed, 2 Jul 2014 14:59:46 +0000 (10:59 -0400)] 
TMF: Add XML unit tests to the alltests package

Change-Id: I086fc0f58e057eaf6044d77c74242818439ac0b5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29331
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
9 years agoctf: Move the performance tests to the new infrastructure
Alexandre Montplaisir [Fri, 20 Jun 2014 20:38:44 +0000 (16:38 -0400)] 
ctf: Move the performance tests to the new infrastructure

Convert the existing performance tests to org.eclipse.test.performance
tests.

Change-Id: Idae9706d1e7203c30942c361c55bba9265615682
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29357
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
9 years agoctf: Flatten fixed-size structs
Matthew Khouzam [Sun, 4 May 2014 11:35:33 +0000 (07:35 -0400)] 
ctf: Flatten fixed-size structs

This patch will unroll nested arrays and structs retaining only floats,
enums and integers in a 1d array. This means we won't need to create
"useless" definitions.

Change-Id: Ia22730b6479df5b4a4f296e609bb98bdc4f1736e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25926
Tested-by: Hudson CI
9 years agolttng: Add an analysis benchmark
Genevi?ve Bastien [Thu, 8 May 2014 17:19:24 +0000 (13:19 -0400)] 
lttng: Add an analysis benchmark

This patch adds a performance test for building a kernel state system.

Change-Id: I5350d30ea4beb7c6678139fd22e1a3432e8b9926
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26225
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
9 years agolttng: Update README for building of LTTng p2 update site
Bernd Hufmann [Thu, 26 Jun 2014 11:45:33 +0000 (07:45 -0400)] 
lttng: Update README for building of LTTng p2 update site

Additionally, add state system plug-ins in list of plug-ins and
change default path name of lttngPackageDestination.

Change-Id: Ia69d532d86861c4246c3808355453d2f227e4b04
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29029
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
9 years agolttng: Update documentation for sel/desel all in Experiment > Select traces
Marc-Andre Laperle [Wed, 25 Jun 2014 22:02:57 +0000 (18:02 -0400)] 
lttng: Update documentation for sel/desel all in Experiment > Select traces

Change-Id: I868d0438525dae657d40ae5b828e73c66d290e8b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29007
Tested-by: Hudson CI
9 years agotmf: Introduce performance tests to TMF
Geneviève Bastien [Mon, 9 Jun 2014 19:33:28 +0000 (15:33 -0400)] 
tmf: Introduce performance tests to TMF

Add separate source directories in test packages specifically for
performance tests based on org.eclipse.test.performance.

Change-Id: Ia28d5269a6ba81f0727eb2a65858c97566dbf1d9
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/28282
Tested-by: Hudson CI
9 years agoctf: Cleanup StructDeclaration
Alexandre Montplaisir [Wed, 25 Jun 2014 22:06:02 +0000 (18:06 -0400)] 
ctf: Cleanup StructDeclaration

No need to keep separate lists for the fields and values of structs.
A LinkedHashMap preserves the insertion order, and Iterable defines
a specific iteration order.

No apparent performance impact, both versions hover around 975-980 ns/ev
on my machine.

Change-Id: I487b2c756d5827a7489a2ef65e550fb3d018cb72
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29009
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
10 years agoctf: make BitBuffer's Constructor only take non-null ByteBuffers
Matthew Khouzam [Wed, 18 Jun 2014 13:33:39 +0000 (09:33 -0400)] 
ctf: make BitBuffer's Constructor only take non-null ByteBuffers

Change-Id: I70490af35ea9d1ec559828d81fcb6b65b65d12ca
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28685
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoLTTNG: Bug 436857: Keep process selection in CPU Usage tree viewer
Geneviève Bastien [Mon, 9 Jun 2014 13:43:50 +0000 (09:43 -0400)] 
LTTNG: Bug 436857: Keep process selection in CPU Usage tree viewer

After a refresh to the tree's elements, the selected process was lost. Added
a method to set the selection in the abstract tree viewer.

Change-Id: Idc1ff4866593799e6f7571bbd0671364cae0ced1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/28199
Tested-by: Hudson CI
10 years agoBuild using a target definition file
Marc-Andre Laperle [Thu, 12 Jun 2014 00:02:35 +0000 (20:02 -0400)] 
Build using a target definition file

Change-Id: Ie406d8bfa1953fbee05a70703a63c45a9fda1247
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28392
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
10 years agoStop SWTBot test hangs by forcing dialog focus.
Andrew Ferrazzutti [Wed, 11 Jun 2014 20:43:35 +0000 (16:43 -0400)] 
Stop SWTBot test hangs by forcing dialog focus.

Change-Id: I4374f454e8e74f59649b6cd0381a0201d107e51c
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/29002
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
10 years agolttng: Relayd connector needs to send VIEWER_CLIENT_COMMAND as payload to be able...
Marc-Andre Laperle [Mon, 23 Jun 2014 22:30:26 +0000 (18:30 -0400)] 
lttng: Relayd connector needs to send VIEWER_CLIENT_COMMAND as payload to be able to connect

ConnectResponse.fType should also not be populated from the stream as per
http://bugs.lttng.org/issues/728

Change-Id: Ic146eaf90a6c2135014bc6797c9a3d6f3352597f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28897
Tested-by: Hudson CI
10 years agoctf: make BitBuffer's buffer @NonNull
Matthew Khouzam [Wed, 18 Jun 2014 13:14:04 +0000 (09:14 -0400)] 
ctf: make BitBuffer's buffer @NonNull

This accelerates canread and thus every read

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

10 years agotmf: Some analyses don't call super() in their constructor
Marc-Andre Laperle [Mon, 23 Jun 2014 21:14:58 +0000 (17:14 -0400)] 
tmf: Some analyses don't call super() in their constructor

Change-Id: I5720736a9f6faa935f11220f077ab45d99a07467
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28895
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
10 years agotmf: Fix trace package import changing \ to / in Windows
Marc-Andre Laperle [Mon, 23 Jun 2014 19:12:52 +0000 (15:12 -0400)] 
tmf: Fix trace package import changing \ to / in Windows

Change-Id: I5ef8ce8d7f6b112e70e85896b8bf76d2b3ea9c6e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28892
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agolttng: Some relayd requests/responses have the wrong fixed size
Marc-Andre Laperle [Mon, 23 Jun 2014 22:32:44 +0000 (18:32 -0400)] 
lttng: Some relayd requests/responses have the wrong fixed size

Change-Id: I0783110bd488b15478c14ba7ad71116fa99d7653
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28898
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
10 years agoctf: make BitBuffer's ByteBuffer final
Matthew Khouzam [Wed, 18 Jun 2014 13:05:15 +0000 (09:05 -0400)] 
ctf: make BitBuffer's ByteBuffer final

No more chances of someone swapping it while you're reading.
Remove an unnecessary alignment issue and add a proper byteorder check.

Change-Id: I344ed316489918dc0751c09c464fada3d4ac02ab
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28681
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoLTTng: Bug 433210: Populate the CPU usage view during analysis
Geneviève Bastien [Fri, 6 Jun 2014 19:47:06 +0000 (15:47 -0400)] 
LTTng: Bug 433210: Populate the CPU usage view during analysis

Change-Id: Ieb69ff8999af84134e73a2219663ea0758fe59a8
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/28158
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agoctf: Introducing the ByteArrayDefinition
Matthew Khouzam [Fri, 13 Jun 2014 15:24:57 +0000 (11:24 -0400)] 
ctf: Introducing the ByteArrayDefinition

This patch introduces a special acceleration that will make sequences
and arrays read faster when it's an array of bytes or a  string, as the
CTF spec specifies that they are aligned on 8 bits and always 8 bits wide
per character.

Sequences and arrays can either be ArrayDefinitions or
ByteArrayDefintions.

This patch gives a 20% acceleration in sequential reading.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Change-Id: I7933268b7f9271f74f7d59339ea9b8343fdb021e
Reviewed-on: https://git.eclipse.org/r/26084
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
10 years agoss: Protect against special characters in state value strings
Alexandre Montplaisir [Wed, 18 Jun 2014 19:04:51 +0000 (15:04 -0400)] 
ss: Protect against special characters in state value strings

Change-Id: Ia0292769b4eab15219632ff0cccfcd5b86e00c97
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/28712
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
10 years agotmf: Fix simple resource leak warnings
Alexandre Montplaisir [Tue, 13 May 2014 20:46:43 +0000 (16:46 -0400)] 
tmf: Fix simple resource leak warnings

Many warnings left in ControlFlow and Resource Views, where they
get a reference to a (closeable) analysis module, and then the
compiler expects them to close it.

Since the view don't really use the module for anything other than
getting the state system, we could provide a utility class to get
the state system from an analysis module directly, without leaking
references. Shouldn't be hard to do, but outside of the scope of
this patch.

At some point we should revisit the ITmfTrace#getAnalysisModule(s)
methods. Maybe it is not such a good idea to expose closeable objects
publicly.

Change-Id: I0633d40260d0e2d37ad9da30fc6bb34d68cd5f38
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26486
Tested-by: Hudson CI
10 years agoTMF: Add a few NonNull annotations to remove warnings
Geneviève Bastien [Wed, 18 Jun 2014 17:16:01 +0000 (13:16 -0400)] 
TMF: Add a few NonNull annotations to remove warnings

Change-Id: I7408c012894bb6dc6bd92a94ec37fc77d515dd0f
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/28698
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
10 years agoctf: remove asserts from bitbuffer
Matthew Khouzam [Tue, 17 Jun 2014 20:35:51 +0000 (16:35 -0400)] 
ctf: remove asserts from bitbuffer

Change-Id: I8a0dcff9f365a313c40032f4b5b4c2b95de91ea6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28680
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoctf: Fix simple resource leak warnings
Alexandre Montplaisir [Fri, 9 May 2014 15:49:26 +0000 (11:49 -0400)] 
ctf: Fix simple resource leak warnings

Many warnings left though. For instance, the Stream/StreamInput/
StreamInputReader etc. constructor should create their inner Closeable
objects themselves (instead of having to pass say
new StreamInput(new StreamInputReader(...)) ). That way they can keep
a reference to it, and close() it in their own close() method.

Right now nobody keeps a reference to them, and they never get closed.

Change-Id: I708cfb7d2da12ea4d5c7c8f8a8bbcdf77263ddc1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26485
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
10 years agolttng: Enable "potential resource leak" warnings
Alexandre Montplaisir [Fri, 9 May 2014 15:37:43 +0000 (11:37 -0400)] 
lttng: Enable "potential resource leak" warnings

These warnings were disabled, because they often were a bit annoying
to fix with pre-Java 7 syntax. Now that we can use try-with-resources,
those should be as straightforward as the "definite resource leak"
warnings. So we should enable them, and eventually work on fixing them!

Change-Id: Id1b2e63ff6908ca8e34fc07079853922554a0e22
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26305
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
10 years agotmf: Use a Tree viewer, add sel/desel all in Experiment > Select traces
Marc-Andre Laperle [Mon, 16 Jun 2014 19:27:30 +0000 (15:27 -0400)] 
tmf: Use a Tree viewer, add sel/desel all in Experiment > Select traces

Change-Id: I9fcc86c5b974a871284d6d25878b0fb528ed5a0c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28596
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agolttng: Fix hyperlinks in user guide
Marc-Andre Laperle [Tue, 17 Jun 2014 22:43:34 +0000 (18:43 -0400)] 
lttng: Fix hyperlinks in user guide

Change-Id: I19bcb6cec122a6d0c8cd6298628f068a02f9afe2
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28653
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
10 years agoTMF: Allow state systems to be built for experiments
Geneviève Bastien [Fri, 11 Apr 2014 02:39:00 +0000 (22:39 -0400)] 
TMF: Allow state systems to be built for experiments

Add the support of experiments to the state system build requests

Change-Id: I03b59eade2a9d719bff29359f777b8a21bacf979
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/24879
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agolttng: Disable deprecated-API-in-deprecated-code warning
Alexandre Montplaisir [Tue, 17 Jun 2014 17:59:35 +0000 (13:59 -0400)] 
lttng: Disable deprecated-API-in-deprecated-code warning

Allow our deprecated code to call other deprecated APIs. Those are all
planned to be removed at the same time anway. This makes deprecating
APIs much less annoying. Doing so is nicer than outright breaking it!

Change-Id: Id403dad53735a31af67fe48163a7eb7218733ef7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/28643
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
10 years agolttng: Copy the project settings in the examples plugin too
Alexandre Montplaisir [Tue, 17 Jun 2014 17:57:06 +0000 (13:57 -0400)] 
lttng: Copy the project settings in the examples plugin too

This also copies the API tool's settings file, but the example plugin
doesn't have the API nature defined. So this file will be useless, but
it's easier to just copy it over than having special blacklists in the
script.

Change-Id: I056654a513bc226b2b39447b522fb2ddd9d0f952
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/28642
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
10 years agoctf: add notion of ScopedDefinition
Matthew Khouzam [Fri, 13 Jun 2014 09:57:20 +0000 (05:57 -0400)] 
ctf: add notion of ScopedDefinition

extract common code from variants and structs into a ScopedDefinition

Change-Id: I702dc54227efccace892b5787bc93a8a333c3e1a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28492
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoctf: Add get(byte[]) to BitBuffer
Matthew Khouzam [Wed, 7 May 2014 03:07:23 +0000 (23:07 -0400)] 
ctf: Add get(byte[]) to BitBuffer

This adds a bulk reader for data.

Change-Id: I8a43b292b8240d070a94473861b7aca711474661
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26083
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agobtf: Initial Best Trace Format commit
Matthew Khouzam [Fri, 2 May 2014 18:17:22 +0000 (14:17 -0400)] 
btf: Initial Best Trace Format commit

The BTF trace format was defined by Timing Architects for the
Eclipse Automotive IWG.

The specification is available here:
http://wiki.eclipse.org/File:TA_BTF_Specification_2.1.3_Eclipse_Auto_IWG.pdf

Change-Id: I4726279d528d558507d06d2b0e8fd3f0149c810b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25892
Tested-by: Hudson CI
10 years agolttng: Remember last executed scripts in the Execute script dialog
Marc-Andre Laperle [Thu, 12 Jun 2014 22:10:08 +0000 (18:10 -0400)] 
lttng: Remember last executed scripts in the Execute script dialog

Change-Id: I8c40713d40f2b8ac205f61f90aa8c68ce575e1e5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28449
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
10 years agoTMF: Fix formatting of MANIFEST.MF files
Geneviève Bastien [Fri, 13 Jun 2014 19:59:46 +0000 (15:59 -0400)] 
TMF: Fix formatting of MANIFEST.MF files

Change-Id: I455c47205fb96052c9699bdb7d5c60c06ee280d1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/28510
Tested-by: Hudson CI
10 years agolttng: Add pde.runtime in target definition files
Marc-Andre Laperle [Thu, 12 Jun 2014 20:49:54 +0000 (16:49 -0400)] 
lttng: Add pde.runtime in target definition files

This allows using the Plug-in spy (Alt-Shift-F1) in the
runtime Eclipse.

Change-Id: I2a90421468f1d54285ee4970c6aa5bc0377fa9df
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28445
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
10 years agolttng.control: add possibility to run a list of lttng commands
Bernd Hufmann [Tue, 10 Dec 2013 17:18:11 +0000 (12:18 -0500)] 
lttng.control: add possibility to run a list of lttng commands

Change-Id: Ib391f02da6980f1d9381212bc448c12de2d69279
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26757
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
10 years agotmf: fix api neglect from patch 28200
Matthew Khouzam [Fri, 13 Jun 2014 15:27:50 +0000 (11:27 -0400)] 
tmf: fix api neglect from patch 28200

Change-Id: Iea78fb157fe51e2425506373df6fc7459366963c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28491
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoLTTng: Bug 433214: Populate the UST memory view during analysis
Geneviève Bastien [Fri, 6 Jun 2014 18:04:17 +0000 (14:04 -0400)] 
LTTng: Bug 433214: Populate the UST memory view during analysis

The UST memory view is populated as data is available, while the analysis is
being executed.

Change-Id: I75cd4cb2c57f2f29b394bff5adb81c08537c0440
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/28150
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agoTMF: Bug 436877: Set initial range in XY chart to the current range
Geneviève Bastien [Fri, 6 Jun 2014 18:38:43 +0000 (14:38 -0400)] 
TMF: Bug 436877: Set initial range in XY chart to the current range

Instead of using the trace's initial range, which may not correspond to the
currently visible range if the trace was already opened.

Change-Id: Iad5c8e7a579223d4c2c7d98d56c8ae7fb81c5743
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/28154
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agolttng: Clean help docs when doing a project clean like tmf help
Marc-Andre Laperle [Tue, 27 May 2014 22:06:23 +0000 (18:06 -0400)] 
lttng: Clean help docs when doing a project clean like tmf help

Change-Id: Ieac5e68a020a7ba4190c829d255e26379fabfea9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27414
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
10 years agolttng: allow kernel analyses to be more permissive
Matthew Khouzam [Fri, 30 May 2014 19:22:29 +0000 (15:22 -0400)] 
lttng: allow kernel analyses to be more permissive

Change-Id: I466cb013a691082422b7411d8e2e68de3527eb5b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27825
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10 years agotracing rcp: Use GTK2 on Linux
Marc-Andre Laperle [Mon, 9 Jun 2014 20:53:36 +0000 (16:53 -0400)] 
tracing rcp: Use GTK2 on Linux

Change-Id: Ie088d9ecd4cd5892e0c4c164379ec3057282aa9f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28237
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years agoTMF: Bug 416055: Fix behavior of synchronization view
Geneviève Bastien [Mon, 9 Jun 2014 14:08:56 +0000 (10:08 -0400)] 
TMF: Bug 416055: Fix behavior of synchronization view

Change-Id: I596e07eb8eb5cc688f0f1810d02f91cfc616a9b1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/28200
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
10 years agoTMF: Fix resource leak when trace indexer is re-created
Geneviève Bastien [Mon, 9 Jun 2014 19:28:13 +0000 (15:28 -0400)] 
TMF: Fix resource leak when trace indexer is re-created

That happens when a trace was created with the default constructor, a
default indexer is set and when the trace is initialized, a new indexer
is created again, but the previous one is not disposed and the file
remains opened.

Change-Id: I1cb163130563419c81833fd9d383a3eeb2a4f9ee
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/28221
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
10 years agotmf: Bug 437000: Queue overflow dragging events table thumb in Linux
Patrick Tasse [Mon, 9 Jun 2014 20:15:09 +0000 (16:15 -0400)] 
tmf: Bug 437000: Queue overflow dragging events table thumb in Linux

Inhibit table refresh on the SWT.NONE slider selection event and perform
refresh on slider mouse up instead.

Change-Id: I38a6e94874f51636533cd6193ed9b2bc3e46b263
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28235
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 66e92beddc67f51046f690d9da93a819fbc89fd0)
Reviewed-on: https://git.eclipse.org/r/28239

10 years agolttng: Fix 3.8 and 4.2 target definition for null annotations
Marc-Andre Laperle [Fri, 6 Jun 2014 19:05:15 +0000 (15:05 -0400)] 
lttng: Fix 3.8 and 4.2 target definition for null annotations

Change-Id: Id8e5bac757dcfb6ae56a861b7f7868f238dfc174
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28155
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
10 years ago[TMF] Bug: 436513 Custom Parser manager: renaming create a new parser and a parser...
Jonathan Rajotte Julien [Thu, 5 Jun 2014 13:40:12 +0000 (09:40 -0400)] 
[TMF] Bug: 436513 Custom Parser manager: renaming create a new parser and a parser is created

Change-Id: I5750bc051737233dc5aa1b1960df55dbe9f26457
Signed-off-by: Jonathan Rajotte Julien <jonathan.rajotte-julien@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27884
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
(cherry picked from commit d8757ff23eb659cc981f97ea319a1e1ca0b15960)
Reviewed-on: https://git.eclipse.org/r/28077

10 years agotmf: Bug 436751: NPE deleting unexpanded Tracing project
Patrick Tasse [Thu, 5 Jun 2014 20:52:57 +0000 (16:52 -0400)] 
tmf: Bug 436751: NPE deleting unexpanded Tracing project

Change-Id: Id3e7cb3cf7152a2e841366c7e3b90853236b9542
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28081
Tested-by: Hudson CI
(cherry picked from commit c9137e1c8cfb59bbe57677279b992f5ba0cfa864)
Reviewed-on: https://git.eclipse.org/r/28132

10 years agotmf: Bug 436738: NPE after deleting default custom parser
Patrick Tasse [Thu, 5 Jun 2014 18:09:02 +0000 (14:09 -0400)] 
tmf: Bug 436738: NPE after deleting default custom parser

- Reload the default custom parser (if it exists) after deleting any
custom parser

- Add null checks when getting a trace type helper from a trace type id

Change-Id: If2b947ff6ce18371e9fdbe5a68f02a1b650fc27a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28067
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
(cherry picked from commit ed74d892ad2dfaafd64c43b6a1b619d402780438)
Reviewed-on: https://git.eclipse.org/r/28075

10 years agoTMF: Add info for output extension point in analysis module documentation
Geneviève Bastien [Tue, 3 Jun 2014 19:27:47 +0000 (15:27 -0400)] 
TMF: Add info for output extension point in analysis module documentation

Change-Id: Ia6bf075226a58031d46954af98c192663b347177
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/27986
Tested-by: Hudson CI
10 years agoTMF: Bug 436576: Add null check on file field in XML state system module
Geneviève Bastien [Wed, 4 Jun 2014 12:53:07 +0000 (08:53 -0400)] 
TMF: Bug 436576: Add null check on file field in XML state system module

Change-Id: If3eca378edd8e050114c0b14eebc7f943e28e5c5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/27929
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
(cherry picked from commit c3c922bd0a9373bae387ef9b8c80d90ed8a4db9c)
Reviewed-on: https://git.eclipse.org/r/27985

10 years agoctf: Only download test traces if integration-test will execute
Marc-Andre Laperle [Tue, 3 Jun 2014 21:45:46 +0000 (17:45 -0400)] 
ctf: Only download test traces if integration-test will execute

For example, if 'mvn package' is executed, the test traces don't
need to be downloaded but 'mvn install' does need them.

Change-Id: I75359969de7a706a29c91dc300a5e3a0ff0e143e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27885
Tested-by: Hudson CI
10 years agotmf-guide: Update view tutorial using latest code
Marc-Andre Laperle [Tue, 3 Jun 2014 20:13:23 +0000 (16:13 -0400)] 
tmf-guide: Update view tutorial using latest code

Change-Id: I78c0804750f2f5195a2b12ce8d8348a41f6b4992
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27877
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
(cherry picked from commit 9a572723bbd873eef657f2c40dc01924f3510775)
Reviewed-on: https://git.eclipse.org/r/27950

10 years agotmf-ctf: fix NPE in callsite handling (bug 436625)
Bernd Hufmann [Wed, 4 Jun 2014 19:11:27 +0000 (15:11 -0400)] 
tmf-ctf: fix NPE in callsite handling (bug 436625)

Change-Id: Iaaecf310226eeb84cfa30c69035eb8f34cda3c91
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27991
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28025
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
10 years agotmf-rcp: Fix NPE at startup with --open (bug 436239)
Bernd Hufmann [Fri, 30 May 2014 13:30:24 +0000 (09:30 -0400)] 
tmf-rcp: Fix NPE at startup with --open (bug 436239)

Change-Id: Ie393ae61f31c4610373d919e38100ca095c53562
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27585
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27812

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