Geneviève Bastien [Mon, 19 Sep 2016 19:27:06 +0000 (15:27 -0400)]
os.linux: remove unnecessary calls to getQuarkRelative
When the Status attribute was removed, some calls to
getAttributeQuarkRelative were not removed and that causes exceptions in
some cases.
Change-Id: Ib217c44b51eae713101aafb6d3025475fcf2ed99
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/81381
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Geneviève Bastien [Mon, 12 Sep 2016 15:44:58 +0000 (11:44 -0400)]
tmf.ui: Add extra javadoc to the AbstractTimeGraphView
This adds some documentation to the AbstractTimeGraphView#buildEntryList
method.
Change-Id: Ia33479198efa3883d872fb69c8dde17e6930241e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/80931
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Geneviève Bastien [Mon, 11 Jul 2016 01:51:30 +0000 (21:51 -0400)]
ss: Extract an history tree interface
This is a second step towards supporting multiple types of SHTs
Change-Id: I294ae4991207fac30700ef803f529f3f14e4417b
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/77007
Reviewed-by: Hudson CI
Matthew Khouzam [Fri, 16 Sep 2016 18:42:41 +0000 (14:42 -0400)]
linux.core: Add icon for system call analysis
Add an icon drawn by hand in pinta. It's supposed to look like
a phone.
Change-Id: Icb99aa67015e84ff8ccc65bf4076a1a81a5be9bd
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81269
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Matthew Khouzam [Thu, 8 Sep 2016 01:49:34 +0000 (21:49 -0400)]
timing.ui: move logic of segment stats logic to abstract class
Change-Id: I541df669302d72bf28610632ada5db4daf5c5be7
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80652
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Matthew Khouzam [Thu, 8 Sep 2016 01:00:13 +0000 (21:00 -0400)]
timing.core: add stream unit tests to segment store tests
Now test stream building segment statistics.
Also improve speed of other tests marginally by pre-allocating
arrays to right size.
Change-Id: I6894c8a92b95a6fc4bc4339e4dd33901939963f2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80640
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Loïc Prieur-Drevon [Fri, 15 Apr 2016 15:04:23 +0000 (11:04 -0400)]
KernelAnalysis: Use CPUs CoreAttributes to store "Status"
CPUs core attributes were not used to store interval data, this
leads to useless NullStateValue intervals ranging from tree start
to end. This patch uses the CPUs CoreNodes to store the "Status"
fields thus reducing the number of attributes and intervals.
Change-Id: I4b7953efff14879ea2eabe72200138f9be682c09
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/70770
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Loïc Prieur-Drevon [Fri, 15 Apr 2016 14:57:23 +0000 (10:57 -0400)]
KernelAnalysis: Use Threads CoreAttributes to store "Status"
Threads core attributes were not used to store interval data, this
leads to useless NullStateValue intervals ranging from tree start
to end. This patch uses the Threads CoreNodes to store the "Status"
fields thus reducing the number of attributes and intervals.
Change-Id: Ia24b8d5226b66738a8c14d3d652879169437b95a
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Reviewed-on: https://git.eclipse.org/r/70769
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Marc-Andre Laperle [Tue, 13 Sep 2016 22:08:21 +0000 (18:08 -0400)]
tmf: Fix hang in TarInputStream.skipToEntry when importing large tar.gz
When importing a large tar.gz archive, it can hang in
TarInputStream.skipToEntry. Depending on the size of the entries in the
Tar and the order in which they are read, it is possible that bytesread
will overflow and become negative. Because of that, the code that skips
bytes fails to skip properly and enters in an infinite loop.
This patch fixes the issue by making the bytesread a 'long'. Because
this class is in the platform, several files had to be copied over in
order to get the fix right away. Those files will be removed once the
fix is in the platform and that the fix is released.
Bug: 501379
Change-Id: Ia1613da08715968f23a803519a2e78aa7c51482f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81044
Reviewed-by: Hudson CI
Matthew Khouzam [Fri, 9 Sep 2016 13:47:38 +0000 (09:47 -0400)]
linux.ui: make Control flow view optimization work with mixed experiments
bug 501148
Change-Id: Ieaeb1384a8bd6325192d6407422059c98d0f73c1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80804
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Geneviève Bastien [Fri, 15 Jul 2016 13:18:14 +0000 (09:18 -0400)]
tmf: Add the view ID to some JUL log statements of time graph views
This patch adds a getViewId() method to AbstractTimeGraphView that returns the
view's primaryID:secondaryID string corresponding to the view. This view ID is
added to some JUL log statements.
Change-Id: Ica415d919883822676f0f1c107bcd3b631ea9c67
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/77395
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Thu, 8 Sep 2016 13:31:22 +0000 (09:31 -0400)]
linux.core: Remove throws runtime exceptions
AttributeNotFoundException is now a runtime exception. In practice, it
should never happen here as the quarks are always added before accessing
them.
This removes a few warnings.
Change-Id: If6048d8c717f89d21e88e54cbb87a0f67aa26d59
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80697
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Matthew Khouzam [Thu, 8 Sep 2016 13:25:31 +0000 (09:25 -0400)]
timing.core.test: add perf to build.properties
This removes a warning
Change-Id: I68fbafc87712aefd29b80bf83088077ecaf8621e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80696
Reviewed-by: Hudson CI
Geneviève Bastien [Fri, 22 Jul 2016 13:58:13 +0000 (09:58 -0400)]
tmf/ust: deprecate AbstractCallStackAnalysis and move the UST module to core
The only reason the CallStackAnalysisModule were in the UI was to register the
view output to it. A listener now does that part so the class in the tmf.ui
plugin can be deprecated and LttngUstCallStackAnalysis can also be moved to
the .core plugin and be made internal while at it.
Change-Id: I80b4c34ff35855b5261a1270e67d10df865d6e0d
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/77781
Reviewed-by: Hudson CI
Geneviève Bastien [Tue, 19 Jul 2016 14:30:30 +0000 (10:30 -0400)]
linux/lttng: Add a swtbot test for UI responsiveness of kernel views
This adds abstract swtbot classes to open a trace, then navigate it
(full range, zooms, scroll, zoom back out) while some views are opened. This
test is not meant to be run in the performance test suite, but enabling JUL
logging with it allows to have a reproducible series of UI operations and
analyze the so-obtained traces.
Change-Id: Ia43c6b1244b989a6888547b43247bc9b30435dee
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/78271
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Geneviève Bastien [Fri, 2 Sep 2016 13:50:33 +0000 (09:50 -0400)]
tmf: Add a package-info file to the callstack package
Change-Id: Ife9bf3bd46401d9d89dd18b44611bba9e39938c9
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/80299
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, 8 Sep 2016 13:22:30 +0000 (09:22 -0400)]
ust.core: add NON-NLS to toString of UstDebugInfoBinaryFile
This removes 4 warnings.
Change-Id: I5fe5a5913f14d9bf521ed20f82812e4716a038f5
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80695
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Matthew Khouzam [Thu, 8 Sep 2016 13:15:59 +0000 (09:15 -0400)]
linux.ui: add kernel.swtbot as a friend
lttng.Kernel has the LTTng trace support needed to test these views.
That is why their unit tests are in the other package. Adding friend
allows access to the internal IDs instead of hard-coding them.
Change-Id: Ia93453ece165d26cba54b05dbf389765b37471a2
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80693
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Matthew Khouzam [Sun, 4 Sep 2016 02:20:25 +0000 (22:20 -0400)]
timing.ui: make Aggregated functions merge statistics
When calling merge, the statistics are now merged, not just
the max and min time.
Change-Id: I7e76c8a9d38672900f877decc2b3cb32699bf37a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80354
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Matthew Khouzam [Thu, 25 Aug 2016 19:08:11 +0000 (15:08 -0400)]
timing.core: add merge function to segment store
This allows merging statistics node. This will make statistics
work in a more streamlined way.
Note: merging introduces a slight error to standard deviation,
This is due to the pooled variance algorithm used.
Potential use-cases for this:
* Map-reduce statistics on a segment store.
* Merging trees of statistics.
Change-Id: Ie6758bdcd5df03b58dc5521bf07fa5f9693c30bf
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79763
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Matthew Khouzam [Wed, 31 Aug 2016 18:47:02 +0000 (14:47 -0400)]
timing.core: add segment store benchmarks
this tests:
* filling
* filling a slightly random set
* filling a random set
* iterating
Change-Id: I8ffbab5302b4bf3ec08af5a93681f52f9ac91757
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80156
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Mon, 13 Jun 2016 18:45:41 +0000 (14:45 -0400)]
tmf: bug 496031 Get the synchronization formula from the original trace
The synchronize traces handler should get the formula from the original
trace's host ID, not the new one, since the host ID falls back to the trace
name and the new name is different than the original one.
Change-Id: Id4af62b64df4f0b6d042a19e12c04b7e3c060176
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/75179
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, 7 Sep 2016 15:53:29 +0000 (11:53 -0400)]
doc: Document new previous/next event action in CFV
Document the "Go to next/previous event of the selected thread"
actions, and how they differ from the "Next/Previous State Change"
ones.
Change-Id: I27c1431933e1ac1e8ae9fe94090ab13e82b25a14
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/80605
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Bernd Hufmann [Tue, 6 Sep 2016 19:53:40 +0000 (15:53 -0400)]
doc: update screenshot for system call latency statistics
to show the Total column
Change-Id: Id845c486831025027fe1b9da0fdaef92a0b23129
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80525
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Wed, 31 Aug 2016 18:54:30 +0000 (14:54 -0400)]
SegStore: fix iterator caching in segment store.
Fix bug 500607
Change-Id: Id1ae2c2176624ddab35ef541c4f34f036e361f3c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80158
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Jonathan Rajotte [Tue, 23 Aug 2016 22:57:36 +0000 (18:57 -0400)]
lami.chart: use formatter on x axis for continuous data type
Swt bar chart use categories instead of tick simply format categories
label while constructing the map.
Change-Id: I80bbf0b06a65e716a4ae87b06bc0731bb827c6dc
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Reviewed-on: https://git.eclipse.org/r/79577
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Matthew Khouzam [Sun, 4 Sep 2016 03:08:34 +0000 (23:08 -0400)]
doc: update doc with OS Overview Perspective.
Change-Id: Ib1b26566958aa0a899b0a1f3024296f9bd7266cf
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80355
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Tue, 30 Aug 2016 04:03:45 +0000 (00:03 -0400)]
tmf: SWTBot integration tests for Project Explorer trace folders
This covers 20 test scenarios from the test specification dealing
with trace folders, mostly dealing with importing traces. More test
will be added later to cover completely this section of the test
specification.
The change extracts some common code with existing tests.
Add more tests are added, we could remove some tests from the
non-integration test suite because there will be too much overlap.
Change-Id: I6d8e7753ca2341042a767a4a8e1f395041ff070b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79987
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Geneviève Bastien [Wed, 13 Jul 2016 13:25:54 +0000 (09:25 -0400)]
doc: Add developer documentation for JUL logging
This explains the guidelines to add logging statements to Trace Compass
Change-Id: I2f2dd4a110150da9700049cf775bc4dbfcf90f75
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/77247
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Patrick Tasse [Tue, 30 Aug 2016 19:24:59 +0000 (15:24 -0400)]
tmf: Implement setFocus() in TmfStateSystemExplorer
Give focus to the viewer when clicking on the view tab.
Change-Id: I0cfb4c61508a56435a0a898a384697ca0391afca
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/80063
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Wed, 31 Aug 2016 21:48:48 +0000 (17:48 -0400)]
tmf.ui: Callstack the entry selection done only on the first match.
Fixes issue which caused many requests to be queued before
the sync operation is completed.
Bug: 500615
Change-Id: I563e37a2fb6c0a1cd1b93c801257d43d4ce03c38
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80177
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Bernd Hufmann [Fri, 2 Sep 2016 18:23:34 +0000 (14:23 -0400)]
doc: add and update documentation for latency views
This includes function density view, syscall views and latency views
Change-Id: Ie9207501e0c04681ef6be01cf29839362aaea35a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80326
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Mon, 29 Aug 2016 02:30:02 +0000 (22:30 -0400)]
releng: Update build-helper-maven-plugin to lastest version
Just keeping up with the latest.
Change-Id: Id32b58313833a8e7bbfdc709e93c3059a0fa7bf4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79902
Reviewed-by: Hudson CI
Bernd Hufmann [Wed, 31 Aug 2016 20:27:11 +0000 (16:27 -0400)]
timing: Bug 500592: fix symbols for with debug info of Lttng 2.8
The process ID of the trace application is propagated so that it can
be used for the Function Duration Density view and Flame Graph view.
For the Flame Graph it uses the the timestamp of the maximum segment to
get the symbol name from the LTTng UST symbol provider.
For the Function density view it takes the start time of the segment.
Change-Id: Id3eb817f156e30b9be4996b732de05bc335418b9
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80298
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Thu, 1 Sep 2016 22:01:18 +0000 (18:01 -0400)]
Remove extra item.select() calls
Those were necessary because of bug 498373 in SWTBot but it is
now fixed.
Change-Id: I0166a686a967f5bd1cfc8213e80cfaf373184411
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80270
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Thu, 14 Jul 2016 23:59:13 +0000 (19:59 -0400)]
lttng.ust: Do not block in UstDebugInfoAnalysisModule
Query methods in the module should not call waitForCompletion()
on the analysis, but should return whatever data they have
(or null).
This is because this is called by the aspects, which are called
by the event table, which are called by the UI thread! The UI
should not block while the analysis is waiting construction.
If a specific caller wants to wait for the full data, they can
call waitForCompletion() manually, like the tests do.
Change-Id: I2cf4e3544a8eea71a65f1e16fe7d4b5ba881d5ca
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/77374
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 [Wed, 31 Aug 2016 20:55:07 +0000 (16:55 -0400)]
Make 'missing export' a warning in test plugins, add missing ones
In general, plugins export all their packages. For test plugins,
in can be useful to reuse existing tests to create test suite.
By exporting all packages, it makes this use case easier and it's
also more consistent.
Change-Id: If6c1ec7368dbfe3449db86d655d05f45f5af84ae
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80173
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Fri, 26 Aug 2016 03:15:41 +0000 (23:15 -0400)]
tmf: Use SWTBotUtils.selectTracesFolder to simplify in a few places
Change-Id: I67f06aba3256ea405c9c6eea9675ab1657a2aba4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79791
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Wed, 31 Aug 2016 22:16:24 +0000 (18:16 -0400)]
doc: Mention that all LTTng-Analyses are now supported
Trace Compass should now support the current latest
LTTng-Analyses scripts, so no need for users to remain
on the 0.4 branch.
While at it renamed the section titles to use present
progressive (Running, etc.) to match the rest of the
documentation.
Change-Id: Id99e77cfff8fa1461de63c33fb3a5003d43275f4
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/80179
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Alexandre Montplaisir [Tue, 19 Jul 2016 19:13:49 +0000 (15:13 -0400)]
lttng.ust: Do not skip unknown lines in addr2line output
addr2line will use "??" to indicate unknown function names or
source files. In these cases we should still report the other
information that may be available, instead of skipping the whole
callsite.
Change-Id: I2cd055b68950c8a6b5c21fd984cd82f2e3544245
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/77327
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Fri, 26 Aug 2016 17:30:27 +0000 (13:30 -0400)]
timing.core: make CallGraphAnalysis use LazyArrayListStore.
The callgraph analysis receive out of order segments when multi-threaded.
This accelerates the callgraph creation by an order of magnitude in that
case.
Bug 500591
Change-Id: Iba9436a7df9ccbc4d3cb3d6ec5ce7377e17f8d2c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79878
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Matthew Khouzam [Fri, 26 Aug 2016 17:17:20 +0000 (13:17 -0400)]
timing: Introduce new segment store for slightly out of order datasets
The LazyArrayListStore is like an array list store but will only sort
when a read operation is received.
This structures are faster for handling segments that are out
of order.
Bug 500591
Change-Id: I466cc288dd42b6a6a002d0704a00e8ec06b7188b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79877
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Bernd Hufmann [Tue, 30 Aug 2016 19:06:41 +0000 (15:06 -0400)]
doc: add toolbar documentation for flame graph view
Change-Id: I652060f8136b8d11ee6ed1f9e31a39f420ecd56f
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/80060
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Jean-Christian Kouame [Tue, 30 Aug 2016 03:39:10 +0000 (23:39 -0400)]
tmf.xml: Bug 500195. Modify initial state behavior
Fix Bug 500195 and add a new initialState element. This element acts as
a real state and support conditions and actions. Also, these conditions
are only verified for the pending scenario and the pending scenario do
will ignore the preconditions.
Change-Id: I520f4129f9c65eee9299d5b08f380e07b2b78d0f
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79439
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Marc-Andre Laperle [Tue, 30 Aug 2016 03:45:47 +0000 (23:45 -0400)]
tmf: Make order of files processing more natural during import
This changes the order of elements imported to be files first then
the folders, then by lexical order.
This makes it more predictable to the user when there can be name
clashes.
Bug: 500464
Change-Id: Iaf96c72a3fd9c9703ff9535f990a0092af75ff03
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79986
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Sun, 14 Aug 2016 22:45:31 +0000 (18:45 -0400)]
tmf: Bump target sequence numbers to pick up SWTBot update
SWTBotRootMenu.menuItems only exists in recent snapshot builds.
Bump the sequence numbers to that targets get reloaded automatically
when people pull the new code.
Change-Id: I90c324071b8e2c043d9fbde754c4d26dcac7d409
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/77197
Reviewed-by: Hudson CI
Matthew Khouzam [Sun, 28 Aug 2016 01:47:26 +0000 (21:47 -0400)]
doc: Add view descriptions to introduction
Change-Id: I82890082adadecdba51529f7df097cd1ab2bdc2a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79896
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Sonia Farrah [Wed, 10 Aug 2016 14:42:12 +0000 (10:42 -0400)]
doc : Add user guide for the Flame graph view
This shows what a cpu flame graph is, how to use the view and
an example workflow.
Change-Id: I7f6f6ccf1682b5396ef9ec24c9e984dc62d7a190
Signed-off-by: Sonia Farrah <sonia.farrah@ericsson.com>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78765
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Marc-Andre Laperle [Fri, 26 Aug 2016 03:24:53 +0000 (23:24 -0400)]
tmf: Add a way to clear the traces using SWTBot only
There is way to clear traces but it deletes trace elements
directly using TMF APIs. It would be good to have a way to
do it completely in the UI using SWT. This patch updates
ProjectExplorerTraceActionsTest to use the new way so that
it tests the UI more fully.
Change-Id: If0a8908ecb3f8b0c209ce3c9c8cca883e941be5d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79793
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Fri, 26 Aug 2016 03:08:01 +0000 (23:08 -0400)]
Move ProjectExplorerTraceActionsTest to integration tests
This class was written as an integration test. Now it has a proper
home. It also serves as a first example how TestDirectoryStructureUtil
can be used.
Change-Id: I4d79efb1bd621a243b4976a55e2b3e8da4f5fc3f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79790
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Philippe Proulx [Wed, 1 Jun 2016 21:54:11 +0000 (17:54 -0400)]
analysis.lami: Support LAMI 1.0 features (MI version, compatibility test)
Change-Id: Ie70cac42e4f42d941c37b3f4fab532984be5c9cb
Signed-off-by: Philippe Proulx <pproulx@efficios.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/74337
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Bernd Hufmann [Mon, 22 Aug 2016 14:39:52 +0000 (10:39 -0400)]
lami: Bug 499953: invoke scripts always with end time >= start time
Change-Id: I6deea491880e8b02209ece2d7c2e87fce4671b6f
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79434
Reviewed-by: Hudson CI
Reviewed-by: Jonathan Rajotte Julien <jonathan.rajotte-julien@efficios.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Thu, 25 Aug 2016 19:07:15 +0000 (15:07 -0400)]
analysis: make call graph analysis non automatic
Having automatic it will be executed for every trace since it is
available for each trace type at the moment. Moreover, since it
is dependent on the call stack analysis the call call stack
analysis is also triggered.
With this patch it is only done when one of the applicable call
graph views, e.g. Flame Graph view, is opened.
Change-Id: Id80782dc2050f8816b1440c7a9e7ff19503e0373
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79760
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Fri, 26 Aug 2016 02:53:20 +0000 (22:53 -0400)]
Add file util to create dummy structures
This will help with section 3 of the tests for the project view
Change-Id: I3274efa67838296228e7a810eedd84c4a470ec9b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78568
Reviewed-by: Hudson CI
Marc-Andre Laperle [Fri, 26 Aug 2016 02:31:39 +0000 (22:31 -0400)]
Add an integration tests plugin
This plugin will contain tests that possibly require many "leaf" dependencies
and that are not unit tests but instead fuller scenarios. For example,
it might test importing UST and Kernel traces together in one operation
and test for name clashes. Therefore it is not a unit test for UST or
Kernel.
The plugin is not added in the parent pom.xml for now as it would fail
because it does not have a test yet.
Change-Id: I6f3af925700b78adbca04dbdf4017f59581ae9e4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79789
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Thu, 25 Aug 2016 22:23:57 +0000 (18:23 -0400)]
ctf: Make LttngKernelTraceGenerator also generate UST test traces
LttngKernelTraceGenerator can currently only generate Kernel traces
but with a few changes, it can generate a UST trace. The events do
not make much sense for a UST trace but this is good enough for trace
type validation, etc.
Change-Id: I9826383c6d3cb2bdcb24895bbfa9990a75312a4b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79780
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Wed, 24 Aug 2016 14:31:03 +0000 (10:31 -0400)]
flamegraph: fix invalid window range
When loading a flamegraph we need to reset the start
and finish time so that the time range is fixed and the
whole flame graph range is displayed.
Otherwise, we end up showing a range of 1 ns after
zooming once and switching the trace.
Change-Id: I85e950754e1361c7fe31739a280a3b14152751aa
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79633
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Patrick Tasse [Tue, 23 Aug 2016 20:30:24 +0000 (16:30 -0400)]
tmf: Fix integer overflow in time graph calculations
An x-coordinate very far to the right could overflow to be very far to
the left. This could prevent states and/or their labels to be drawn when
zoomed-in very close.
Change-Id: I6e006d366dfe427a9ac7df1a8f534fe95c230c3d
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/79565
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Wed, 24 Aug 2016 15:22:25 +0000 (11:22 -0400)]
lttng.ust: Remove some unused messages
Change-Id: Ic0f5e0a614d48c44228b8a8199b0007fb0dff2d9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79640
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Jean-Christian Kouame [Wed, 13 Jul 2016 19:27:48 +0000 (15:27 -0400)]
tmf.xml: Add mapping group to XML description
The mapping groups act as maps. They are used to avoid large if-else
condition in the XML. For example, if the relevant event for an FSM have
an integer field 'mode' and this value could be map to string. We could
save the 'mode' value in the state system and add a mapping group in the
XML to be able to directly use the string instead of the 'mode' value
when creating segments.
example of mode could be ;
* 1 - read only
* 2 - read - write
* 3 - write - only
* ....
Change-Id: I0237e62b304f984afcf78b09fd7b45c5687a80d5
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/76780
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Jean-Christian Kouame [Fri, 29 Jul 2016 17:58:03 +0000 (13:58 -0400)]
tmf.xml: Add support for consuming event in the fsm
This patch adds the possibility for an fsm to be consuming. A consuming
fsm can use an ongoing event for only one of its scenario.
Change-Id: Iaa2a883ef212019c1ef87811722ee863c36567f7
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78189
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Tue, 23 Aug 2016 20:26:13 +0000 (16:26 -0400)]
common: Add saturated arithmetic for int values
Change-Id: If59537b402015ab41db3ffe92b5a2171840f26bd
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/79564
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Mon, 22 Aug 2016 17:31:20 +0000 (13:31 -0400)]
releng: Bump micro versions of modified plugins
This change bumps the micro versions of plugins that had their code
modified or behavior changed.
The minor version of some plugins was also bumped because they were
deemed to have new features:
analysis/org.eclipse.tracecompass.analysis.os.linux.ui
lttng/org.eclipse.tracecompass.lttng2.control.core
lttng/org.eclipse.tracecompass.lttng2.control.ui
lttng/org.eclipse.tracecompass.lttng2.kernel.core
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core
tmf/org.eclipse.tracecompass.tmf.analysis.xml.ui
This commit also adds a script that guides through the process of
bumping the micro versions.
Change-Id: I13eec7b9ad2f33cf62ebbfe94e664f0d738dc33d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79575
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Tue, 23 Aug 2016 18:00:08 +0000 (14:00 -0400)]
tmf: Fix lingering zoom range markers on mouse release
When zooming with the right mouse button, when the button is released
the drag state should be reset before the change of window range redraws
so that the zoom drag selection lines and background are not drawn one
last time.
The redraw used to trigger the paint event after a short delay (in the
platform) at which time the drag state had been reset, but a recent
change in the time graph viewer has forced the paint event to happen
immediately by a call to Control.update().
Change-Id: Ifd60e2053bd7736ca37749cb1b299ea0d4852d79
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/79552
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Tue, 23 Aug 2016 05:35:02 +0000 (01:35 -0400)]
releng: Move scripts to a subfolder
As scripts accumulate, it's better to have them under a folder.
Change-Id: I53cbb08c19e0ae43c8529f2b3dcbb42a935e187b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79475
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bruno Roy [Fri, 19 Aug 2016 17:13:30 +0000 (13:13 -0400)]
lttng.control: Disable Java and Python logging for older LTTng versions
Only enable the Java logging for LTTng version 2.6 and above and 2.7 and
above for the Python logging.
Change-Id: Iafe8a36141238590ccfe2a1cb854841c9f42e1ee
Signed-off-by: Bruno Roy <bruno.roy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79365
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Bruno Roy [Wed, 17 Aug 2016 17:33:50 +0000 (13:33 -0400)]
lttng.control: Change the short name of the LogLevelType.ALL to "All"
Change the short name of the LogLevelType.ALL to "All" instead of an
empty string. This is because when all loglevel (LogLevelType.ALL) are
enabled for a Python logger, the loglevel is set to debug but we still
want to show the user "All".
Change-Id: I18e5800bc3261c11a74e124e76517ad316e2c4a3
Signed-off-by: Bruno Roy <bruno.roy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79215
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Jean-Christian Kouame [Wed, 27 Jul 2016 19:56:46 +0000 (15:56 -0400)]
tmf.xml: Move the ImmutableMap of action in the constructor
This patch moves the ImmutableMap of action in the constructor in the
event handler.
This change prevents a copy of the maps of test and action each time
they are needed. The maps are build in the constructor and are
unmodifiable.
Change-Id: I5772528f50fde545a63215beb918d2f7f9a88005
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78187
Reviewed-by: Hudson CI
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Jean-Christian Kouame [Wed, 13 Jul 2016 17:38:49 +0000 (13:38 -0400)]
tmf.xml: Add support for peek() stack operation
This implements the peek operation for a stack of state value. On a
condition, the peek operation read the value at the top without
removing. On a state change, the peek operation will do nothing. A test
for a stack state value is provided.
Change-Id: I2192ee41171a7c6eabce2941466edbc168c1fa82
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/77274
Reviewed-by: Hudson CI
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Jean-Christian Kouame [Mon, 22 Aug 2016 16:03:28 +0000 (12:03 -0400)]
tmf.xml: replace exception with log error message in TmfXmlStateValue
This patch removes an exception that blocks the execution of Trace
Compass when hit. The exception is replaced by a log error message.
Change-Id: I684cbac6038665329a61d16720ec689961209f34
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79442
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Tue, 16 Aug 2016 13:29:15 +0000 (09:29 -0400)]
timing: support sorting by thread name or ID in Flame Graphs
This will add 2 buttons for switching the sort order between
thread name and thread ID.
Change-Id: I4a258710f7b147520077d29c90fdedb34ce8d576
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79159
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Hudson CI
Sonia Farrah [Mon, 15 Aug 2016 18:00:49 +0000 (14:00 -0400)]
timing: Add a threadId field for the flame graph
This creates a class for a thread that extends the
AggregatedCalledFunction class and having a field for the thread id.
This adds a new field for the thread id in the FlamegraphDepthEntry.
Change-Id: I9bd08039c9adc553e412cf0db6a8a788f786459b
Signed-off-by: Sonia Farrah <sonia.farrah@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79074
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Marc-Andre Laperle [Tue, 23 Aug 2016 15:36:38 +0000 (11:36 -0400)]
tmf: Remove usage of ICoreRunnable for time graph build job
ICoreRunnable is only in Eclipse 4.6. We can create the job the old
way to restore compatibility with Eclipse 4.5 and there is no loss
of functionality.
Change-Id: I72091a016df3f63eda5c009104c065d4f72f379b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79545
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Fri, 19 Aug 2016 13:55:12 +0000 (09:55 -0400)]
tmf: add minimum margin for right mouse drag zoom
This will prevent zooming when the right drag is less than 5 pixels.
For extensions that define a context sensitive menu for time events,
this will prevent zooming when the user accidentally moves the mouse
when wanting to get the context sensitive menu.
Change-Id: I198aaac1212f2f762e1dbe87d3fa3cb115a5d3a5
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79370
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Bernd Hufmann [Mon, 15 Aug 2016 18:03:45 +0000 (14:03 -0400)]
tmf: fix right mouse click selection for context sensitive menu
This will allow context-sensitive menus to be created using the
selection provider when selecting events with right mouse click.
Change-Id: I8b30fd7555e6a28cf068470a5b3b8a791ad8e2b6
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79078
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
Matthew Khouzam [Fri, 12 Aug 2016 19:57:09 +0000 (15:57 -0400)]
flamegraph: Add go to min/max context menus in UI
Change-Id: I2e62a0210b18d2d53aa96fd288dcd772244cc497
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78994
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Bruno Roy [Mon, 22 Aug 2016 15:19:53 +0000 (11:19 -0400)]
lttng.control: Fix: Allowing loglevel when enabling all loggers
The user can now select a loglevel when enabling all loggers. Before
this, if the user selected "All" loggers and a loglevel an error message
would pop up.
Change-Id: I78c81202a676b05dc63fd7e95095f52180081c8c
Signed-off-by: Bruno Roy <bruno.roy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79436
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bruno Roy [Wed, 17 Aug 2016 18:54:25 +0000 (14:54 -0400)]
lttng.control: Add test case for enabling loggers by name
Add a test case to test enabling loggers by specifying the name.
Change-Id: I20c0e3e191d7c3677d1b1780d83c9bdb38f00bd0
Signed-off-by: Bruno Roy <bruno.roy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79223
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Bernd Hufmann [Mon, 22 Aug 2016 19:59:48 +0000 (15:59 -0400)]
control: fix enabling of all kernel tracepoints and syscalls together
This was accidentally changed in a previous commit when introducing
JUL. Without this fix only all tracepoints were enabled and not all
syscalls when the user selected all Tracepoints and Syscalls in the
enable event dialog box.
Change-Id: I29383ba4edaea6e210fe023575aa87d2aadef8b7
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79461
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, 22 Aug 2016 06:06:04 +0000 (02:06 -0400)]
releng: Add script to change product update site to stable
Also add a parent script that executes both this script
and the script that sets the automatic update.
Change-Id: Ifd5d384900ec0fb58145c7bc735ed5e180c54a65
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79411
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Mon, 22 Aug 2016 04:54:11 +0000 (00:54 -0400)]
rcp: Script to enable automatic updates at start for stable releases
Bug: 499247
Change-Id: I45a05fc6f459fcd2456af67804dde4b3698259e3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79409
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Fri, 12 Aug 2016 15:31:16 +0000 (11:31 -0400)]
releng: Update to Tycho 0.26.0
Also skip archiving the repository.
This new option in Tycho 0.26.0 saves a few seconds of build time
since we do not use the archive for either p2 repositories
(the releng-site and the rcp one).
Change-Id: Iec47d66dda72e9b686ed9d5e8f2c54ffd0983254
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78974
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Matthew Khouzam [Fri, 12 Aug 2016 19:05:49 +0000 (15:05 -0400)]
flamegraph: add min and max duration support to flamegraph statistics.
Change-Id: I85ca00e702c943d954a54e01b273ebdcd7a7782f
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Sonia Farrah <sonia.farrah@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78993
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Mon, 1 Aug 2016 18:58:38 +0000 (14:58 -0400)]
releng: Bump versions for 2.1.0 release
Plugin versions are >= than what they were in version 2.0.1.
Also add scripts to help updating version numbers.
Change-Id: Id22240cde48f56e8dc7d000ae6206c4ba7b5f4bd
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79308
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Fri, 19 Aug 2016 15:11:45 +0000 (11:11 -0400)]
flamegraph: remove signal handler for selection range updated
This signal is not applicable for flamegraphs
Change-Id: I283cd9ee1a542a376090e55ccd338c6ebd7e5b50
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79369
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Hudson CI
Geneviève Bastien [Tue, 9 Aug 2016 20:14:35 +0000 (16:14 -0400)]
xml: bug 497272 Populate views from built-in XML files
This patch makes sure that outputs defined in built-in XML files
advertised through the extension point are added under their analyses.
It moves the method to list the built-in files from the analysis module
source to the XmlUtils class and adds a unit test for this use case.
Change-Id: I5984d1cc9adbbc7e6348632c0f58390f73db41bd
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/78723
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Hudson CI
Sonia Farrah [Tue, 2 Aug 2016 18:10:00 +0000 (14:10 -0400)]
timing : Add Tests for the aggregation tree
This tests the aggregation tree created by the callGraphAnalysis.
Change-Id: I558086efda9f38efa9bccf31a84759e9a44bb3d7
Signed-off-by: Sonia Farrah <sonia.farrah@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78346
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Sonia Farrah [Fri, 12 Aug 2016 14:17:28 +0000 (10:17 -0400)]
Timing: Change the order of statistics in the Flame graph
The statistics in the time event's tool tip will be shown this way:
Durations:
Average
Std dev
Max
Min
Self times:
Average
Std dev
Max
Min
Change-Id: I029fb92e4c96d7c79a44302c4c902bedc9c040a0
Signed-off-by: Sonia Farrah <sonia.farrah@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78956
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Geneviève Bastien [Fri, 22 Jul 2016 19:52:24 +0000 (15:52 -0400)]
xml: bug 497959 add the possibility to update the current state
This adds an 'update' attribute to state values, such that it uses the
updateOngoingState method of the state system to change the value of the
current state instead of modifying it.
Change-Id: I44b80c1801b9dbbb4f858ba7e3c05434d84f9003
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/77797
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Bruno Roy [Mon, 8 Aug 2016 19:32:59 +0000 (15:32 -0400)]
lttng.control: Fix enabling logger by specifying the name
If a user enters a specific logger name to be enabled, we should not
enable all loggers. With the original code, if there was not a logging
application running the fIsAllLoggers flag would evaluate true, even if
the user entered a specific name in the text field (which I don't think
is the desired behavior).
Change-Id: Iab37f45dedba82b2c0d420432488e7fd7c770511
Signed-off-by: Bruno Roy <bruno.roy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78641
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Fri, 5 Aug 2016 18:52:15 +0000 (14:52 -0400)]
tmf: Bug 499251: Call Stack view double-click listener no longer works
The Call Stack view's time graph double-click listener is fixed to
handle the updated structured selection's content.
The class TimeGraphSelection is deprecated.
The spacing ratio added around the call stack event's range is removed.
Change-Id: I81d40aea54cd74b469cbcf3e119fde2db3b3b38f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/78566
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Sonia Farrah [Mon, 8 Aug 2016 13:56:49 +0000 (09:56 -0400)]
timing: Add tests for statistics of the aggregation tree
This tests the statistics of each node of the aggregation tree returned
by the CallGraphAnalysis.
Change-Id: I93150fd4f57721eb9013fc94e2fff4d9f8c2a436
Signed-off-by: Sonia Farrah <sonia.farrah@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78713
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Thu, 21 Jul 2016 15:28:57 +0000 (11:28 -0400)]
Update targets with CDT 9.0.1
CDT 9.0.1 was released last Friday.
Change-Id: I93b93bb36fd7c17480042ea02d2b06e7d0250177
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/77694
Reviewed-by: Hudson CI
Gabriel-Andrew Pollo-Guilbert [Mon, 11 Jul 2016 16:19:43 +0000 (12:19 -0400)]
custom charts: Add factory constructor for charts
This patch adds the factory constructor for making
any type of charts.
Change-Id: I9f82bc65c2d9b13ab52bf0494fd27e550d1e96a8
Signed-off-by: Gabriel-Andrew Pollo-Guilbert <gabrielpolloguilbert@gmail.com>
Reviewed-on: https://git.eclipse.org/r/77158
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Gabriel-Andrew Pollo-Guilbert [Tue, 26 Jul 2016 18:49:10 +0000 (14:49 -0400)]
custom charts: Add interfaces for computing data
This patch adds three interfaces that are used for
consuming objects in the source of the data provider.
An object is first consumed by a chart consumer. This
first consumer sends the object to all of its series
consumers. Then, each series consumer passes the
object to individual data consumer.
While this may seems a lot, it is rather simple and
it allows going to the stream of data only once. It
also provides flexible data computing as well as
reusing code for different charts.
Change-Id: Ife9f321fa840cde6f499a09094ec996d6bf669f2
Signed-off-by: Gabriel-Andrew Pollo-Guilbert <gabrielpolloguilbert@gmail.com>
Reviewed-on: https://git.eclipse.org/r/78011
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
Bruno Roy [Thu, 11 Aug 2016 17:53:58 +0000 (13:53 -0400)]
lttng.control: Document and test the Python domain in the Control view
Add the documentation and tests for enabling loggers of the Python
domain in the Control view.
Change-Id: I703927c048c2f850a7c441643e724025fec4e916
Signed-off-by: Bruno Roy <bruno.roy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78891
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bruno Roy [Fri, 5 Aug 2016 18:26:13 +0000 (14:26 -0400)]
lttng.control: Document and test the LOG4J domain in the Control View
Add the documentation and tests for enabling loggers of the LOG4J domain
in the Control view.
Change-Id: Ib7cf63f7761dd3214cf25632e5e93d12f49d0f6f
Signed-off-by: Bruno Roy <bruno.roy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78631
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bruno Roy [Wed, 3 Aug 2016 13:28:59 +0000 (09:28 -0400)]
lttng.control: Adding support for the Python domain in the Control view
Adding the controls for the Python loggers in the Control view. Also
implemented the visualization of those loggers in the Control view.
Change-Id: I59d877e60fc0c9afbd5211e219faa6ba67b8af73
Signed-off-by: Bruno Roy <bruno.roy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78506
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bruno Roy [Thu, 11 Aug 2016 19:16:59 +0000 (15:16 -0400)]
lttng.control: Remove class that is no longer used
The EnableJulEventsComposite is no longer used since the introduction of
EnalbeLoggersComposite in patch 77796.
Change-Id: Ib7c4a336e40d0f9133eef3c6d3df5d3d12bb5219
Signed-off-by: Bruno Roy <bruno.roy@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78896
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Wed, 10 Aug 2016 19:10:21 +0000 (15:10 -0400)]
timing: bug 499516 Make internal timing.ui packages internal
Change-Id: Ibc8bd6a69305666a2cd09c72f9f482b06d2eb0f8
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/78800
Reviewed-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>
This page took 0.046739 seconds and 5 git commands to generate.