Bernd Hufmann [Mon, 6 Aug 2012 20:11:16 +0000 (16:11 -0400)]
Fix Statistics JUnit test
New implementation of TMF statistics feature shows 3 columns
instead of 2. This has been updated.
Change-Id: I6fef4cae9a95e63a15e71129152f3127221b77b6
Reviewed-on: https://git.eclipse.org/r/7121
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Alexandre Montplaisir [Tue, 31 Jul 2012 20:36:50 +0000 (16:36 -0400)]
lttng: Fix off-by-one in the check for new attributes
In some places, we want to check if a get*AndAdd() call just
created an attribute, or re-used an existing one. The correct
way to check for this is if (quark == ss.getNbAttributes() - 1).
The -1 was missing.
Since this test comes relatively often, also add a specific method
to the interface, so it makes the code clearer.
Change-Id: Idc3f9a508cd670914236bce603e1d5202787a46c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7103
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Fri, 3 Aug 2012 16:59:09 +0000 (12:59 -0400)]
tmf: Fold IStateSystemQuerier2 back into IStateSystemQuerier
Let's make use of the API break to re-simplify those interfaces.
Also dropped one of the range query methods, it is covered by
the new one.
Change-Id: If473d55983604b0cb52182009d1e79d4b9809eb7
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7102
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Mathieu Denis [Fri, 27 Jul 2012 23:19:06 +0000 (19:19 -0400)]
tmf: Add a column in the statistics view
Bug 383246: Add a column for statistics only in the visible window
Change-Id: Ic619c3297f815052e6c90fee7bc87097986fe6ef
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/6984
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>
Reviewed-by: Francois Chouinard <fchouinard@gmail.com>
IP-Clean: Francois Chouinard <fchouinard@gmail.com>
Tested-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Fri, 3 Aug 2012 15:51:52 +0000 (11:51 -0400)]
Merge branch 'master' into lttng-kepler
Alexandre Montplaisir [Thu, 2 Aug 2012 17:21:11 +0000 (13:21 -0400)]
tmf: Fold StateHistorySystem back into StateSystem
At first, a distinction was made to differentiate state systems
that would have a history backend, and those that would not.
In practice, history-less systems are never used, and wouldn't
even work since some recent refactoring.
If we ever need to implement a history-less statesystem, it would be
cleaner to simply use a dummy backend which discards all the
intervals, and returns null or similar on all past queries.
Change-Id: I5c04f9514236878f6f53190f862347a5b19308f4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7070
Bernd Hufmann [Fri, 3 Aug 2012 13:04:08 +0000 (09:04 -0400)]
Partially revert commit "Drop unused dependencies from tmf..."
Added missing Required-Bundle org.eclipse.ui.navigator.resources
to TMF UI MANIFEST.MF.
Change-Id: I715a500b3383f628253d481dffb26f4ad4a970f8
Reviewed-on: https://git.eclipse.org/r/7098
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Alexandre Montplaisir [Tue, 31 Jul 2012 20:27:34 +0000 (16:27 -0400)]
lttng: Handle the statedump events
Back when the state provider was first developed, LTTng did
not support the statedump (dummy events that show the current
state of all the running processes).
This support was added to upstream LTTng since then, so the
TMF viewer should make good use of this information!
Change-Id: I194fa8f31051b5755ed35e1594d33e47dcceec7a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7032
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Thu, 2 Aug 2012 19:29:22 +0000 (15:29 -0400)]
tmf: Handle state changes ending after the trace ends
Since it's possible to add states ending in the future, we
have to handle the case where a state would end past the
trace's end time (and the history's end time). We simply
discard it in this case.
Change-Id: Ic0c525aece776cb4e742d8829e420d50570b36a0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7077
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Alexandre Montplaisir [Mon, 30 Jul 2012 20:59:27 +0000 (16:59 -0400)]
Drop unused dependencies from tmf,lttng2,ctf packages
Change-Id: I7d17f254f5e4a5073501ede6bd723db6f9f75dfa
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7022
Alexandre Montplaisir [Mon, 30 Jul 2012 20:30:52 +0000 (16:30 -0400)]
lttng: Change external dependencies to imported packages
The external dependencies for ctf and lttng2 (RSE and Antlr) were
set as "required bundles". This means the exact plugin must be
present in the current installation when building the workspace
from within Eclipse.
This commit changes those to Imported Packages, which relaxes the
origin of the package. This allows distribution-installed plugins
to fulfill the build dependency.
Change-Id: Ie20d19959d819fc834dc045ec0520285fae2cf2d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7021
Mathieu Denis [Thu, 26 Jul 2012 19:48:21 +0000 (15:48 -0400)]
tmf: formatting of tmf.ui.statistics
- Remove trailing whitespaces;
- Replace tabs for spaces;
- Remove html tags;
- Format blocks;
- Correct warnings.
Change-Id: I560b7d9c66e2ed23c3850ecf9e74ccc4ffaf8779
Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/7005
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Mon, 18 Jun 2012 16:50:43 +0000 (12:50 -0400)]
Fix the fallout of the generics-removal in legacy LTTng
Change-Id: If21e98b5fa81eaeced24d1bcd507103e923546b4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6970
Reviewed-by: Francois Chouinard <fchouinard@gmail.com>
IP-Clean: Francois Chouinard <fchouinard@gmail.com>
Tested-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Tue, 5 Jun 2012 21:47:03 +0000 (17:47 -0400)]
tmf: Drop generics from ITmfTrace and TmfExperiment
Most of the generics are redundant now that we have interfaces.
In this case, the ITmfEvent type is always implied.
Lots of lines affected, but most of it is just removing the
stuff in brackets.
Fixes bug #382905
Change-Id: Ic857457d3ecea6ba4e369c79e9b24255572bfa77
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6969
Alexandre Montplaisir [Thu, 26 Jul 2012 21:47:48 +0000 (17:47 -0400)]
tmf: Bump plugins version to 2.0 for Kepler branch
Since 1.2 is not yet released, we have to fake all the existing
"@since 1.2" methods to "@since 2.0".
When we merge this branch back into master (which should be after
the 1.2 release), these should be reverted to "@since 1.2".
Change-Id: I5b74bd4c021424aecdf62014147b2ef4ff0d0b6b
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6968
Reviewed-by: Mathieu Denis <mathieu.denis55@gmail.com>
Alexandre Montplaisir [Fri, 27 Jul 2012 23:43:12 +0000 (19:43 -0400)]
tmf: Also bump the version number in pom.xml's
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Thu, 26 Jul 2012 21:28:59 +0000 (17:28 -0400)]
tmf: Update master branch against the 1.1 baseline
With a baseline installation updated with Linux Tools 1.1, one can now
track which APIs were actually part of 1.1, and which ones should require
bumps to 1.2/2.0.
Some protected fields in CtfTmfEventField were actually not part of 1.1,
so this adjusts their annotations and plugin versions correctly.
v2: Bump the test plugins too.
Change-Id: Id9155fe95594b4844e82e550ab0ca8563a74cdb0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6994
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: Francois Chouinard <fchouinard@gmail.com>
IP-Clean: Francois Chouinard <fchouinard@gmail.com>
Tested-by: Francois Chouinard <fchouinard@gmail.com>
Bernd Hufmann [Fri, 27 Jul 2012 18:38:09 +0000 (14:38 -0400)]
Fix more compiler/javadoc warnings as per new project specific settings
See also bug 385535 for the set of settings.
Change-Id: I76b5e8a78113908379cb9d73bbbbfae6bf1006a6
Reviewed-on: https://git.eclipse.org/r/7006
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>
Alexandre Montplaisir [Thu, 26 Jul 2012 20:42:40 +0000 (16:42 -0400)]
ctf: Fix remaining warnings the CTF plugins
Change-Id: If61709478cde0258e86761be8060e3ede0ca7f0e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6992
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Bernd Hufmann [Thu, 26 Jul 2012 18:27:21 +0000 (14:27 -0400)]
Fix TMF Core JUnit tests
Change-Id: I30595c0a1d190421649d079235c27fa3fbb26932
Reviewed-on: https://git.eclipse.org/r/6987
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>
Alexandre Montplaisir [Thu, 26 Jul 2012 18:09:38 +0000 (14:09 -0400)]
tmf: Correctly print HTInterval in its toString()
The ASCII value of '[' would get added to the start time,
instead of doing the expected string concatenation.
Changed the whole thing to use a StringBuilder instead.
Change-Id: Iea7f2b409c7c177a4a0b35494294fca7258835a1
Reported-by: Patrick Tassé <patrick.tasse@gmail.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6985
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Francois Chouinard [Wed, 25 Jul 2012 18:28:34 +0000 (14:28 -0400)]
Fix another pile of Javadoc warnings
Change-Id: I324c129736499c3cc4892898f9a0121e47fb7ac7
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Francois Chouinard [Wed, 25 Jul 2012 17:13:58 +0000 (13:13 -0400)]
Fix a pile of Javadoc warnings
Change-Id: I5f8cec0642346b863f058d56d56406a1e8b7fd77
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Fri, 20 Jul 2012 20:25:17 +0000 (16:25 -0400)]
Use project-specific Save Actions settings
The actions to execute on Save are:
- Remove trailing whitespaces on all lines
- Always use braces for control blocks (if, for, etc.)
Other save actions could be interesting, but they can be tracked
with compiler warnings instead.
refs bug #385535
v2: Removed the "Make private fields final if possible" option
Change-Id: If97f311a934739957586c76b83ce0538d733456d
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6906
Alexandre Montplaisir [Fri, 20 Jul 2012 20:24:25 +0000 (16:24 -0400)]
Use project-specific formatter settings
The settings are the same as the Eclipse default settings, except:
- Use Spaces only for indentation
- Disable qualified invocations wrapping
(so we don't get myClass\n.get())
refs bug #385535
Change-Id: I773dbea89d24916cb82ca8ad93f2ee05ba8181dd
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6905
Matthew Khouzam [Tue, 24 Jul 2012 19:38:15 +0000 (15:38 -0400)]
Genericized CTF parser and events handling.
Add support for enums in trace fields.
Add support for broken end timestamped traces. (experimental)
Add support for variant free id/timestamp pairings (non-lttng)
Add support for non-CPU based traces (dsp/gpu/fpga...)
Change-Id: I2e49f798ae5e2fefda0316631dbbb74609ba36aa
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/6951
Matthew Khouzam [Tue, 24 Jul 2012 21:59:38 +0000 (17:59 -0400)]
Fix issues with CTF parser.
* When an enum is declared in a different scope than it is defined in.
* When there is no stream ID the trace does not generate NPEs.
* When there is no clock offset, a 0 offset is created. (not often)
Change-Id: Ie0e0e09168aa2d91ac52d49e94bc10e1e9ba691f
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/6949
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, 16 Jul 2012 18:46:28 +0000 (14:46 -0400)]
tmf: Add missing javadoc in tmf.core.signal
Change-Id: I562a1b1de353ec5ccd9107afdea5fb6c3aa67475
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6867
Alexandre Montplaisir [Mon, 16 Jul 2012 18:46:23 +0000 (14:46 -0400)]
tmf: Fix some javadoc warnings in tmf.core
Change-Id: I580d39a0eb71dc4cc81fd0c7cdd9626504aefcba
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6866
Alexandre Montplaisir [Mon, 16 Jul 2012 18:46:18 +0000 (14:46 -0400)]
tmf: Enable project-specific compiler settings
refs bug #385535
Change-Id: Ifcb0abfe34cf70d5f0379040acd4db53224a4073
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6865
Reviewed-by: Francois Chouinard <fchouinard@gmail.com>
IP-Clean: Francois Chouinard <fchouinard@gmail.com>
Tested-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Mon, 16 Jul 2012 18:46:14 +0000 (14:46 -0400)]
lttng: Fix most compiler warnings as per the new settings
Change-Id: I056b02cd61daa38e8d19f2e36a49f3015bc08263
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6864
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
Alexandre Montplaisir [Mon, 16 Jul 2012 18:46:09 +0000 (14:46 -0400)]
lttng: Enable project-specific compiler settings
refs bug #385535
Change-Id: Ic5b5fdb6e418566d6b0a67cc9145c2ed336d8526
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6863
Alexandre Montplaisir [Mon, 16 Jul 2012 18:46:00 +0000 (14:46 -0400)]
ctf: Enable project-specific compiler settings
refs bug #385535
Change-Id: Ie7df540057dd3be916d9f1a53240dd90bb0a73aa
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/6862
François Rajotte [Fri, 20 Jul 2012 20:07:56 +0000 (16:07 -0400)]
lttng: Add CPU field in control flow view tooltip
References bug #385656
Change-Id: I101d05b4d4150e2b071e9f9005d5a475d106f8af
Signed-off-by: François Rajotte <francois.rajotte@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/6903
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>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Matthew Khouzam [Thu, 19 Jul 2012 19:12:58 +0000 (15:12 -0400)]
Fix negative timestamp seek bug.
Change-Id: Ic0e77da05419261ff082103d0e232723b51a3be1
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/6871
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: Mathieu Denis <mathieu.denis55@gmail.com>
Matthew Khouzam [Thu, 19 Jul 2012 17:54:46 +0000 (13:54 -0400)]
Fix trace and experiment seeking performance bug
Change-Id: I6c59ac7ba52d80ab4bab597da93ea7adb950158d
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/6817
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Thu, 19 Jul 2012 21:47:04 +0000 (17:47 -0400)]
Fix for bug 385432: Missed events in coalesced requests.
In addition to commit
04e0f4e84ffe07a23975f3d6e06849681f3afedf
Change-Id: If53b5b322ef819d25f3fcf2ed7a3d542db124794
Reviewed-on: https://git.eclipse.org/r/6869
Reviewed-by: Francois Chouinard <fchouinard@gmail.com>
IP-Clean: Francois Chouinard <fchouinard@gmail.com>
Tested-by: Francois Chouinard <fchouinard@gmail.com>
Patrick Tasse [Thu, 19 Jul 2012 18:06:14 +0000 (14:06 -0400)]
Fix for bug 385437: Control Flow view's "Previous event" button skips
over state transition.
Change-Id: Id78590a2cf5c1398ee10d3894b56436db4732081
Reviewed-on: https://git.eclipse.org/r/6868
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Thu, 19 Jul 2012 17:11:40 +0000 (13:11 -0400)]
Merge "tmf: Update the ctfadaptor tests for the new formatting"
Alexandre Montplaisir [Thu, 19 Jul 2012 14:31:19 +0000 (10:31 -0400)]
Merge "lttng: Drop the current node arrays in the the event handler"
Francois Chouinard [Wed, 18 Jul 2012 20:14:16 +0000 (16:14 -0400)]
Add test cases for Bug385432
Change-Id: I29602c425b71a81fa51633b4317b062266c8a56b
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Wed, 18 Jul 2012 19:20:04 +0000 (15:20 -0400)]
tmf: Update the ctfadaptor tests for the new formatting
Since
9dc3ba9, the .toString() method for integer CTF fields
will correctly format the value as per the formatting info
in the metadata.
Some unit tests have to be updated to cope with the new values,
for octal and hex integers.
Change-Id: I0aa8e7c919bbc8227cf7d9c5cc286561b172ece6
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Wed, 18 Jul 2012 18:52:30 +0000 (14:52 -0400)]
lttng: Drop the current node arrays in the the event handler
Since we now use "common locations" shortcuts for commonly used
attributes in the tree, we don't really save much by caching
the quarks for all CPUs and all current running threads. This
was initally done as a performance optimization.
This commit drops the current*Nodes arrays that were populated
as new CPUs were seen while reading the trace. We will now get
the "current" pointers by doing standard state system queries.
If there is a performance impact, it's unnoticeable. I think it's
worth keeping this file as easy to understand as possible, since
it's often used as example for building an event handler.
Change-Id: Iedb3a13da837f3676c72f3c91edbd2e6960879a1
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Wed, 18 Jul 2012 18:42:28 +0000 (14:42 -0400)]
Fix for bug 385432: Missed events in coalesced requests.
Change-Id: I71eb6782113043c41ad275a0dabb8969dbd6978d
Patrick Tasse [Wed, 18 Jul 2012 15:25:21 +0000 (11:25 -0400)]
Fix for bug 385419: Streaming issues with legacy LTTng traces.
Francois Chouinard [Tue, 17 Jul 2012 21:32:51 +0000 (17:32 -0400)]
Fix test project dependencies.
Change-Id: Ia493a73c46d51fedc003696977fa92e5e89cc078
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Francois Chouinard [Tue, 17 Jul 2012 21:30:08 +0000 (17:30 -0400)]
Fix for Bug383047
Change-Id: Ib311436f740c382d4d828713a4f2d762d63c326d
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Tue, 17 Jul 2012 21:33:35 +0000 (17:33 -0400)]
Merge "lttng: Correctly validate traces of kernel type"
Patrick Tasse [Tue, 17 Jul 2012 20:43:42 +0000 (16:43 -0400)]
Merge "Fix for bug 385323: HistogramView should normalize more timestamps."
Alexandre Montplaisir [Tue, 17 Jul 2012 19:39:28 +0000 (15:39 -0400)]
lttng: Correctly validate traces of kernel type
Fixes bug #385340
Change-Id: I29d72d78076fb63c18d636a7d0471522c1eb2dd2
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Francois Chouinard [Tue, 17 Jul 2012 19:34:06 +0000 (15:34 -0400)]
Normalize current event timestamp (Bug3984982)
Change-Id: If0fa17f9203ffb234514f86353c065c894fdac8b
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Patrick Tasse [Mon, 16 Jul 2012 21:44:32 +0000 (17:44 -0400)]
Fix for bug 384402: Import trace validation check ignored.
Change-Id: Ic46c2c3588287b6ee5ce99c45f9e32af4fb82453
Patrick Tasse [Tue, 17 Jul 2012 14:47:24 +0000 (10:47 -0400)]
Fix for bug 385323: HistogramView should normalize more timestamps.
Change-Id: I79f4781f79b8b4b056841c67fc8cd9e0409fad90
Francois Chouinard [Mon, 16 Jul 2012 21:34:12 +0000 (17:34 -0400)]
Final fix for Bug384878
Change-Id: I21f95490799461eb8ac161fea48e527dbba27892
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Patrick Tasse [Mon, 16 Jul 2012 18:14:32 +0000 (14:14 -0400)]
Fix for bug 385222: Canvas border hides histogram data.
Change-Id: I837170b70f0d3737746ac882004ac893d7589039
Patrick Tasse [Mon, 16 Jul 2012 20:42:59 +0000 (16:42 -0400)]
Fix for bug 384501: Partial statistics when opening view during
indexing.
Change-Id: I33a4a0f706c61b078c6e3ac5eed9b22e9d3639fc
Patrick Tasse [Mon, 16 Jul 2012 20:31:25 +0000 (16:31 -0400)]
Merge "Fix for bug 384417: Incorrect range displayed in histogram tool tip."
Alexandre Montplaisir [Mon, 16 Jul 2012 19:19:39 +0000 (15:19 -0400)]
Merge "Fix for bug 384406: Delete trace propagation not working in Windows."
Alexandre Montplaisir [Mon, 16 Jul 2012 15:11:08 +0000 (11:11 -0400)]
tmf: Print CTF integer fields in the correct base
We have the information about the base of integers in CTF, so
we should use this information to print the field correctly,
at least for standard bases (2, 8, 10, 16).
Fixes bug #384983
Change-Id: I66882dd8d5e15473fb3690311c4c170bb22dc8a0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Mon, 16 Jul 2012 17:03:37 +0000 (13:03 -0400)]
Fix for bug 384417: Incorrect range displayed in histogram tool tip.
Change-Id: Id0c40656476118844eb34863a885b5bd015fe2da
Alexandre Montplaisir [Fri, 13 Jul 2012 21:50:05 +0000 (17:50 -0400)]
tmf: Use macro-style definitions for CTF field types
The annotations will have to be updated to "@since 1.2"
if this doesn't make the 1.1 release.
Change-Id: I3a66cef0394bb3dd5f3b1e074ad55579c1a8730f
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Fri, 13 Jul 2012 21:41:19 +0000 (17:41 -0400)]
tmf: Javadoc update in CtfTmfEventField
...and other aesthetics changes. That file sure got ugly over time!
Change-Id: I8e171bd065634ac93e3582533eca8837b2058460
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Fri, 13 Jul 2012 20:40:57 +0000 (16:40 -0400)]
Fix for bug 384406: Delete trace propagation not working in Windows.
Change-Id: I3800cce187a50206577e2899500d59d23fa64973
Matthew Khouzam [Fri, 13 Jul 2012 18:55:17 +0000 (14:55 -0400)]
Fix lost events to work after multiple reloads
Change-Id: If086a2c99d6276b8b4b19b55124526f3ee468f70
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Fri, 13 Jul 2012 17:15:23 +0000 (13:15 -0400)]
Fix for bug 384637: NullPointerException in ControlFlowView on disposed
experiment during state system build.
Change-Id: I26b66db4650404ea06fa1586cf348b0aefd78656
Patrick Tasse [Fri, 13 Jul 2012 17:17:36 +0000 (13:17 -0400)]
Merge "tmf: Close the state history files before deleting them"
Patrick Tasse [Fri, 13 Jul 2012 17:17:16 +0000 (13:17 -0400)]
Merge "tmf: Do not broadcast signal if request is cancelled"
Patrick Tasse [Fri, 13 Jul 2012 13:42:30 +0000 (09:42 -0400)]
Fix for bug 385055: Time graph selection prevents trace garbage
collection.
Change-Id: Iae8db7c5e1f6ae90afd87b36dc7dc0d28347167c
Matthew Khouzam [Wed, 4 Jul 2012 19:45:27 +0000 (15:45 -0400)]
Fix minor bugs with histogram time range entry.
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Francois Chouinard [Thu, 12 Jul 2012 19:56:08 +0000 (15:56 -0400)]
Check TS boundary in HV Current Event control (Bug384982)
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Thu, 12 Jul 2012 13:29:11 +0000 (09:29 -0400)]
tmf: Close the state history files before deleting them
When a state history construction gets cancelled, we delete the
partial files, so we are not stuck with an incomplete file that
looks exactly like a complete and valid one.
However, we should close the file descriptors before attempting the
deletion. On Linux, lsof would still report the descriptors to the
deleted files after we stopped using them. On Windows it was even
worse, the deletion would fail because the file lock was still taken.
Change-Id: I29d0bf39621bdf6713bb2c3fe908e16f8d4f2bcc
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Francois Chouinard [Thu, 12 Jul 2012 18:06:30 +0000 (14:06 -0400)]
Re-work the zoom function in Histogram View (fix for Bug384977)
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Patrick Tasse [Wed, 11 Jul 2012 21:36:54 +0000 (17:36 -0400)]
Fix for bug 383935: Disappearing tool tip in time graph and other
issues.
Francois Chouinard [Thu, 12 Jul 2012 13:43:47 +0000 (09:43 -0400)]
Fix for Bug384878 - Add ending separator to folders in trace comparison
Signed-off-by: Francois Chouinard <fchouinard@gmail.com>
Alexandre Montplaisir [Mon, 9 Jul 2012 20:00:24 +0000 (16:00 -0400)]
tmf: Do not broadcast signal if request is cancelled
The state system builder should not send the StateSystemBuildCompleted
signal if the request was cancelled, since the history was never
really built.
refs bug #384637
Change-Id: Ie6f872b5149e4c022ad65c99e68202f8ef74f808
Otavio Pontes [Fri, 6 Jul 2012 17:53:37 +0000 (14:53 -0300)]
Renaming version to 1.2 in master branch
Change-Id: If9b07241d8072b474835123100ff0657b573b492
Francois Chouinard [Thu, 14 Jun 2012 20:13:02 +0000 (16:13 -0400)]
Fix seekEvent() problem and augment TmfExperimentTest
Mathieu Denis [Fri, 29 Jun 2012 19:21:16 +0000 (15:21 -0400)]
Fix for bug 382438: null pointer exception when closing statistics view
Patrick Tasse [Fri, 29 Jun 2012 18:42:05 +0000 (14:42 -0400)]
Fix for bug 383935: Disappearing tool tip in time graph and other issues
Bernd Hufmann [Thu, 28 Jun 2012 14:31:53 +0000 (10:31 -0400)]
Put back timeout values for LTTng 2.0 control commands to 15 seconds
Bernd Hufmann [Wed, 27 Jun 2012 12:05:55 +0000 (08:05 -0400)]
Fix versions in LTTng releng
Patrick Tasse [Fri, 22 Jun 2012 19:15:14 +0000 (15:15 -0400)]
Update plug-in and feature versions after code change for bug 382910.
Patrick Tasse [Thu, 21 Jun 2012 18:06:08 +0000 (14:06 -0400)]
Fix for bug 382910: Improve responsiveness of Control Flow and Resources
views.
Bernd Hufmann [Wed, 20 Jun 2012 19:16:41 +0000 (15:16 -0400)]
Fix for bug 383146 (enable/disable of wildcarded UST events issue)
Bernd Hufmann [Wed, 20 Jun 2012 18:56:01 +0000 (14:56 -0400)]
Fix for bug 383097 (CommandShell improvement)
Alexandre Montplaisir [Fri, 15 Jun 2012 14:48:19 +0000 (10:48 -0400)]
tmf: Clean up the ctfAdaptor unit tests
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Patrick Tasse [Mon, 18 Jun 2012 21:57:06 +0000 (17:57 -0400)]
Fix for bug 382910: Improve responsiveness of Control Flow and Resources
views.
Alexandre Montplaisir [Thu, 14 Jun 2012 22:49:55 +0000 (18:49 -0400)]
tmf: Simple warning fixes in tmf.ui and tests
Remove unecessary casts: makes the code more readable
Mark methods static wherever possible: potential memory savings
Remove unecessary else clauses: Makes it easier for the compiler
to optimize branching.
and other small things.
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Thu, 14 Jun 2012 22:49:19 +0000 (18:49 -0400)]
tmf: Simple warning fixes in tmf.core and tests
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Thu, 14 Jun 2012 22:48:37 +0000 (18:48 -0400)]
lttng: Simple warning fixes in lttng2 and ctf
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Francois Chouinard [Mon, 18 Jun 2012 16:02:06 +0000 (12:02 -0400)]
Restore some code inadvertently commented out
Bernd Hufmann [Mon, 18 Jun 2012 18:47:42 +0000 (14:47 -0400)]
Fix for bug 382684 (connection re-use)
Francois Chouinard [Mon, 18 Jun 2012 12:17:59 +0000 (08:17 -0400)]
Fix version # in pom.xml
Francois Chouinard [Thu, 14 Jun 2012 20:13:02 +0000 (16:13 -0400)]
Fix a few warnings
Francois Chouinard [Thu, 14 Jun 2012 19:52:29 +0000 (15:52 -0400)]
Update the version minor following API change
Matthew Khouzam [Thu, 14 Jun 2012 21:21:22 +0000 (17:21 -0400)]
Display signed 32-bit integers with a sign.
Thanks to Francois Rajotte for reporting the bug.
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Jeff Johnston [Tue, 12 Jun 2012 18:06:10 +0000 (14:06 -0400)]
Remove technology reference as Linux Tools has been moved.
Conflicts:
changelog/org.eclipse.linuxtools.changelog-feature/p2.inf
gcov/org.eclipse.linuxtools.gcov-feature/p2.inf
gprof/org.eclipse.linuxtools.gprof-feature/p2.inf
libhover/org.eclipse.linuxtools.cdt.libhover-feature/p2.inf
libhover/org.eclipse.linuxtools.cdt.libhover.devhelp-feature/p2.inf
libhover/org.eclipse.linuxtools.cdt.libhover.newlib-feature/p2.inf
lttng/org.eclipse.linuxtools.lttng/p2.inf
lttng/org.eclipse.linuxtools.lttng2.kernel/p2.inf
lttng/org.eclipse.linuxtools.lttng2/p2.inf
lttng/org.eclipse.linuxtools.tmf/p2.inf
man/org.eclipse.linuxtools.man-feature/p2.inf
oprofile/org.eclipse.linuxtools.oprofile-feature/p2.inf
perf/org.eclipse.linuxtools.perf-feature/p2.inf
profiling/org.eclipse.linuxtools.dataviewers-feature/p2.inf
profiling/org.eclipse.linuxtools.profiling-feature/p2.inf
profiling/org.eclipse.linuxtools.profiling.remote-feature/p2.inf
profiling/org.eclipse.linuxtools.tools.launch-feature/p2.inf
releng/org.eclipse.linuxtools.releng-site/pom.xml
releng/org.eclipse.linuxtools.releng-site/promoter.xml
rpm/org.eclipse.linuxtools.rpm-feature/p2.inf
rpmstubby/org.eclipse.linuxtools.rpmstubby-feature/p2.inf
systemtap/org.eclipse.linuxtools.callgraph-feature/p2.inf
systemtap/org.eclipse.linuxtools.systemtap-feature/p2.inf
systemtap/org.eclipse.linuxtools.systemtap.backup-feature/p2.inf
systemtap/org.eclipse.linuxtools.threadprofiler.feature/p2.inf
valgrind/org.eclipse.linuxtools.valgrind-feature/p2.inf
valgrind/org.eclipse.linuxtools.valgrind.remote-feature/p2.inf
Alexandre Montplaisir [Thu, 14 Jun 2012 19:57:56 +0000 (15:57 -0400)]
tmf: Finish the Javadoc in tmf.ui
This covers timegraph and virtualtable.
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Thu, 14 Jun 2012 18:07:40 +0000 (14:07 -0400)]
tmf: Continue upating the Javadoc in tmf.ui
This covers timechart and sequence diagram packages.
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Alexandre Montplaisir [Tue, 12 Jun 2012 21:06:15 +0000 (17:06 -0400)]
tmf: Update some Javadoc in tmf.ui
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
This page took 0.042159 seconds and 5 git commands to generate.