Francois Chouinard [Tue, 30 Oct 2012 20:49:02 +0000 (16:49 -0400)]
Fix for supplementary comments on TmftimestampFormat implementation
Change-Id: I46acc468c064d76cf301618fa47377820d17262f
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/8435
Tested-by: Hudson CI
Alexandre Montplaisir [Tue, 30 Oct 2012 14:38:49 +0000 (10:38 -0400)]
tmf: Allow waiting for a state system's completion
ITmfStateSystem.waitUntilBuilt() will now block the calling
thread until the state system underneath is finished building.
This will be immediately useful for statistics (intermediate
queries are useless, we need to wait until it's ready anyway).
It's implemented using a CountDownLatch, similar to the
.waitForCompletion() in event requests.
Change-Id: I98420acc3ca2903d76a315259f25dca7d88b8d42
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/8427
Tested-by: Hudson CI
Alexandre Montplaisir [Thu, 25 Oct 2012 21:19:21 +0000 (17:19 -0400)]
tmf: Store totals separately in TmfStatistics
This allows the get*Total() methods to query the state directly.
With that, no need to get the map of events per type (which was
already longer by itself), and then add its contents at every
single query.
Change-Id: I2e6708a2708abcdae6cd68baab9b6c26a2cc2d30
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/8380
Tested-by: Hudson CI
Francois Chouinard [Tue, 30 Oct 2012 18:21:53 +0000 (14:21 -0400)]
Fix for the time range histogram
The time range histogram doesn't refresh very well when the new range
has no events either at the start or the end. This patch properly keeps
the range.
Change-Id: I414bb9288327dd9cf56ca8eb22ac2672f4e9e362
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/8428
Tested-by: Hudson CI
Francois Chouinard [Tue, 30 Oct 2012 15:06:32 +0000 (11:06 -0400)]
Implement TmfTimestampFormat
Change-Id: I29d4f815679503c82a14ac74e8395f9aa3dc0cbf
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/8419
Tested-by: Hudson CI
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Tue, 23 Oct 2012 17:45:20 +0000 (13:45 -0400)]
Add support for selected event in Properties view.
Change-Id: I41e8cc7a9d9e0c9f8870445741f9559f951eba0f
Patrick Tasse [Tue, 23 Oct 2012 17:44:09 +0000 (13:44 -0400)]
Temporary fix API version for Kepler
Change-Id: I303c9bbf3b023a4c551586fa04b90d7b8649f69a
Patrick Tasse [Tue, 23 Oct 2012 17:42:06 +0000 (13:42 -0400)]
Merge branch 'master' into lttng-kepler
Conflicts:
lttng/org.eclipse.linuxtools.tmf.ui/plugin.xml
Change-Id: Id994aa08fb1af64b99be885c30fbbeda4e67ce24
Patrick Tasse [Tue, 23 Oct 2012 17:12:22 +0000 (13:12 -0400)]
Workaround for bug 391232: ISharedImages constants not recognized.
Change-Id: I671fb92236d22c4829bd38a3a076e951595434a6
Patrick Tasse [Tue, 23 Oct 2012 14:53:41 +0000 (10:53 -0400)]
Temporary fix API version for Kepler
Change-Id: I276488d50b554f065d8060adcf0ec5133714dce5
Patrick Tasse [Tue, 23 Oct 2012 14:47:15 +0000 (10:47 -0400)]
Merge branch 'master' into lttng-kepler
Conflicts:
gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/gcov/Activator.java
lttng/org.eclipse.linuxtools.tmf.core.tests/stubs/org/eclipse/linuxtools/tmf/tests/stubs/trace/TmfTraceStub.java
lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfTrace.java
Change-Id: Ifd5503a8abd3250f9c117f369de7fb9745507b8e
Patrick Tasse [Thu, 18 Oct 2012 22:05:07 +0000 (18:05 -0400)]
Add support for selected event in Properties view.
Change-Id: I3568e9d7f227a714f2f47a4f24cc74ca1e6c9312
Reviewed-on: https://git.eclipse.org/r/8296
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Patrick Tasse [Mon, 22 Oct 2012 17:07:14 +0000 (13:07 -0400)]
Fix for bug 392591: ArrayIndexOutOfBoundsException in virtual table.
Change-Id: Ie7f6e36765b5b0a111ba6a63e867f0ac99864fb8
Reviewed-on: https://git.eclipse.org/r/8329
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Tue, 16 Oct 2012 17:41:21 +0000 (13:41 -0400)]
tmf: Move the stats tree structure logic to the nodes
Re-organize the TmfStatisticsTree so that the information
about node children are stored in the nodes themselves,
and not all at the top-level. This makes debugging, and
eventually extending the tree, much easier, imo.
This patch also drops the fKeys (which limited the types
of children each node can have) and the weird limitation
where only nodes whose path depths are mutiples of 2 could
have values. Now the tree is more generic, to give better
flexibility to potential sub-classes.
Change-Id: I30bc0f7f47256388b6c55e09f09b26286723c0b9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/8298
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Mon, 15 Oct 2012 21:51:31 +0000 (17:51 -0400)]
tmf: Refactor TMF statistics
Merge TmfBaseStatisticsTree into AbsTmfStatisticsTree. The abstract
version required both total and per-event-type statistics values
anyway, so there was no need to have a separate class that basically
implemented the required stuff.
Also renamed TmfStatisticsTreeNodeFactory to TmfStatisticsManager,
since it's more a manager for the complete stats trees.
Change-Id: If9942beb14ee0d978722d97e6bdfeafb693c9b66
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/8265
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Mon, 15 Oct 2012 18:53:08 +0000 (14:53 -0400)]
tmf: Drop the use of TmfFixedArray for statistics
The same behaviour can be achieved by using straight [] arrays
and varargs methods. That way we don't need to instantiate new
wrapper objects all the time.
Unit tests were also updated.
Change-Id: I5f98ca2c08fd5bee5a1569c64466e63ef1e345d8
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/8264
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Tue, 16 Oct 2012 20:55:44 +0000 (16:55 -0400)]
tmf: Store the generic statistics timestamps in nanoseconds
Since the TmfStatistics can be used with any trace type, and not
just LTTng kernel traces, we can't know exactly what scale its
timestamps are in.
To be safe, convert all timestamps to nanoseconds before saving
them in the history database. When we want to display the
information, the query timestamps will also be converted to
nanoseconds.
Change-Id: Ibcd2fb309f01cdfeab6b480e41f740296694e4be
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/8242
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Tue, 9 Oct 2012 15:38:37 +0000 (11:38 -0400)]
tmf: Make TmfStatisticsViewer use the trace's stats provider
Rework the TmfStatisticsViewer to get its information from a
ITmfStatistics object (instead of doing direct event queries
on the trace). That way, the logic to compute the statistics
is now separate from the view, which I think is a good thing.
This removes the need for the ITmfExtraInfo completely. Unit
tests have also been updated to take account for the fact that
the view does not 'count' anymore, it just displays whatever
we send it.
Other changes:
- Consolidated the setters in TmfStatisticsTree
- Renamed TmfStatisticsNode.getValue() to .getValues(), to
better indicate that it is the wrapper object around the
values that is returned.
Fixes bug 387634.
Change-Id: I1e6b9931007c79cce8c1c93c6c0ddc955cbd0a93
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6986
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Patrick Tasse [Mon, 22 Oct 2012 20:03:41 +0000 (16:03 -0400)]
Convert Windows line delimiters to Unix.
Change-Id: Ia737c3c468c739a7da20561e11d756036fc8d049
Bernd Hufmann [Wed, 17 Oct 2012 16:56:05 +0000 (12:56 -0400)]
LTTng: Handle cancellation of login gracefully (bug 392197)
Change-Id: I1d2ae0e5f852f7350956f39648f20eac6c25c410
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/8258
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Xavier Raynaud [Wed, 12 Sep 2012 15:18:04 +0000 (17:18 +0200)]
TMF: add support for popup menu in time chart widgets
Change-Id: I4c546a73f23ea596978cff3aa7920a481b81bdae
Reviewed-on: https://git.eclipse.org/r/8202
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Bernd Hufmann [Thu, 11 Oct 2012 20:48:47 +0000 (16:48 -0400)]
Fix removal of filter in SDView (Bug 391714)
Change-Id: I312a64127a8a35fbf152de8fe023df17c0d136cc
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/8175
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Bernd Hufmann [Thu, 11 Oct 2012 19:59:42 +0000 (15:59 -0400)]
Fix ArrayIndexOutOfBoundsException for sync signals (Bug 391716)
Change-Id: I4be9c4fec22f25b2ff77a918f692fb7b41e788b7
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/8174
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Bernd Hufmann [Wed, 10 Oct 2012 18:22:05 +0000 (14:22 -0400)]
Initialize dialog member variable (bug 391589)
Change-Id: Iff6450210c88b237ad0abf1971220dff79ce7dc0
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/8151
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Patrick Tasse [Fri, 5 Oct 2012 21:54:34 +0000 (17:54 -0400)]
Fix for bug 391277: Rounding error in seekEvent by ratio.
Change-Id: I4fda9f56d5aaf199abcc59c3a9dacabeb681c9b8
Reviewed-on: https://git.eclipse.org/r/8069
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Alexandre Montplaisir [Fri, 28 Sep 2012 18:54:31 +0000 (14:54 -0400)]
tmf: Add an ID to each state system that gets built
When requesting to build a state system, we now need to specify
a String ID. This ID will be returned with the "state system build
completed" signal, so that a view can differentiate between many
state systems that could be associated to the same trace.
Change-Id: I699d46f3a3cf7300f71282f505eeb40e08cb4d1e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7987
Alexandre Montplaisir [Thu, 27 Sep 2012 20:51:39 +0000 (16:51 -0400)]
tmf: Introduce the ITmfStatistics interface
With this, any type of ITmfTrace can now define its own
statistics provider. This can then be used to populate views
like the Histogram or the Statistics view.
A base implementation is proposed in TmfStatistics (and used by
TmfTrace), and it uses a state system for its backend. That
state system is completely contained in the TmfStatistics object,
so that it's not confused with any "real" state system that could
be present in the trace.
Change-Id: Ia0bf807cdbed28f9a6ebd47509412d4ea35f99cd
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7986
Alexandre Montplaisir [Fri, 28 Sep 2012 15:13:04 +0000 (11:13 -0400)]
tmf: Add an ID to the AbstractStateChangeInput
The Abstract version was still, wrongly, using "CTF Kernel"
as its identifier. Replace this with a configurable name,
provided as a constructor parameter.
It's only used for naming the thread that it starts, but it
makes it a bit more clear what is happening when debugging.
Change-Id: I3317d82c366915e4eaa08a5fa65a8379f92e062f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7977
Alexandre Montplaisir [Thu, 27 Sep 2012 18:57:11 +0000 (14:57 -0400)]
tmf: Expose getStateSystem() up to ITmfTrace
The default implementation in TmfTrace will not provide any
state system for now, sub-classes need to specify their own.
Change-Id: I9239ac69c5ae20cea1bbe54b34260e829bd84465
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7965
Alexandre Montplaisir [Thu, 27 Sep 2012 18:47:35 +0000 (14:47 -0400)]
tmf: Add the Tmf- prefix to the state system interfaces
In preparation with them being exposed into ITmfTrace, the
interfaces to the state system should wear the proper Tmf-
prefix.
The read-only interface that most views and users will see has
been renamed to simply ITmfStateSystem. The builder interface
that is used by the trace for its construction is now called
ITmfStateSystemBuilder.
Change-Id: Id947bb4c933387f5346f78963247e7460e3982cc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7964
Francois Chouinard [Fri, 5 Oct 2012 13:50:52 +0000 (09:50 -0400)]
Fix a confusing activation condition for delete handlers
Change-Id: I12baa3a36fd4ad1a9238bf83a893c2754804eda1
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/8059
Tested-by: Hudson CI
Alexandre Montplaisir [Wed, 3 Oct 2012 16:29:39 +0000 (12:29 -0400)]
tmf: Make ITmfGraphEntry.getChildren() return a List
instead of a static array.
Because of the upcoming AbstractTimeGraphEntry and its subclasses,
we will now need to specify the exact class in each view's
.getChildren(). This is not possible to do with an array if we use
a generic type (e.g. E[]), we have to use a Collection like List<E>.
Change-Id: Icf858b471a95ea7d68e6b6b2169afdc35922545a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7747
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Patrick Tasse [Wed, 3 Oct 2012 19:32:53 +0000 (15:32 -0400)]
Fix for bug 390841: Experiment does not dispose trace contexts.
Change-Id: Ib2ac07efc2f4b4efbb15971bbaa48401997fa215
Reviewed-on: https://git.eclipse.org/r/8002
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Francois Chouinard [Fri, 28 Sep 2012 22:10:40 +0000 (18:10 -0400)]
Make the TmfLocation final and get rid of clone()
- Make fLocation final
- Make TmfLocation concrete classes 'final'
- Remove clone() - not needed anymore
- Fix test cases
Change-Id: Ie4b67907aa53f8b6d7ba513caa6a8eecdbb624b4
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7985
Patrick Tasse [Tue, 2 Oct 2012 22:09:31 +0000 (18:09 -0400)]
Merge branch 'master' into lttng-kepler
Conflicts:
lttng/org.eclipse.linuxtools.lttng2.kernel.core/src/org/eclipse/linuxtools/internal/lttng2/kernel/core/stateprovider/CtfKernelHandler.java
lttng/org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/Messages.java
lttng/org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/messages.properties
lttng/org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/controlflow/ControlFlowView.java
lttng/org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesPresentationProvider.java
lttng/org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesView.java
lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/Tracer.java
lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfTraceSelectedSignal.java
lttng/org.eclipse.linuxtools.tmf.ui/plugin.xml
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/messages.properties
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomEvent.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomTxtEvent.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomTxtTrace.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomTxtTraceContext.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomXmlEvent.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomXmlTrace.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomXmlTraceContext.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/wizards/CustomTxtParserOutputWizardPage.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/wizards/CustomXmlParserOutputWizardPage.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/signal/TmfTraceClosedSignal.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/signal/TmfTraceOpenedSignal.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/editors/ITmfTraceEditor.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/editors/TmfEditorInput.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/editors/TmfEventsEditor.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfExperimentFolder.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/signal/TmfTraceClosedSignal.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/signal/TmfTraceOpenedSignal.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/ITmfEventsFilterListener.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/timechart/TimeChartAnalysisEntry.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/timechart/TimeChartView.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/rawviewer/TmfRawEventViewer.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/ITimeGraphPresentationProvider.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphCombo.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphPresentationProvider.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphViewer.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/dialogs/TimeGraphLegend.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/widgets/Utils.java
Change-Id: Ie424277c584ffa52bd904649fae620d8c96ce1dc
Patrick Tasse [Tue, 2 Oct 2012 21:02:07 +0000 (17:02 -0400)]
Convert Windows line delimiters to Unix.
Change-Id: Idb33e8cc17d49436d2ed3edd49869cf965c86d13
Patrick Tasse [Tue, 2 Oct 2012 20:52:54 +0000 (16:52 -0400)]
Merge branch 'master' into lttng-kepler
Conflicts:
lttng/org.eclipse.linuxtools.lttng.releng-site/category.xml
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsCache.java
Change-Id: Ibcacc51ddaf09ece2433d279dfd6719e2b2c1d59
Alexandre Montplaisir [Mon, 24 Sep 2012 20:21:09 +0000 (16:21 -0400)]
ctf: Handle traces with unknown event attributes
Instead of blowing up when it sees an attribute is doesn't know,
the parser should just ignore it. This is quite important,
since CTF allows for custom attributes and the parser can't
know in advance about all possible ones.
Ideally, we should also log whenever an unkown attribute is seen.
Unfortunately there is no logging in place in the ctf.core plugins
yet.
Change-Id: I45aba769205060cdcac6935cecc1479b026a5bc0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7904
Alexandre Montplaisir [Mon, 1 Oct 2012 15:44:16 +0000 (11:44 -0400)]
tmf: Rename the UI TmfStatistics class to TmfStatisticsValues
To avoid a clash with the new tmf.core.statistics.TmfStatistics.
Change-Id: Iae1b5cea64c6a441e4dc3ea63c860537a69b24ac
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/8005
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Hudson CI
Francois Chouinard [Thu, 27 Sep 2012 19:28:05 +0000 (15:28 -0400)]
Add a "Clear Tracing Views" command
Add the possibility to clear the views the tracing/LTTng perspective.
It does it by disposing of the experiment. Proper signal handlers were
added where necessary.
Change-Id: I33e974f26b6e66d55bcd0c34ac96b375bf3ccddb
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7962
Tested-by: Hudson CI
Bernd Hufmann [Thu, 27 Sep 2012 12:53:09 +0000 (08:53 -0400)]
Fix for NPE in Sequence diagram when closing Eclipse (Bug 390552)
Change-Id: I132cb8085c44ff5e6af0bf7aa8d2e58c9ebb8310
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7959
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Francois Chouinard [Thu, 27 Sep 2012 17:28:08 +0000 (13:28 -0400)]
Fix 2 actions that had old identifiers
Change-Id: I0fd1e8d933b2971906422859d33387321c3366ab
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Patrick Tasse [Wed, 26 Sep 2012 18:02:00 +0000 (14:02 -0400)]
Fix for bug 390472: ArrayIndexOutOfBoundsException in TmfEventsCache.
Change-Id: I1025ec36868837a9e027399f13d02266c24a152e
Reviewed-on: https://git.eclipse.org/r/7936
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Francois Chouinard [Mon, 24 Sep 2012 18:51:29 +0000 (14:51 -0400)]
Rationalize the TMF commands
- Simplify commands categories
- Re-use the platform command id:s where reasonable
- Adjust context menu order
- Adjust shortcuts and accelerators
Change-Id: I6f2e71239dd1bd8392452792bf3868aa6e6dbdf4
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7916
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Francois Chouinard [Mon, 24 Sep 2012 18:54:39 +0000 (14:54 -0400)]
Fix location cloning issue
- Provide a basic implementation of TmfLocation.clone()
- Add an abstract TmfLocation.cloneLocationInfo()
- Add implementations for Tmf<Type>Location
- Adjust Tmf<Type>Location.clone()
- Remove some leftover comments
Update: Make Tmf<Type>Location.clone() a one-liner where applicable.
Change-Id: I54cdb4c70846285c6d3fbd7b114a47b95592f2e7
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7901
Tested-by: Hudson CI
Francois Chouinard [Mon, 24 Sep 2012 15:03:50 +0000 (11:03 -0400)]
Fix location cloning issue
- Provide a basic implementation of TmfLocation.clone()
- Add an abstract TmfLocation.cloneLocationInfo()
- Add implementations for Tmf<Type>Location
- Adjust Tmf<Type>Location.clone()
- Remove some leftover comments
Change-Id: Ide1c1b0225251beff5cc527580207b8cc48a1fe7
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7893
Tested-by: Hudson CI
Bernd Hufmann [Tue, 25 Sep 2012 13:09:04 +0000 (09:09 -0400)]
Remove Linux Tools URL from LTTng category.xml file
Change-Id: I7dc18cfcd14f6cec9c0b07b66528d9833d6a687c
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7915
Tested-by: Hudson CI
Bernd Hufmann [Tue, 25 Sep 2012 11:52:55 +0000 (07:52 -0400)]
Update remaining LTTng/TMF versions to 2.0.0
- LTTng parent pom.xml
- LTTng releng pom.xml / category.xml
- all references to LTTng parent pom.xml
Change-Id: I96973d7e33f5aabe813e5439432bb98ebf0e33b4
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7912
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Tue, 18 Sep 2012 15:54:35 +0000 (11:54 -0400)]
lttng: Bump lttng2 and lttng2.kernel plugins to 2.0
Change-Id: I53cfe696d0ecd56b1c2099bb8299bb9a11df5d26
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7803
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Francois Chouinard [Wed, 19 Sep 2012 21:24:07 +0000 (17:24 -0400)]
Removed a pile of unnecessary @SuppressWarning
Change-Id: Id6698243bb57be8a2fcb0b4bb1a933738c11a66a
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7842
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Francois Chouinard [Wed, 19 Sep 2012 17:18:43 +0000 (13:18 -0400)]
Rename 'locationData' to 'locationInfo' (for lack of a better name...)
Change-Id: I1980f6bd4f9a522804d6b782be1bb32261f917df
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7841
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Francois Chouinard [Wed, 19 Sep 2012 17:16:59 +0000 (13:16 -0400)]
Remove the generic location (replace by Comparable)
Change-Id: I05d4c813d0e2406f47e78beae992da6369f977ce
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7840
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Francois Chouinard [Wed, 19 Sep 2012 17:16:25 +0000 (13:16 -0400)]
Make TmfLocation abstract and implement a couple of Tmf<type>Location
Change-Id: I1a8c3fdef01a9ec9c548592d1c71a248e6d9bd60
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7839
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Wed, 19 Sep 2012 19:31:05 +0000 (15:31 -0400)]
Merge branch 'master' into lttng-kepler
Conflicts:
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/widgets/TimeGraphControl.java
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/widgets/TimeGraphTooltipHandler.java
Patrick Tasse [Wed, 19 Sep 2012 15:12:45 +0000 (11:12 -0400)]
Fix for bug 389907: Mouse drag zoom and other time graph mouse fixes.
Change-Id: Ib7ad84872ff680c1ea1cfdd27d8996a55a64b013
Reviewed-on: https://git.eclipse.org/r/7831
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Alexandre Montplaisir [Tue, 18 Sep 2012 19:31:28 +0000 (15:31 -0400)]
tmf: Define the StateChangeInput's event type at the constructor
instead of using an abstract method just for that.
With this we can also check in the abstract class itself if the
event type is the right one before calling the method from the
sub-class.
Change-Id: I0cbce6c87e3ec51acfac4061c9db38f32bbcce9a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7807
Tested-by: Hudson CI
Alexandre Montplaisir [Mon, 17 Sep 2012 20:58:05 +0000 (16:58 -0400)]
tmf: Add an abstract class for the StateChangeInput
The state-change-input plugin needed by the state system is
currently offered through a IStateChangeInput interface.
However much of the code is common between implementations.
Furthermore, the LTTng kernel plugin nicely splits the work
in two threads, so it would be great to be able to easily
re-use that feature.
This introduces a AbstractStateChangeInput class which will
provide a good ground base for building a state input plugin.
It will also wrap the multi-thread part of the code, so other
inputs can benefit from it.
The interface remains available for more exotic use cases.
Change-Id: I8c9210af62b63b48ffcdc54b3da35df7754e1583
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7798
Tested-by: Hudson CI
Alexandre Montplaisir [Thu, 16 Aug 2012 19:52:23 +0000 (15:52 -0400)]
tmf: Rename TmfLocation.fLocation to .fLocationData
and the corresponding methods (getLocationData(), etc.)
Simple rename, to make it more clear the contained value is
(usually) not a Location itself. This way we don't get things
like foo.getLocation().getLocation().
Change-Id: Ia25fde3c834dfed03671079a93be4dfc66f4b328
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7262
Francois Chouinard [Mon, 17 Sep 2012 21:19:22 +0000 (17:19 -0400)]
Re-factor and freshen up TmfCoreTracer (previously Tracer)
Summary of main changes:
- Renamed o.e.l.internal.tmf.core.Tracer to TmfCoreTracer
- Removed the error/warning/info tracing classes (already handled by
activator)
Change-Id: Ic75a05c6add22b6c29b699d928bb830124db6a73
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Thu, 6 Sep 2012 20:49:51 +0000 (16:49 -0400)]
tmf: CtfTmfEvent improvements
- Remove extraneous Javadoc
- Change fTimestamp from a singleton to a proper field, set at
the constructor.
- Drop unneeded singletons (fReference and fSource)
- Remove getTimestampValue(), call getTimestamp.getValue() instead,
it is more compatible with ITmfEvent/Timestamp interfaces.
Change-Id: I0522a40f3817bcc34bde48dc90358fb745f7bdbc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7648
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
Patrick Tasse [Fri, 24 Aug 2012 17:52:57 +0000 (13:52 -0400)]
Fix for bug 387934: Single event experiment not shown in events table.
Change-Id: Ic0984c905f2f7d5b7ca60734eda9e2b54f692243
Reviewed-on: https://git.eclipse.org/r/7386
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Francois Chouinard <fchouinard@gmail.com>
IP-Clean: Francois Chouinard <fchouinard@gmail.com>
Tested-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Thu, 13 Sep 2012 20:07:40 +0000 (16:07 -0400)]
Merge branch 'master' into lttng-kepler
Conflicts:
lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java
Change-Id: I553c88f56037dc35b9f646887b12d83e623d3543
Matthew Khouzam [Fri, 7 Sep 2012 18:20:15 +0000 (14:20 -0400)]
ctf: Correctly handle big-endian traces
Fixes the opening of big-endian traces, coming from PowerPC systems
for example.
Closes bug 389002.
Change-Id: I1bd85b80931b8a7c61e6dd2b4b575e8608195bb6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7655
Tested-by: Hudson CI
Alexandre Montplaisir [Tue, 11 Sep 2012 20:30:06 +0000 (16:30 -0400)]
ctf: Fix feature.xml to allow building with pde-build
When trying to build the CTF feature with pde-build, it currently
fails because of unsatisfied dependencies.
We need to:
- Remove the e.o.l.ctf.parser dep completely (the feature ships
this plugin, it cannot depend on it before it's built!)
- Change the order of the plugins so .parser is built first, since
the .core depends on it.
Side note, this .parser plugin is the only one (apart from the help
plugin) that does not get put into a jar when built. I really have
no idea why...
Change-Id: Id520ba5fe4b2aa064f0850748774e14a6b83e49b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7716
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Xavier Raynaud [Wed, 12 Sep 2012 15:15:12 +0000 (17:15 +0200)]
oups, revert last commit
Patrick Tasse [Tue, 11 Sep 2012 19:46:46 +0000 (15:46 -0400)]
Fix for bug 386075: Show the TID number in the Resource View's tooltip.
Change-Id: I83c30e7d33fed5184e0c430e34c9829f57a11283
Reviewed-on: https://git.eclipse.org/r/7714
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Xavier Raynaud [Wed, 12 Sep 2012 15:01:10 +0000 (17:01 +0200)]
TMF: add support for popup menu in time chart widgets
Patrick Tasse [Wed, 12 Sep 2012 14:11:50 +0000 (10:11 -0400)]
Fix for bug 389328: Provide hover time for time graph tool tip info.
Change-Id: I2eaf701ff090fbac1a48f5bc159d27e64dd3938d
Reviewed-on: https://git.eclipse.org/r/7713
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Patrick Tasse [Tue, 11 Sep 2012 20:23:58 +0000 (16:23 -0400)]
Fix for bug 389300: Events table does not synchronize on search.
Change-Id: Ic403e97022f665278059f356b71ef33976242c66
Reviewed-on: https://git.eclipse.org/r/7715
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Alexandre Montplaisir [Thu, 23 Aug 2012 20:18:01 +0000 (16:18 -0400)]
tmf: Enhance TmfEventField.toString() to also print sub-fields
Move the logic to print sub-fields of a TmfEventField into the
base class' toString() method. This removes the need for a
specific CtfTmfContent type.
Change-Id: I4916ab9e0de843b2713ebc40ac8ad376848ab2c1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7382
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Fri, 7 Sep 2012 18:41:46 +0000 (14:41 -0400)]
Merge branch 'master' into lttng-kepler
Conflicts:
lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfTrace.java
Change-Id: Ia7e1b8a4cb52d9839f1f6d43d77074e08bcf464f
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Bernd Hufmann [Fri, 7 Sep 2012 15:16:20 +0000 (11:16 -0400)]
Add null check of the current event in initTrace() (Bug 389064)
Change-Id: I7d3212370e46b481ae16660997b9fc6810e11c53
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7662
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Bernd Hufmann [Fri, 7 Sep 2012 12:18:32 +0000 (08:18 -0400)]
Allow LTTng Control to connect to LTTng 2.x.y nodes (Bug 388545)
Commit includes
- Support of remote nodes that have LTTng Tools 2.x.y installed
- Display of LTTng Tools version in Properties View
- Update JUnit tests
Change-Id: I3dd19cf8ded4ffd74a2ff9f92fbd55c8e1b38c4c
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7584
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Thu, 6 Sep 2012 19:59:51 +0000 (15:59 -0400)]
Merge remote-tracking branch 'origin/master' into lttng-kepler
Patrick Tasse [Wed, 5 Sep 2012 21:22:15 +0000 (17:22 -0400)]
Fix time graph scale absolute tick format and tick calculation.
Change-Id: I9b5bb44c860ac08f298a8213b6961d8dcbe949f5
Reviewed-on: https://git.eclipse.org/r/7629
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Alexandre Montplaisir [Thu, 6 Sep 2012 15:01:52 +0000 (11:01 -0400)]
tmf: Clarify column titles in the satistics view
The "Partial event count" in particular was confusing to most
new users. I propose renaming it to "Events in selected time range".
Change-Id: I4e778a6c670f62d6116176f6f0e1cf50a29a0522
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7644
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Patrick Tasse [Wed, 5 Sep 2012 18:07:57 +0000 (14:07 -0400)]
Store event in TableItem data.
Change-Id: I89b9c854dd9ac1eae1527f9f95a995d7f84237ef
Reviewed-on: https://git.eclipse.org/r/7625
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Patrick Tasse [Wed, 5 Sep 2012 17:49:20 +0000 (13:49 -0400)]
Add tree handling APIs and fix tree synchronization in TimeGraphCombo.
Change-Id: Ic3f871a72eea0cdf97de146634075a42dd47f550
Reviewed-on: https://git.eclipse.org/r/7624
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Patrick Tasse [Wed, 5 Sep 2012 17:26:06 +0000 (13:26 -0400)]
Add thousands space separator for nanosecond timestamp output.
Change-Id: I76de73c1cc9ce0319b97a0be9b2cc8ca454e1615
Reviewed-on: https://git.eclipse.org/r/7623
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Bernd Hufmann [Tue, 4 Sep 2012 19:48:09 +0000 (15:48 -0400)]
Update since annotations after merge from master
Change-Id: I5164d5b50e81e5ce1b278a7405c56beeb5ca224f
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7606
Tested-by: Hudson CI
Bernd Hufmann [Tue, 4 Sep 2012 19:19:57 +0000 (15:19 -0400)]
Merge branch 'master' into lttng-kepler
Bernd Hufmann [Wed, 29 Aug 2012 19:09:27 +0000 (15:09 -0400)]
Add support pin in TmfView base class (Bug 388372)
Change-Id: I8d5710ab56165b9db296629a4eeb73982995fad5
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7500
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Francois Chouinard <fchouinard@gmail.com>
Tested-by: Francois Chouinard <fchouinard@gmail.com>
Bernd Hufmann [Fri, 31 Aug 2012 17:36:07 +0000 (13:36 -0400)]
Merge branch 'master' into lttng-kepler
Bernd Hufmann [Fri, 31 Aug 2012 14:11:19 +0000 (10:11 -0400)]
Add support for UST-only nodes in Control View (Bug 388477)
- Updated command parser for "lttng list -k"
- Disable Kernel in Enable Channel and Enable Events on session
level if no kernel is available
- Add JUnit tests
Change-Id: If6dd01df26a1bcc5cf237b1f9c39d2246dd8a324
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7529
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Tue, 28 Aug 2012 14:58:16 +0000 (10:58 -0400)]
Add support for displaying of CTF context info in TMF (Bug 385494)
Change-Id: Ib1ca3094b7d203ac4207fb027d48629028571de4
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7456
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Tue, 28 Aug 2012 11:49:57 +0000 (07:49 -0400)]
Provide interface for showing state type names per time graph entry
This change adds an interface to the ITimeGraphPresentationProvider to
allow user to define state type names per entry instead of one name
for all entries. This change also provides a default implementation.
In case that the entry specific name and the global name are define
then the entry specific name takes precedence when displaying the
tooltip information during hovering operation.
Change-Id: Ib3d545588bf8e09ee58532a2145ee0c6294ec2be
Signed-off-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-on: https://git.eclipse.org/r/7451
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Mathieu Denis [Fri, 24 Aug 2012 21:26:48 +0000 (17:26 -0400)]
tmf: Update test cases of the statistics
Adds test cases for partial event count and updates the existing test
cases.
Change-Id: Ic4186eaab2ac9a7f5937179023a29f2dcc4630ec
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/7419
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Mathieu Denis [Fri, 24 Aug 2012 18:49:40 +0000 (14:49 -0400)]
tmf: Dispose of the model in the statistics viewer
Fixes bug 388022
When a statistics view is disposed, it cleans the complete static model
that may still be in used by another statistics view. It is useless to
suppress the complete model in the view, since the viewers are the one
responsible to delete their own data.
Change-Id: I450b935cebf317c9afca24858aef41139bd055e3
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/7407
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Mathieu Denis [Thu, 23 Aug 2012 21:03:32 +0000 (17:03 -0400)]
tmf: Correct event type in statistics
Use the eventType.getName() rather than eventType.toString() for the
event type name to show in the statistics.
Change-Id: I55e17249b84b8ae2d28405c3036b089ea90c6507
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/7384
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Mathieu Denis [Thu, 23 Aug 2012 20:56:19 +0000 (16:56 -0400)]
tmf: Complete the statistics API
There were missing methods and fields in the statistics API to make it
logically complete.
Change-Id: I9d5078d1ed3f75e358c3b840cb1bf213d53caf6a
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/7383
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Alexandre Montplaisir [Thu, 23 Aug 2012 21:21:12 +0000 (17:21 -0400)]
Save the encoding type as project settings
To better deal with contributors on different platforms
*cough* Patrick *cough*
Change-Id: Id3b02751f166594891c72941d3e5e5912a423caa
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7387
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Mathieu Denis [Wed, 22 Aug 2012 21:34:50 +0000 (17:34 -0400)]
tmf: Correct the statistics partial event count
Fixes bug 387838
Reload correctly the partial event count in the statistics view when an
experiment is reselected during its indexing.
Change-Id: I1f5aaf7d54812ba2f934e173df5268c7eb24e869
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/7357
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Thu, 23 Aug 2012 18:30:30 +0000 (14:30 -0400)]
Fix clone of CtfTmfTimestamp in CtfTmfEvent.
Change-Id: I7e118cf0c9b82990ed9628acf66c004eab37f0b7
Matthew Khouzam [Wed, 22 Aug 2012 19:47:29 +0000 (15:47 -0400)]
Fix seek by ratio in CTF
Change-Id: Ie7165f379608bf0eadda387c49b5d1e38eeb1963
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/7369
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 15 Aug 2012 15:49:20 +0000 (11:49 -0400)]
ctf: Simplify StreamInputPacketReader
- Make all internal structures final, initialize them in
the constructor.
- Remove all the public getters and setters for those, they
are only used internally.
- Replace a couple more null checks by "instanceof" checks.
(previously, if a field name was present but not of the
right type, it would throw a ClassCastException)
Change-Id: If4376a6310b48737a45892399dbb935e647ef0d8
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7241
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Mathieu Denis [Wed, 22 Aug 2012 15:47:36 +0000 (11:47 -0400)]
tmf: some updates to the statistics
- Changes the statistics node reset behavior to avoid useless
operations;
- Removes unused messages;
- Updates some javadoc;
Change-Id: I5af35217a711cdce06807929c4621dfb88cd2fa1
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/7333
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Mathieu Denis [Tue, 21 Aug 2012 21:09:36 +0000 (17:09 -0400)]
tmf: Refactor the statistics
Manage the viewer input directly in the viewer rather than in the view.
Change-Id: I2ed5ee303036d384939d5a2a121e30462c9c9fb7
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/7332
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Mathieu Denis [Tue, 21 Aug 2012 21:10:21 +0000 (17:10 -0400)]
tmf: Fix reload of the same trace for statistics
Fixes bug 387639
Avoids deleting the statistics tree if the global request gets
canceled.
Change-Id: I596930b2b08ea796bd82c920d836c90a86cafe09
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/7308
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
Patrick Tasse [Wed, 22 Aug 2012 18:19:35 +0000 (14:19 -0400)]
Fix context location after first event seek.
Change-Id: I84205cede4cf7d3a4f561b61cbcbf0812fece512
Reviewed-on: https://git.eclipse.org/r/7353
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Tue, 21 Aug 2012 20:33:18 +0000 (16:33 -0400)]
Fix NPE with traces that are time scaled.
Change-Id: I733ccd4e29c42fb3239c25f5e8dc6f7959000e13
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/7337
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
This page took 0.044833 seconds and 5 git commands to generate.