deliverable/tracecompass.git
12 years agoFix some Sonar findings in TmfEvent
Francois Chouinard [Thu, 17 May 2012 14:23:34 +0000 (10:23 -0400)] 
Fix some Sonar findings in TmfEvent

12 years agoFix some minor issues in TMF for CTF support
Francois Chouinard [Wed, 16 May 2012 21:36:36 +0000 (17:36 -0400)] 
Fix some minor issues in TMF for CTF support

12 years agoMerge branch 'master'
Francois Chouinard [Wed, 16 May 2012 18:24:19 +0000 (14:24 -0400)] 
Merge branch 'master'

12 years agoPartial fixes for experiment indexing with CTF traces
Francois Chouinard [Wed, 16 May 2012 18:21:57 +0000 (14:21 -0400)] 
Partial fixes for experiment indexing with CTF traces

12 years agoFormat internal request tracing
Francois Chouinard [Tue, 15 May 2012 22:31:13 +0000 (18:31 -0400)] 
Format internal request tracing

12 years agoFix IllegalArgumentException in CTF multi-trace indexing
Francois Chouinard [Tue, 15 May 2012 20:23:54 +0000 (16:23 -0400)] 
Fix IllegalArgumentException in CTF multi-trace indexing

12 years agoFix some findbugs
Matthew Khouzam [Tue, 15 May 2012 19:00:04 +0000 (15:00 -0400)] 
Fix some findbugs

12 years agoFix seek of empty stream
Matthew Khouzam [Tue, 15 May 2012 18:58:16 +0000 (14:58 -0400)] 
Fix seek of empty stream

12 years agoCheck if a trace is empty before going to the last event.
Matthew Khouzam [Tue, 15 May 2012 18:35:38 +0000 (14:35 -0400)] 
Check if a trace is empty before going to the last event.

12 years agoFix go to last event.
Matthew Khouzam [Tue, 15 May 2012 18:26:54 +0000 (14:26 -0400)] 
Fix go to last event.

12 years agotmf: API fix for the state system queries
Alexandre Montplaisir [Tue, 15 May 2012 18:12:59 +0000 (14:12 -0400)] 
tmf: API fix for the state system queries

Wanted to get this in before the API freezes...
Rename loadStateAtTime() -> queryFullState(). Originally this
would simply seek an inner vector to the given location, now
it actually returns that vector. It's more in line with the
other query*() methods.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Don't update the status of dead processes
Alexandre Montplaisir [Tue, 15 May 2012 16:00:37 +0000 (12:00 -0400)] 
lttng: Don't update the status of dead processes

There is always a sched_switch that will follow a process_exit,
to take away the now-dead process from the CPU. In that particular
case, we don't want to set its status to Waiting, since it's
not waiting anymore, it's dead (Jim).

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Also pick the interval at the end time of range queries
Alexandre Montplaisir [Tue, 15 May 2012 14:43:15 +0000 (10:43 -0400)] 
tmf: Also pick the interval at the end time of range queries

When doing a range query with resolution, include the end time
of the range (t2) as the last "resolution point". This means
that the interval crossing t2 will be returned no matter what,
which is consistent with range queries with no resolution.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agoFix equality test for NULL_RANGE
Francois Chouinard [Tue, 15 May 2012 17:52:23 +0000 (13:52 -0400)] 
Fix equality test for NULL_RANGE

12 years agoWork on request coalescing
Francois Chouinard [Tue, 15 May 2012 17:24:36 +0000 (13:24 -0400)] 
Work on request coalescing

12 years agoMerge branch 'master'
Francois Chouinard [Tue, 15 May 2012 13:43:27 +0000 (09:43 -0400)] 
Merge branch 'master'

12 years agoUse supplementary directory for state history tree
Bernd Hufmann [Mon, 14 May 2012 16:07:20 +0000 (12:07 -0400)] 
Use supplementary directory for state history tree

12 years agoAdd missing TMF constants file
Bernd Hufmann [Tue, 15 May 2012 11:18:43 +0000 (07:18 -0400)] 
Add missing TMF constants file

12 years agoMerge branch 'master'
Francois Chouinard [Mon, 14 May 2012 21:19:27 +0000 (17:19 -0400)] 
Merge branch 'master'

12 years agoRevert "Use supplementary directory for state history tree"
Alexandre Montplaisir [Mon, 14 May 2012 20:36:48 +0000 (16:36 -0400)] 
Revert "Use supplementary directory for state history tree"

This reverts commit 9716e61fa1550422463f938cf0767a0130187ef5.

A new TmfCommonConstants file was missing from it. Unfortunately
the author is gone for today, so we'll temporarily revert this
commit so the thing keeps building.

12 years agotmf: Work around a simple CtfTmfEventType warning
Alexandre Montplaisir [Mon, 14 May 2012 19:55:57 +0000 (15:55 -0400)] 
tmf: Work around a simple CtfTmfEventType warning

The automatic assign-on-construction isn't ideal, but at least
we expect this behavior.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Also assign the end time when opening a CTF trace
Alexandre Montplaisir [Mon, 14 May 2012 19:19:45 +0000 (15:19 -0400)] 
tmf: Also assign the end time when opening a CTF trace

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agoMerge branch 'master'
Francois Chouinard [Mon, 14 May 2012 20:28:41 +0000 (16:28 -0400)] 
Merge branch 'master'

12 years agoAdd a TmfLegacyExperiment for the LTTng 0.x
Francois Chouinard [Mon, 14 May 2012 20:22:07 +0000 (16:22 -0400)] 
Add a TmfLegacyExperiment for the LTTng 0.x

12 years agoFixed lost event bug.
Mathieu Denis [Mon, 14 May 2012 20:03:28 +0000 (16:03 -0400)] 
Fixed lost event bug.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoUse supplementary directory for state history tree
Bernd Hufmann [Mon, 14 May 2012 16:07:20 +0000 (12:07 -0400)] 
Use supplementary directory for state history tree

12 years agoAdd handling of supplementary files of traces
Bernd Hufmann [Thu, 10 May 2012 18:05:08 +0000 (14:05 -0400)] 
Add handling of supplementary files of traces

12 years agolttng: Use a different CtfTmfTrace object for every test
Alexandre Montplaisir [Mon, 14 May 2012 14:33:05 +0000 (10:33 -0400)] 
lttng: Use a different CtfTmfTrace object for every test

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agoClean up code.
Matthew Khouzam [Fri, 11 May 2012 21:49:09 +0000 (17:49 -0400)] 
Clean up code.

12 years agolttng: Make sure we assign a value to all created quarks
Alexandre Montplaisir [Fri, 11 May 2012 22:41:40 +0000 (18:41 -0400)] 
lttng: Make sure we assign a value to all created quarks

Rework the fix in f3013ba. If a quark gets created but is never
ever used over the span of the whole history, it ends up not
having any value whatsover, not even null. At query time, it
would query the empty space in the HT nodes for its value,
returning 0 most of the time.

Now we manually assign a value to all Thread sub-attributes,
depending on the event type.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Use static final's for the StateValue types
Alexandre Montplaisir [Fri, 11 May 2012 22:51:24 +0000 (18:51 -0400)] 
tmf: Use static final's for the StateValue types

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Make HistoryBuilder use a TMF request for its events
Alexandre Montplaisir [Thu, 10 May 2012 20:54:25 +0000 (16:54 -0400)] 
tmf: Make HistoryBuilder use a TMF request for its events

Initially, the IStateChangeInput object would have to open
the trace itself, and merely send state changes. Rework this
interface so that we now have to pass it the events. This
allows HistoryBuilder to hook into TMF's event requests, and
benefit from the coalescing.

This will be tweaked a bit more soon, when we put all indexing
requests together.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Clarify why CtfTmfEvent's constructor is public
Alexandre Montplaisir [Thu, 10 May 2012 19:41:54 +0000 (15:41 -0400)] 
tmf: Clarify why CtfTmfEvent's constructor is public

The default constructor for null event should be accessed
via the static singleton constructor in normal cases. I tried
to change it back to private, but it breaks some OSGI stuff
because this is used in extension points.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agoIntroduce TmfLegacyExperiment
Francois Chouinard [Fri, 11 May 2012 21:34:27 +0000 (17:34 -0400)] 
Introduce TmfLegacyExperiment

12 years agoChange tabs for commas to separate fields.
Matthew Khouzam [Fri, 11 May 2012 21:04:31 +0000 (17:04 -0400)] 
Change tabs for commas to separate fields.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoClean up Parser and Lexer. Some fixes are more for findbugs than actual
Matthew Khouzam [Fri, 11 May 2012 20:56:13 +0000 (16:56 -0400)] 
Clean up Parser and Lexer. Some fixes are more for findbugs than actual
bugs.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoFix experiment checkpoint issue with CTF traces
Francois Chouinard [Fri, 11 May 2012 18:27:13 +0000 (14:27 -0400)] 
Fix experiment checkpoint issue with CTF traces

12 years agomake Resolution enum public, since it is used in public API
Xavier Raynaud [Thu, 10 May 2012 07:53:07 +0000 (09:53 +0200)] 
make Resolution enum public, since it is used in public API

12 years agolttng: Split process status in user and kernel modes
Alexandre Montplaisir [Wed, 9 May 2012 21:48:29 +0000 (17:48 -0400)] 
lttng: Split process status in user and kernel modes

The attribute Thread/Status will now also track if the
thread is in kernel mode (in a system call) or in user mode.
This will match more closely what is wanted in the Control
Flow View.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Ensure we don't return null on GSS queries
Alexandre Montplaisir [Wed, 9 May 2012 20:15:50 +0000 (16:15 -0400)] 
tmf: Ensure we don't return null on GSS queries

This would indicate a problem with the backend anyway, since
by design there should be no "holes" in a state history.

But since this can still happen, if there's a problem with the
backend or if the file is corrupted for example, then we should
catch (and log) the error here, and guarantee what is sent up
is non-null.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Synchronize accesses to the history files
Alexandre Montplaisir [Tue, 8 May 2012 20:00:32 +0000 (16:00 -0400)] 
tmf: Synchronize accesses to the history files

It seems the file channel positions are saved in each thread's
context on Linux, but not on Windows. This makes concurrent
queries to the state history very prone to breakage. This
small change makes sure a complete node is read before a
thread can be preempted.

In pratice the performance impact shouldn't be too big, since
both threads would be blocked by the same disk even if we
allowed concurrent access.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Change syscalls to a flat attribute instead of a stack
Alexandre Montplaisir [Mon, 7 May 2012 21:58:01 +0000 (17:58 -0400)] 
lttng: Change syscalls to a flat attribute instead of a stack

This will not show nested syscalls correctly, but those were
very rare in the first place, and have been completely removed
in recent kernel versions.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Provide a way to get the number of attributes in a system
Alexandre Montplaisir [Mon, 7 May 2012 18:54:18 +0000 (14:54 -0400)] 
tmf: Provide a way to get the number of attributes in a system

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agoimprove test coverage in CtfLocation
Matthew Khouzam [Wed, 9 May 2012 21:00:48 +0000 (17:00 -0400)] 
improve test coverage in CtfLocation

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoMerge branch 'master' into API
Francois Chouinard [Wed, 9 May 2012 20:26:20 +0000 (16:26 -0400)] 
Merge branch 'master' into API

12 years agoFix seek behaviour in CtfAdaptor
Patrick Tasse [Wed, 9 May 2012 20:15:31 +0000 (16:15 -0400)] 
Fix seek behaviour in CtfAdaptor

12 years agoImprove test coverage.
Matthew Khouzam [Wed, 9 May 2012 19:02:27 +0000 (15:02 -0400)] 
Improve test coverage.
Fix EventDeclaration.equals()

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoAdd toString to CtfLocation to allow easier debugging.
Matthew Khouzam [Wed, 9 May 2012 19:00:55 +0000 (15:00 -0400)] 
Add toString to CtfLocation to allow easier debugging.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoImprove API.
Matthew Khouzam [Wed, 9 May 2012 15:19:35 +0000 (11:19 -0400)] 
Improve API.
Update test cases.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoRefactor TmfTrace and TmfExperiment
Francois Chouinard [Tue, 8 May 2012 21:40:57 +0000 (17:40 -0400)] 
Refactor TmfTrace and TmfExperiment

12 years agoFix test case. It really is supposed to return true.
Matthew Khouzam [Fri, 4 May 2012 19:48:09 +0000 (15:48 -0400)] 
Fix test case. It really is supposed to return true.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoRefactor TmfExperiment (2)
Francois Chouinard [Fri, 4 May 2012 22:06:02 +0000 (18:06 -0400)] 
Refactor TmfExperiment (2)

12 years agoRefactor TmfExperiment
Francois Chouinard [Fri, 4 May 2012 13:49:40 +0000 (09:49 -0400)] 
Refactor TmfExperiment

12 years agoFix for Linux tree item height bug.
Patrick Tasse [Fri, 4 May 2012 19:58:05 +0000 (15:58 -0400)] 
Fix for Linux tree item height bug.

12 years agoIncrease GUI delay value for GUI test case
Bernd Hufmann [Fri, 4 May 2012 19:46:47 +0000 (15:46 -0400)] 
Increase GUI delay value for GUI test case

12 years agoUpdate internal packages export in LTTng 2.0 control + update java doc
Bernd Hufmann [Fri, 4 May 2012 18:54:43 +0000 (14:54 -0400)] 
Update internal packages export in LTTng 2.0 control + update java doc

12 years agoImprove package tangle index for LTTng 2.0 control design
Bernd Hufmann [Fri, 4 May 2012 17:33:27 +0000 (13:33 -0400)] 
Improve package tangle index for LTTng 2.0 control design

12 years agoctf: Allow finalizing CTFTrace's if validation failed
Alexandre Montplaisir [Fri, 4 May 2012 17:58:27 +0000 (13:58 -0400)] 
ctf: Allow finalizing CTFTrace's if validation failed

A NPE could happen during finalize() if an exception was thrown
before the constructor could complete. Move the new-ification of
the FileChannel container to the beginning, and use a List instead
of a static array.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoMove raw event viewer widget to its own package.
Patrick Tasse [Fri, 4 May 2012 17:02:33 +0000 (13:02 -0400)] 
Move raw event viewer widget to its own package.

12 years agotmf: Don't close the input stream in the SHS constructor
Alexandre Montplaisir [Fri, 4 May 2012 15:55:07 +0000 (11:55 -0400)] 
tmf: Don't close the input stream in the SHS constructor

This stream belongs to the History Tree itself, so if we close
it here we could hit ClosedChannelExceptions later on, under
certain conditions.

Instead, don't keep a local reference to this stream, so static
analysis tools don't expect us to close it.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agoImprove test cases. Coverage of 85%+ and fix bugs.
Matthew Khouzam [Thu, 3 May 2012 22:55:57 +0000 (18:55 -0400)] 
Improve test cases. Coverage of 85%+ and fix bugs.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoAdd javadoc and comments
Matthew Khouzam [Thu, 3 May 2012 18:28:32 +0000 (14:28 -0400)] 
Add javadoc and comments

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoMore fixes of static analysis warnings for UML2SD
Bernd Hufmann [Thu, 3 May 2012 20:07:59 +0000 (16:07 -0400)] 
More fixes of static analysis warnings for UML2SD

12 years agoFix for Linux display bugs in TimeGraphCombo.
Patrick Tasse [Thu, 3 May 2012 20:14:05 +0000 (16:14 -0400)] 
Fix for Linux display bugs in TimeGraphCombo.

12 years agoBug 378402: Implementation of ControlFlow view and Resources view for
Patrick Tasse [Thu, 3 May 2012 18:42:19 +0000 (14:42 -0400)] 
Bug 378402: Implementation of ControlFlow view and Resources view for
LTTng 2.0.

12 years agoBug 378401: Implementation of time graph widget.
Patrick Tasse [Thu, 3 May 2012 18:36:28 +0000 (14:36 -0400)] 
Bug 378401: Implementation of time graph widget.

12 years agoRemove bookmarks file on drag&drop trace copy.
Patrick Tasse [Thu, 3 May 2012 18:07:22 +0000 (14:07 -0400)] 
Remove bookmarks file on drag&drop trace copy.

12 years agoMove legacy time analysis widget to lttng.ui and create initial copy in
Patrick Tasse [Wed, 11 Apr 2012 22:17:53 +0000 (18:17 -0400)] 
Move legacy time analysis widget to lttng.ui and create initial copy in
tmf.ui.

12 years agoRemove warnings and fix a windows bug with CtfTmfTrace.getName()
Matthew Khouzam [Thu, 3 May 2012 17:42:20 +0000 (13:42 -0400)] 
Remove warnings and fix a windows bug with CtfTmfTrace.getName()

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoImprove CTF timestamp output, will now output in y/m/d, h:m:s.ns or ns or s (double)
Matthew Khouzam [Thu, 3 May 2012 17:03:31 +0000 (13:03 -0400)] 
Improve CTF timestamp output, will now output in y/m/d, h:m:s.ns or ns or s (double)

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoFix static analysis warnings for UML2SD
Bernd Hufmann [Thu, 3 May 2012 14:19:40 +0000 (10:19 -0400)] 
Fix static analysis warnings for UML2SD

12 years agoJava Doc and API clean up of TMF UML Sequence diagram framework
Bernd Hufmann [Wed, 2 May 2012 15:01:46 +0000 (11:01 -0400)] 
Java Doc and API clean up of TMF UML Sequence diagram framework

12 years agoImprove test cases, speed and accuracy.
Matthew Khouzam [Wed, 2 May 2012 19:58:20 +0000 (15:58 -0400)] 
Improve test cases, speed and accuracy.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agotmf: Provide a special interval end time return value for views
Alexandre Montplaisir [Tue, 1 May 2012 20:13:46 +0000 (16:13 -0400)] 
tmf: Provide a special interval end time return value for views

The complete state model in TMF is based on the fact that states
end *before* the next state is started. This ensures we cannot
have 2 active states for a given attribute at a given timestamp.

However, this is not ideal for the viewers, because it leaves
gaps between intervals if we use those timestamps as-is. After
much head-banging, the simplest solution that was found was to
add a method in the ITmfStateInterval interface that viewers can
use to get their own version of the interval's end time.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Correctly save the history backend's end time
Alexandre Montplaisir [Wed, 2 May 2012 03:30:28 +0000 (23:30 -0400)] 
tmf: Correctly save the history backend's end time

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Rework the IRQ event handler
Alexandre Montplaisir [Tue, 1 May 2012 22:05:50 +0000 (18:05 -0400)] 
lttng: Rework the IRQ event handler

Implement the softIrq handlers. Drop the IRQ_stack sub-tree,
put the IRQ stuff under Resources/IRQs and Resources/Soft_IRQs.

This matches more closely what is needed by the Resource view.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Use scope-limiting braces in the event handler
Alexandre Montplaisir [Tue, 1 May 2012 21:34:32 +0000 (17:34 -0400)] 
lttng: Use scope-limiting braces in the event handler

This will prevent event-specific variables from leaking
from one case to another.

I used to get weird compiler errors with OpenJDK 7 about one
year ago when trying to do this, but I just retested with a more
recent version and it seems to work fine now.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Cache all top-level attribute nodes
Alexandre Montplaisir [Tue, 1 May 2012 21:13:41 +0000 (17:13 -0400)] 
lttng: Cache all top-level attribute nodes

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Always create the sub-attributes of TID nodes
Alexandre Montplaisir [Tue, 1 May 2012 19:29:32 +0000 (15:29 -0400)] 
lttng: Always create the sub-attributes of TID nodes

This makes the history slightly bigger, but it avoids having
to catch all sort of exceptions in the views, for the cases
where the expected sub-attributes never get populated. Now
they will simply contain a "null" value for the whole duration.

Also relaxed the test cases a bit, changed it so we won't have
to update them every time we make a single change to the state
provider.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Don't update previous data wrt sched_switch trace event
Alexandre Montplaisir [Tue, 1 May 2012 18:52:58 +0000 (14:52 -0400)] 
lttng: Don't update previous data wrt sched_switch trace event

Some event types in the event handler update past data
(to correctly identify "unknown" threads for example),
but this should not be done in the case of sched_switch.

The problem is that sched_switch is always called after
a sched_exit, and since the sched_exit's handler deletes
all information related to this process, we do not want
the following sched_switch to restore the Exec_name for
example.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Add icons for CTF and LTTng trace types
Alexandre Montplaisir [Tue, 1 May 2012 18:48:05 +0000 (14:48 -0400)] 
tmf: Add icons for CTF and LTTng trace types

12 years agofix empty trace bug
Matthew Khouzam [Tue, 1 May 2012 20:35:56 +0000 (16:35 -0400)] 
fix empty trace bug

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agotmf: Internalize all the core state system implementation
Alexandre Montplaisir [Tue, 1 May 2012 05:12:02 +0000 (01:12 -0400)] 
tmf: Internalize all the core state system implementation

Also renamed the old .helpers package to simply tmf.core.statesystem,
which only consists of the exported API now.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Move all GSS exceptions to tmf.core.exceptions
Alexandre Montplaisir [Tue, 1 May 2012 05:06:12 +0000 (01:06 -0400)] 
tmf: Move all GSS exceptions to tmf.core.exceptions

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Rework unneeded throw in the GSS backend
Alexandre Montplaisir [Tue, 1 May 2012 04:59:19 +0000 (00:59 -0400)] 
tmf: Rework unneeded throw in the GSS backend

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Split StateHistorySystem into two interfaces
Alexandre Montplaisir [Mon, 30 Apr 2012 20:04:28 +0000 (16:04 -0400)] 
tmf: Split StateHistorySystem into two interfaces

This will offer a query-only interface, which has no method
to write to or modify the state history in any way. This is
much safer, now that the views are starting to use it.

As part of the process, the history-less StateSystem is no
longer easily available. It was never much used in practice,
but if it's ever needed in the future it should be relatively
easy to bring it back.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agoFix findbugs
Matthew Khouzam [Tue, 1 May 2012 14:19:25 +0000 (10:19 -0400)] 
Fix findbugs

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoAdd test cases for float definitions.
Matthew Khouzam [Tue, 1 May 2012 13:43:39 +0000 (09:43 -0400)] 
Add test cases for float definitions.
Fix build error caused by rebase.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoAdd support for lost events
Matthew Khouzam [Thu, 26 Apr 2012 17:36:44 +0000 (13:36 -0400)] 
Add support for lost events
Fix display of sequences and arrays

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoFix problem with multiple channels including empty channels and ones
Matthew Khouzam [Wed, 25 Apr 2012 20:58:15 +0000 (16:58 -0400)] 
Fix problem with multiple channels including empty channels and ones
created after start.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agofix empty stream bug.
Matthew Khouzam [Tue, 24 Apr 2012 21:39:00 +0000 (17:39 -0400)] 
fix empty stream bug.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoAdd support for CTF in Sequence Diagram view
Matthew Khouzam [Fri, 20 Apr 2012 20:40:17 +0000 (16:40 -0400)] 
Add support for CTF in Sequence Diagram view

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoFix alignment issue. Now traces using more than one alignment can be
Matthew Khouzam [Mon, 23 Apr 2012 21:55:39 +0000 (17:55 -0400)] 
Fix alignment issue. Now traces using more than one alignment can be
read.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoFix bug when tracefile is not aligned. Now supports exotic architectures.
Matthew Khouzam [Thu, 19 Apr 2012 22:17:45 +0000 (18:17 -0400)] 
Fix bug when tracefile is not aligned. Now supports exotic architectures.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoAdd support for float fields in a string output.
Matthew Khouzam [Fri, 20 Apr 2012 17:20:05 +0000 (13:20 -0400)] 
Add support for float fields in a string output.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoAdd floating point support and Loglevel support
Matthew Khouzam [Tue, 17 Apr 2012 19:33:21 +0000 (15:33 -0400)] 
Add floating point support and Loglevel support

12 years agotmf: Refresh the project once we're done loading a trace
Alexandre Montplaisir [Mon, 30 Apr 2012 18:42:22 +0000 (14:42 -0400)] 
tmf: Refresh the project once we're done loading a trace

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Add the start time to the history file header
Alexandre Montplaisir [Tue, 1 May 2012 01:17:30 +0000 (21:17 -0400)] 
tmf: Add the start time to the history file header

The previous method for getting the start time was bugged
anyway, it's much simpler to just save it in the header.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Check for correct start/end times in the tests
Alexandre Montplaisir [Mon, 30 Apr 2012 20:19:32 +0000 (16:19 -0400)] 
lttng: Check for correct start/end times in the tests

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Update queries' tests
Alexandre Montplaisir [Sat, 28 Apr 2012 09:41:12 +0000 (05:41 -0400)] 
lttng: Update queries' tests

Since we dropped statistics (in 2967f37), the quark numbers
changed, so the expected results of the getQuarks() tests
had to be updated.

While at it, updated the file to use the references in
Attributes.java, which was recently introduced.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
This page took 0.041096 seconds and 5 git commands to generate.