Matthew Khouzam [Tue, 5 Aug 2014 19:58:50 +0000 (15:58 -0400)]
btf: throw an exception when the trace is deleted.
Change-Id: Ide85e535d1022e9d8a2d894b81bcd07f2b2886fb
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31057
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Marc-Andre Laperle [Thu, 17 Jul 2014 18:53:03 +0000 (14:53 -0400)]
tmf: Import from archive in the standard import wizard
Change-Id: I80caf396b8bf8cff2a7bc3824da83800097e1130
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30556
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Tue, 29 Jul 2014 17:26:37 +0000 (13:26 -0400)]
tmf: add constant offset synchronization algorithm and algorithm factory
Change-Id: Ia5b2b49c0e49275b6fa78a16655325a57ab04725
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30687
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Mon, 21 Jul 2014 21:32:11 +0000 (17:32 -0400)]
tmf: Use the refresh handler for XML charts
Change-Id: Ibc4d455858d2fac4d2e70fc2d255dc505a9f8b58
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30205
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Alexandre Montplaisir [Mon, 4 Aug 2014 21:09:59 +0000 (17:09 -0400)]
Revert "tmf: Make TmfTimePreferences completely static"
This reverts commit
8a7a5415a85e321e0cf7709e774a11fe8309f711.
API break, shouldn't go in yet.
Change-Id: I46bed2bf5c95f208ed4356299bd79013c7c9a253
Reviewed-on: https://git.eclipse.org/r/31000
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Tue, 15 Apr 2014 22:41:39 +0000 (18:41 -0400)]
tmf: Make TmfTimePreferences completely static
Marking the class final shows us that all the methods can be marked
as static, since they do not use any internal fields. This means
the getInstance() itself is unneeded.
Change-Id: I9fedc2804e30769f5f0b91650b0bc670df7181cc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25087
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Geneviève Bastien [Mon, 4 Aug 2014 17:31:12 +0000 (13:31 -0400)]
CTF: Do not recalculate the single clock each time in CTFTrace#getClock()
Change-Id: Ia42daadc9606335073da59a547e93867f445ed91
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/30990
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Matthew Khouzam [Mon, 28 Jul 2014 19:56:43 +0000 (15:56 -0400)]
ctf: remove duplicate code in array/sequence declarations
Change-Id: I6fcb6325ae24de3984412a151137f8a5dca83deb
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30837
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Bernd Hufmann [Wed, 30 Jul 2014 18:51:22 +0000 (14:51 -0400)]
tmf: add trace property to properties view when selecting an event
Change-Id: I5cc4b3ea16a706f313581ce8fb83ec9a43197d3d
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30755
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Marc-Andre Laperle [Fri, 1 Aug 2014 19:47:50 +0000 (15:47 -0400)]
lttng: Do not use the jacoco agent when running benchmarks
Change-Id: I120437b178471e104464f014228b720c55fa82f5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30904
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Matthew Khouzam [Mon, 28 Jul 2014 19:01:27 +0000 (15:01 -0400)]
ctf: remove redundant code in util
Change-Id: I4db24325762b054a031925e6fb0bc861a6511429
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30835
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Mon, 28 Jul 2014 19:18:15 +0000 (15:18 -0400)]
ctf: remove redundant code in structDeclaration
Change-Id: I0945d838d214cea852f5929c5c4ffbf4de6d50b6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30836
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Wed, 30 Jul 2014 19:19:17 +0000 (15:19 -0400)]
tmf: add btf synchronization support
Change-Id: Ie79b5b989e16daf6263331a8e3c7d7fe96863046
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30760
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Tue, 29 Jul 2014 17:25:43 +0000 (13:25 -0400)]
tmf: make ITmfTimestampTransform Serializable
Change-Id: I840ca6ac1fd7a3ba6cad4ed9bb529989b60e3c56
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30686
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Vincent Perot [Wed, 30 Jul 2014 18:49:41 +0000 (14:49 -0400)]
tmf: make TmfTimeRange static ranges NonNull
This avoids useless null checks in tmf.pcap
Change-Id: Ice73d87d4119469f297d434ca6aca10233807160
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30758
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Vincent Perot [Wed, 30 Jul 2014 18:51:06 +0000 (14:51 -0400)]
tmf: make EMPTY_STRING_ARRAY NonNull
This avoids useless null checks in tmf.pcap
Change-Id: I489b4c469d3f07c054e82944c78a8027910aded7
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30759
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Vincent Perot [Mon, 28 Jul 2014 13:58:28 +0000 (09:58 -0400)]
tmf: make ID of views NonNull annotated
Change-Id: If685363c0d43c0d1468c30f9f59cedd09b794d8d
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30757
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Marc-Andre Laperle [Tue, 8 Jul 2014 23:38:20 +0000 (19:38 -0400)]
lttng: Convert performance results from Derby to JSON
The performance tests and conversion can be executed from the command line:
mvn clean install -Pperformance
To connect to the database, additional properties have to be set.
See perf.database.loc and perf.config in
org.eclipse.linuxtools.lttng.alltests/pom.xml
A destination can also be specified with -DperfFilesDestination
Change-Id: I70b83b151d739eee7964cceef3f2b3d8078561b9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29644
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Matthew Khouzam [Tue, 29 Jul 2014 14:55:16 +0000 (10:55 -0400)]
tmf: make copy return the trace if it is not a folder
Change-Id: Ib0abfb8d3922e7dd3d9be32cf529d3f9ccbf1c16
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30678
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Bernd Hufmann [Wed, 23 Jul 2014 19:21:47 +0000 (15:21 -0400)]
tmf: use TmfWorkspaceModifyOperation in delete suppl. files handler
Change-Id: Iaf0f0d2f3d2cc4ae5ba6acbe287d0622615212a4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30377
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Bernd Hufmann [Wed, 23 Jul 2014 19:21:13 +0000 (15:21 -0400)]
tmf: Introduce workspace modify operation
and use it in the DeleteTraceFolderElementHandler. This operation will
refresh the workspace only once as oposed to the Eclipse's
WorkspaceModifyOperation. This Operation will be re-used at multiple
locations in TMF.
Change-Id: Ide217442019093977ce417d9b219c46393b2a954
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30376
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Alexandre Montplaisir [Fri, 18 Jul 2014 18:46:14 +0000 (14:46 -0400)]
tmf: Restrict GdbTraceEvent's content to GdbTraceEventContent
This way we can avoid having to cast the ITmfEventContent every time
we want to use it.
Change-Id: I4d44bb61628456b59da3f52a857e7f577cf774ac
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30147
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Fri, 25 Jul 2014 22:13:29 +0000 (18:13 -0400)]
ctf: Make IOStructGen catch (Exception e) more specific
One does not mess with exception
Change-Id: I7fba89de7e93a090f8afbd4e5f493cde89df431d
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30541
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Matthew Khouzam [Fri, 18 Jul 2014 22:15:34 +0000 (18:15 -0400)]
ctf: Make LabelAndRange static in EnumDeclaration
Change-Id: I9bab7c058fec93879f9ec5b6eef5ef55fb7405c6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30155
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Fri, 18 Jul 2014 22:14:47 +0000 (18:14 -0400)]
ctf: remove redundant null check in StructDeclaration
Should speed things up too!
Change-Id: I011c3ddcbb3750e15a8a19c6e328c22a637b0661
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30154
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Fri, 18 Jul 2014 21:57:52 +0000 (17:57 -0400)]
ctf: clean up IOStructGen.
yay.
Change-Id: I094248d488d71e1dad42804b98526c5990b8f10b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30153
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Fri, 18 Jul 2014 21:28:21 +0000 (17:28 -0400)]
ctf: fix call to equals of two different types (CTFStreamIn...)
CTFStreamInputPacketReader's lookup definition compares the lookup path
to lexical scopes, and not their strings. It should be comparing the
strings.
Change-Id: I35aafb3462ca4e03906d3d8d7636bf49581f459a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30151
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Fri, 18 Jul 2014 21:18:27 +0000 (17:18 -0400)]
ctf: add hashcode and equals to CTFCallsite
Change-Id: Ia63701468c591a78a37ae245964d80993e39fb5b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30150
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Matthew Khouzam [Fri, 18 Jul 2014 21:15:59 +0000 (17:15 -0400)]
ctf: remove redundant null check in lexical scope
Change-Id: Id00df1f7a43e69d770790c63e7d91fdb871129e3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30149
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Vincent Perot [Thu, 24 Jul 2014 22:58:53 +0000 (18:58 -0400)]
pcap: use a larger trace for parser benchmarking
The previous trace contained only 640 events, so the parser finished parsing the whole file in a couple of microseconds. Thus, the variation of the results was a large percentage of the total CPU time, which is bad.
This new trace contains 100k events (and is totally anonymized), so the benchmark gives more precise results. This allows to really see the influence of future commits on the parsing speed.
Change-Id: I45900d5a25160d37ceb4dc6a06175d6a6b74f475
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30472
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Fri, 18 Jul 2014 14:22:44 +0000 (10:22 -0400)]
lttng: Step version of UST call stack state system provider
Incremented due to changes for thread id.
Change-Id: I45cb63a2bc84f5ffd49495464697babac76b66bf
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30126
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Fri, 25 Jul 2014 19:28:01 +0000 (15:28 -0400)]
ctf: Increase the timeout for download test traces
Change-Id: I01ca111adcd02c81bb1dcf6122ff8d5665e47e87
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30535
Reviewed-by: Vincent Perot <vincent.perot@ericsson.com>
Marc-Andre Laperle [Wed, 23 Jul 2014 13:50:15 +0000 (09:50 -0400)]
tmf: Support for selecting both traces and folders when deleting
Change-Id: Iace8f35b4e85749244291a575040fc82a901ff23
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30392
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Vincent Perot [Thu, 24 Jul 2014 17:06:19 +0000 (13:06 -0400)]
pcap: fix blockers for sonar
Change-Id: I793c038b7bfcb7c002233132115d3a9b01a6fef9
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30453
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Vincent Perot [Tue, 22 Jul 2014 21:28:05 +0000 (17:28 -0400)]
ctf: fix ctf.core gitignore
Change-Id: I9b6725840af6386f9f48736b37bd7e8ff35c77ea
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30448
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Marc-Andre Laperle [Tue, 1 Apr 2014 22:38:05 +0000 (18:38 -0400)]
lttng: Open a live trace and update the events table
With this patch, it becomes possible to import a live
trace session in progress from the Control view. Once it's opened,
the events table updates as more data is available when indicated
by Relayd.
Change-Id: I2470f4c3d4dd2570f4595455d2824806f0dacf09
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29646
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Generoso Pagano [Fri, 18 Jul 2014 12:34:33 +0000 (14:34 +0200)]
TMF: Support for drag selection listeners in TimeGraphControl
The TimeGraphControl can send a TimeGraphTimeEvent to the attached
ITimeGraphTimeListener(s) to notify the time interval currently
being selected while the user is moving the mouse (drag selection).
Change-Id: I340e4749861123febd268fb3e1969bcf809470b4
Signed-off-by: Generoso Pagano <generoso.pagano@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30124
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Vincent Perot [Thu, 24 Jul 2014 14:03:09 +0000 (10:03 -0400)]
pcap: update pcap.core preferences
Change-Id: I58d8b0df23ec8d767086788974307e2ab63bcf14
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30432
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Vincent Perot [Fri, 18 Jul 2014 21:44:31 +0000 (17:44 -0400)]
tmf: add subfield filtering
Change-Id: I4e7b8ba2ffaf99d95639129ac8b33f673d0673e9
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30152
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Marc-Andre Laperle [Wed, 19 Mar 2014 07:11:17 +0000 (03:11 -0400)]
lttng: Add support for creating a live session in Control view
Change-Id: Ifb31933f8a93437cf976cef71b53cfa5d1f4ec8f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23593
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 18 Dec 2013 18:53:54 +0000 (13:53 -0500)]
tmf: Callstack: Import name mapping from a binary with debug symbols
Using CDT's core binary parsers, we can read the binaries and
extract function name mapping without the need of an external
command-line program. This patch adds an action to the callstack
view so that the user can browse for a binary file and import the mapping.
Change-Id: I000b48a5057d9137f57f43cb8f0372c9e2af58fb
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/20005
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 16 Jul 2014 17:15:13 +0000 (13:15 -0400)]
tmf: Add clear command on the Traces folder
This will delete all the trace folders and traces under
the Traces folder but not the folder itself.
Change-Id: I82aaa5fd8f5d1ecca7c4da212abd0fecd8e113d6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30290
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Bernd Hufmann [Mon, 21 Jul 2014 16:36:45 +0000 (12:36 -0400)]
tmf: update calculation of confidence level of text trace validation
With this patch text traces with patterns that have higher number
of groups to match have higher confidence level.
Change-Id: I631c2ad15630a79e989c95ced93e9ff0c8cc3ed0
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30281
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Vincent Perot [Fri, 27 Jun 2014 22:25:09 +0000 (18:25 -0400)]
pcap: Add unit tests to pcap.core
Change-Id: I6cb472acb44a6108242188dd24ae5b3386388c62
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29146
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Marc-Andre Laperle [Wed, 16 Jul 2014 01:11:18 +0000 (21:11 -0400)]
Upgrade to Tycho 0.21.0
Change-Id: I14e50608117110d86d0f8c728316550fcebce728
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29953
Tested-by: Hudson CI
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Alexandre Montplaisir [Wed, 23 Jul 2014 17:17:36 +0000 (13:17 -0400)]
lttng: Add pcap.core to the Maven build
And added a redundant annotation to to fix the lack-of-inheritance
problem with Maven's compiler.
Change-Id: Ib78f9dbbe1842da49a2509eb3e79913b1a94783d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30372
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Tue, 22 Jul 2014 21:37:19 +0000 (17:37 -0400)]
ctf: Skip downloading the test traces if maven.test.skip is set
If we want to skip the tests, no need for the test traces then.
Change-Id: Iff429d050a7915298979bdfcf5a997050a13cba0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30294
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Wed, 23 Jul 2014 14:31:22 +0000 (10:31 -0400)]
tmf: Fix SWTBot test plugins' dependencies
SWTBot and log4j are third-party dependencies (not part of a base
Eclipse install), so they should be listed under Import-Package
instead.
Change-Id: I816d8a6198ebdfe164bc54aac1e40bf633c39122
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30350
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Alexandre Montplaisir [Wed, 23 Jul 2014 15:04:49 +0000 (11:04 -0400)]
ctf: Add timeout to test trace downloads
The default time out is something like 5 minutes, per trace!
20 seconds ought to be enough for everybody.
Change-Id: I23d12d5a2ab474dd483e2309c21e53b97c2ce47f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30349
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Wed, 23 Jul 2014 13:57:23 +0000 (09:57 -0400)]
lttng: Also skip the UST tests if test traces are missing
Change-Id: Idb3084a618e5be6ff6419d4a173b5d8137ad258c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30327
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Alexandre Montplaisir [Tue, 22 Jul 2014 22:57:19 +0000 (18:57 -0400)]
lttng: Correctly skip tests if test traces are missing
It used to be "unsafe" to do assumeTrue() in @BeforeClass methods,
but since Luna it seems to be the other way around: it skips
correctly when put in an @BeforeClass, but results in a failure
if it's within a @Before. Makes perfect sense!
Now add this to abstract and extending test classes, both with
different @BeforeClass, and you get a recipe for disaster.
Change-Id: I83670475241325f2e0277055fad83d8943927624
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30298
Patrick Tasse [Mon, 21 Jul 2014 21:02:52 +0000 (17:02 -0400)]
tmf: Use clipping to prevent drawing over time graph name space
Clipping rectangle is set on the GC when drawing arrows and when calling
postDrawEvent().
Change-Id: I88ad2f1fc0b79b9b3ab02a456a2f733b76ffef07
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30206
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Geneviève Bastien [Thu, 26 Jun 2014 19:34:54 +0000 (15:34 -0400)]
tmf: Add support of XML XY-charts
Change-Id: Ib4f2715d621aa51d1935d1a3486a2a33a9b575bd
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29351
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Bernd Hufmann [Fri, 18 Jul 2014 12:14:49 +0000 (08:14 -0400)]
tmf: add progress feedback to delete traces execution
Change-Id: Ifcd73c85192c3aef9c94decc541d35ff561e3280
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30122
Tested-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>
Bernd Hufmann [Fri, 18 Jul 2014 12:13:45 +0000 (08:13 -0400)]
tmf: add progress feedback to select traces operation
Change-Id: I404ee0d6af2912494e5421be092bb7ff868f5607
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30121
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Fri, 18 Jul 2014 17:23:06 +0000 (13:23 -0400)]
tmf: add way to not refresh project when adding a trace to experiment
Change-Id: I9b9a049bb196efe073d41986da0ee5211fc371d4
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30135
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Patrick Tasse [Fri, 18 Jul 2014 18:43:53 +0000 (14:43 -0400)]
tmf: Fix Call Stack sort icons not set when dialog setting doesn't exist
Change-Id: I45c87a45e7572005010a10116ea0973e3aee7017
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30138
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Marc-Andre Laperle [Fri, 18 Jul 2014 18:44:28 +0000 (14:44 -0400)]
lttng: Add Eclipse 4.4 target
Also, don't reference simrel update site because it's big.
This should make the targets a bit faster.
Change-Id: I42c52db65a1b852c3e5b3e307a29ceb3e90c2ec9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30139
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Vincent Perot [Thu, 17 Jul 2014 19:51:18 +0000 (15:51 -0400)]
tmf: clean up pcap.core
Change-Id: I5167232dc80effbe762825daa5fac28a27c3549d
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30084
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Matthew Khouzam [Fri, 18 Jul 2014 17:03:42 +0000 (13:03 -0400)]
tmf: fix warning in CallstackEntry
Change-Id: I08bd4620ed74cbd1d603efa3f30cd25ff24ce565
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30133
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Geneviève Bastien [Mon, 14 Jul 2014 20:39:16 +0000 (16:39 -0400)]
TMF: Add host ID to CTF traces' properties
Change-Id: Ic329c52abbef4c48c87b0c60aaac899007240924
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29881
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Vincent Perot [Thu, 17 Jul 2014 19:48:54 +0000 (15:48 -0400)]
tmf: fix the ctf parser benchmark
Change-Id: Ieabefd01a81608ffee475bd114160b1e50df34ed
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30085
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Geneviève Bastien [Thu, 17 Jul 2014 19:14:05 +0000 (15:14 -0400)]
TMF: Update guava version to 15.0.0 to match that of wikitext
Change-Id: Id0600fcaee2b395ebae6a393c0a66cd0ec77f7b5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/30080
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Patrick Tasse [Thu, 17 Jul 2014 14:43:01 +0000 (10:43 -0400)]
tmf: Add sort options to Call Stack view
Change-Id: Idcfe2b9562c6701d337d5fee1e49d5c8fa6c8de4
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30054
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Patrick Tasse [Thu, 17 Jul 2014 14:42:26 +0000 (10:42 -0400)]
tmf: Add sorting capability to TimeGraphEntry
Also update Resource view to use the new interface.
Change-Id: I492145df6c4f787015c68eb33f6d86c68013c8ff
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30053
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Fri, 11 Jul 2014 20:30:17 +0000 (16:30 -0400)]
tmf: Add thread id to call stack state system
This will optionally be used for sorting threads
Change-Id: Ie38aba65745f123a5195ac1621a749d24fbffa93
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29836
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Patrick Tasse [Fri, 11 Jul 2014 19:42:55 +0000 (15:42 -0400)]
tmf: Add trace entry parent in Call Stack view
The root entries in the Call Stack view tree are now trace entries and
the thread entries are child of their corresponding trace.
The CallStackEntry and ThreadEntry classes now extend TimeGraphEntry.
The thread name is now displayed in the tool tip.
Change-Id: I91091d492d3304ad1cd5588af807e18c65093e8f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29835
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Fri, 11 Jul 2014 17:31:07 +0000 (13:31 -0400)]
tmf: Make TimeGraphEntry implementation less restrictive
A TimeGraphEntry's parent and children no longer have to be instances
of TimeGraphEntry. They can now be any type of ITimeGraphEntry.
The method addChild(int, ITimeGraphEntry) is added to insert a child at
any position.
Change-Id: I8144c7f06505c3a2a4c56264e1543fab84a77be5
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29829
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Thu, 10 Jul 2014 21:21:58 +0000 (17:21 -0400)]
tmf: Make TmfEventField's equals() also check the sub-fields
If two TmfEventField objects have the same name/value but different
sub-fields, they were considered equals. With this patch, they also
need the same sub-fields.
Change-Id: I7e07a5624348b812878e1934425a29fba4737e4c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/30001
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Tue, 15 Jul 2014 16:17:30 +0000 (12:17 -0400)]
TMF: Update the benchmark's scenario ID to match our own spec
As we discussed, the names of benchmark should be org.eclipse.linuxtools#
<Application component>#<identifier of the scenario>
Change-Id: I78f0c3207a824990706bc8d479044d8df2024708
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29918
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Geneviève Bastien [Fri, 27 Jun 2014 15:54:32 +0000 (11:54 -0400)]
TMF: Add developer documentation for performance tests
Change-Id: I6d43db374bce3c3c99fd6621b8254352c40576d3
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29132
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Patrick Tasse [Tue, 8 Jul 2014 21:09:11 +0000 (17:09 -0400)]
tmf: Allow call stack module to override default attribute path
This patch allows a specific implementation of the abstract call stack
analysis module to override the default state system attributes to use.
The call stack state system is also stored in the call stack entry to
avoid computing it repeatedly.
Change-Id: I1541cd639d38944225765e69d7150f1ea8def881
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29634
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Alexandre Montplaisir [Fri, 4 Apr 2014 21:52:54 +0000 (17:52 -0400)]
tmf: Update the AbstractTimeGraphView to use the refresh handler
Change-Id: I3e441e88bd76fa16b8f0abe8a19f8da62caeac64
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24481
Alexandre Montplaisir [Fri, 4 Apr 2014 21:51:38 +0000 (17:51 -0400)]
tmf: Update the statistics viewer to use the refresh handler
Change-Id: Ic4a9a60c949e077ed37c25b7de2340730e8d0094
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24480
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Tue, 13 May 2014 21:55:21 +0000 (17:55 -0400)]
tmf: Provide a static method to retrieve state systems
This new method in TmfStateSystemAnalysisModule will:
- Null check the analysis module, so callers don't all have to do it.
- Start the execution of the module, if required (calling schedule()
after it has already been started is a no-op).
- Avoid exposing a ITmfAnalysisModule object, which is Closeable
because it holds disposable resources.
This fixes a bunch of the new potential leaks warnings (actually, it
isolates them in one place). Eventually the analysis module API might
have to be reworked, to either never expose the analysis module objects
publicly, or to separate the "accessor" objects from the ones holding
the resources.
Change-Id: I693d233f02a8f53c49c5dc429a84c098bd35f004
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26487
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Hudson CI
Alexandre Montplaisir [Fri, 4 Jul 2014 18:36:05 +0000 (14:36 -0400)]
lttng: Fix string externalization in plugin.xml's
Some strings were not externalized, some others were refering to
non-existing labels.
Change-Id: I2e0052785c02a008de81d7328e47fddfb0e1876c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29492
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Alexandre Montplaisir [Mon, 14 Jul 2014 19:04:36 +0000 (15:04 -0400)]
lttng: Resynchronize project settings
Simply ran the sync-settings.sh script. This introduces warnings in
tracing.examples, but those are related to unclosed analysis modules,
so they will go away once the analysis module un-auto-closeability
patch goes in.
Change-Id: Ieb8f7b82dbda17847050dd92e167f4b4dddb2c61
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29880
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Alexandre Montplaisir [Fri, 4 Apr 2014 21:47:36 +0000 (17:47 -0400)]
tmf: Add a handler for UI refresh operations
To avoid having many many threads calling Display.asyncExec()
concurrently, offer a way to "coalesce" those UI operations.
Components can now call TmfUiRefreshHandler.getInstance().queueUpdate()
instead, which will accumulate updates coming from many components,
keep only the latest one from each component, and send them all to
the UI thread in one go after a timer has expired.
Change-Id: I367a59584a9a2b57d8409df603fc120bea993cd0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24479
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Vincent Perot [Tue, 3 Jun 2014 21:37:09 +0000 (17:37 -0400)]
tmf: Initial commit of Pcap Parser
This commit is the first step toward adding pcap-reading abilities to
TMF. It only adds the parser, and as such it is completely
independent from TMF. The parser supports four protocols (Ethernet,
IPv4, TCP, UDP) and both microsecond and nanosecond pcap files.
Change-Id: I334571c06a44cec99f9e37011fbfaa27b6a414e3
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27887
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Thu, 10 Jul 2014 20:49:28 +0000 (16:49 -0400)]
tmf: Add missing exported package in tmf.analysis.xml
Change-Id: I034231f014d69438c6bd62828c303e183a0efa4f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29765
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
Patrick Tasse [Tue, 8 Jul 2014 18:24:12 +0000 (14:24 -0400)]
tmf: Fix exception when trace type has no category
Change-Id: Ie652449fb84b59d022a0c8a82af717a2ac0c67f9
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/29625
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Geneviève Bastien [Mon, 7 Jul 2014 17:11:52 +0000 (13:11 -0400)]
TMF: bug 438949: fix the traceTypeApplies method in analysis module helper
Analysis modules described in configuration elements can now support correctly
many trace type elements. And it makes sure the applies="false" is treated
correctly as well.
Change-Id: I8e940bdde94feaa709ccac48e671aa5dced1a5c5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29564
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Vincent Perot <vincent.perot@ericsson.com>
Matthew Khouzam [Tue, 8 Jul 2014 20:04:30 +0000 (16:04 -0400)]
ctf: introducing the ICompositeDefinition
This is a definition that contains subfields.
Change-Id: I347de51cb12022262891b59c00d0342c52bc7439
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29628
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Matthew Khouzam [Mon, 7 Jul 2014 21:34:06 +0000 (17:34 -0400)]
ctf: introducing IDefinition
This is a step in adding a real api to CTF. Now an IDefinition can
be used instead of a definition.
Change-Id: I2f1cea03265afcfd1125ccecff4657324b55ad84
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29573
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Geneviève Bastien [Fri, 13 Jun 2014 19:19:25 +0000 (15:19 -0400)]
TMF: Add utility method to return trace set, including experiment
And add the experiment state systems in the state system explorer
Change-Id: I0470804d2057b25a778f04c195661d505fdaf7be
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29394
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Matthew Khouzam [Fri, 2 May 2014 04:05:29 +0000 (00:05 -0400)]
ctf: accelerate n-grams for ctf scopes
CTF-based LTTng traces have 30-40% of their requests directed to the
same fields, this makes looking up these field _names_ faster.
Change-Id: I3cf32b10d22de04a1bd94ecadde37afa8e50b0a1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25861
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Geneviève Bastien [Thu, 26 Jun 2014 14:29:10 +0000 (10:29 -0400)]
TMF: Add class to manage XML view information
This allows to reuse code between different XML views, for instance time graph
views and xy chart views.
Change-Id: I6656978bce9bf88d43cc41aa4424779db77feb0e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29078
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Fri, 20 Jun 2014 19:55:33 +0000 (15:55 -0400)]
tmf: Bug 437841: NullPointerException in HistogramBucket
Change-Id: I5bd31107c826592cd7ffe41c73a441792470fa50
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28834
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Patrick Tasse [Fri, 20 Jun 2014 15:39:40 +0000 (11:39 -0400)]
tmf: Support auto-expand level in time graph widgets
Change-Id: Ide5bf142c251349eaf0c757da3390f6151934695
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28822
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Geneviève Bastien [Thu, 26 Jun 2014 19:33:24 +0000 (15:33 -0400)]
TMF: Support multiple view types in XML analysis output source
Change-Id: I0419a9290fb0b5bb40f82fccca3b1d16580fac38
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29081
Tested-by: Hudson CI
Matthew Khouzam [Fri, 2 May 2014 03:08:24 +0000 (23:08 -0400)]
ctf: minor CTFTrace cleanup
moved IDefinition scope stuff together
Change-Id: I5d21ef90d44b1cc6f3824d6050e538888f8f2223
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25860
Tested-by: Hudson CI
Geneviève Bastien [Thu, 26 Jun 2014 19:27:00 +0000 (15:27 -0400)]
TMF: Add initialization method in xy line chart
This allows to reinitialize the data even though the trace is already loaded.
It is to match the TimeGraphView's rebuild() method, so that XML defined XY
chart can be used with more than one view element.
Change-Id: Ib0573ea210bdd7ffb1c6dc550afb2cd021bd16d0
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29080
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Geneviève Bastien [Thu, 3 Jul 2014 17:59:00 +0000 (13:59 -0400)]
TMF: Add benchmark for event matching and trace synchronization
Change-Id: I91c11dc65eef2dabb030ed74b021dd928eb308ba
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29425
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Geneviève Bastien [Fri, 27 Jun 2014 20:50:32 +0000 (16:50 -0400)]
TMF: Add apache derby to the target files
So that performance tests can be run and their results saved in a derby
database.
Change-Id: I137aa17e48a82a4bb6c3a4238d4bdaea616d62d1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29142
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Vincent Perot [Fri, 27 Jun 2014 22:30:12 +0000 (18:30 -0400)]
tmf: Fix the import/export of the filter view
Change-Id: I45e22113b54076bb3bcacf88c623f990413f0b8d
Signed-off-by: Vincent Perot <vincent.perot@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29147
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Geneviève Bastien [Fri, 13 Jun 2014 19:18:50 +0000 (15:18 -0400)]
TMF: Register analysis module to parameter provider only if trace active
Sometimes a module will register itself to a parameter provider, but it does
not correspond to the currently active trace, especially for modules from both
traces and experiments. This registers only the module for the currently
selected trace.
Change-Id: If29264c3823968530063cba4c6edd18c679baf69
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29356
Tested-by: Hudson CI
Geneviève Bastien [Thu, 3 Jul 2014 14:48:05 +0000 (10:48 -0400)]
TMF: TmfAnalysisManager is not meant to be instantiated
Change-Id: I126fa119c035bd8d8f021d78347bf85bd53acbac
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29406
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Geneviève Bastien [Wed, 2 Jul 2014 14:59:46 +0000 (10:59 -0400)]
TMF: Add XML unit tests to the alltests package
Change-Id: I086fc0f58e057eaf6044d77c74242818439ac0b5
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/29331
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Fri, 20 Jun 2014 20:38:44 +0000 (16:38 -0400)]
ctf: Move the performance tests to the new infrastructure
Convert the existing performance tests to org.eclipse.test.performance
tests.
Change-Id: Idae9706d1e7203c30942c361c55bba9265615682
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/29357
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Matthew Khouzam [Sun, 4 May 2014 11:35:33 +0000 (07:35 -0400)]
ctf: Flatten fixed-size structs
This patch will unroll nested arrays and structs retaining only floats,
enums and integers in a 1d array. This means we won't need to create
"useless" definitions.
Change-Id: Ia22730b6479df5b4a4f296e609bb98bdc4f1736e
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/25926
Tested-by: Hudson CI
This page took 0.044804 seconds and 5 git commands to generate.