deliverable/tracecompass.git
12 years agoRationalize LTTng perspectives (bug 380955)
Francois Chouinard [Tue, 29 May 2012 20:12:06 +0000 (16:12 -0400)] 
Rationalize LTTng perspectives (bug 380955)

12 years agoSanitize perspectives, views, categories, ...
Francois Chouinard [Fri, 25 May 2012 20:53:47 +0000 (16:53 -0400)] 
Sanitize perspectives, views, categories, ...

12 years agoFix unnecessary @SuppressWarning and removed dead code.
Francois Chouinard [Tue, 29 May 2012 20:20:18 +0000 (16:20 -0400)] 
Fix unnecessary @SuppressWarning and removed dead code.

12 years agoAdd incremental indexing support Bug 380952
Matthew Khouzam [Tue, 15 May 2012 20:56:10 +0000 (16:56 -0400)] 
Add incremental indexing support Bug 380952

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoChange CtfTmfTrace to use TmfTrace. Bug 380951
Matthew Khouzam [Tue, 29 May 2012 14:30:07 +0000 (10:30 -0400)] 
Change CtfTmfTrace to use TmfTrace. Bug 380951

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
12 years agoFix for bug 380944 (color mapping in ColorView/TimeChartView)
Bernd Hufmann [Tue, 29 May 2012 18:29:13 +0000 (14:29 -0400)] 
Fix for bug 380944 (color mapping in ColorView/TimeChartView)

12 years agoAdd the TmfStateSystemBuildCompleted signal (bug 380945)
Francois Chouinard [Tue, 29 May 2012 18:32:57 +0000 (14:32 -0400)] 
Add the TmfStateSystemBuildCompleted signal (bug 380945)

12 years agoFix for Bug380941
Francois Chouinard [Tue, 29 May 2012 17:04:33 +0000 (13:04 -0400)] 
Fix for Bug380941

12 years agolttng: Correctly track user <-> kernel transitions for CPUs
Alexandre Montplaisir [Mon, 28 May 2012 22:29:54 +0000 (18:29 -0400)] 
lttng: Correctly track user <-> kernel transitions for CPUs

In addition to the change in the previous commit, we also want
to split one "busy" interval in many smaller intervals that
represent successive transitions from user mode to kernel mode
and vice versa.

While at it, replaced the currentNodes vectors by arraylists,
we don't need the synchronization here.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Track user/kernel mode and IRQ types under the CPU status
Alexandre Montplaisir [Mon, 28 May 2012 21:07:22 +0000 (17:07 -0400)] 
lttng: Track user/kernel mode and IRQ types under the CPU status

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Allow the test plugin to access the internal TMF packages
Alexandre Montplaisir [Mon, 28 May 2012 20:14:37 +0000 (16:14 -0400)] 
tmf: Allow the test plugin to access the internal TMF packages

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Split StateValues out of the Attributes file
Alexandre Montplaisir [Mon, 28 May 2012 20:07:19 +0000 (16:07 -0400)] 
lttng: Split StateValues out of the Attributes file

and move both of those to the internal package.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agoBug 377544: Fix performance issue for legacy CFV and RV
Bernd Hufmann [Mon, 28 May 2012 14:23:40 +0000 (10:23 -0400)] 
Bug 377544: Fix performance issue for legacy CFV and RV

12 years agoBug 378402: Display IRQ/SOFT_IRQ in RV for CPU state interrupted
Bernd Hufmann [Mon, 28 May 2012 14:12:52 +0000 (10:12 -0400)] 
Bug 378402: Display IRQ/SOFT_IRQ in RV for CPU state interrupted

12 years agoBug 378402: Implementation of ControlFlow view and Resources view for
Patrick Tasse [Fri, 25 May 2012 21:58:20 +0000 (17:58 -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 [Fri, 25 May 2012 21:57:42 +0000 (17:57 -0400)] 
Bug 378401: Implementation of time graph widget.

12 years agoUpdate some javadocs
Francois Chouinard [Fri, 25 May 2012 18:55:15 +0000 (14:55 -0400)] 
Update some javadocs

12 years agoInternalize some classes and fix a pile of warnings
Francois Chouinard [Fri, 25 May 2012 18:40:58 +0000 (14:40 -0400)] 
Internalize some classes and fix a pile of warnings

12 years agoAdd copyright header.
Patrick Tasse [Fri, 25 May 2012 16:10:19 +0000 (12:10 -0400)] 
Add copyright header.

12 years agoFix for Hudson warnings in LTTng TMF Core Unit + Test suites
Francois Chouinard [Fri, 25 May 2012 14:59:48 +0000 (10:59 -0400)] 
Fix for Hudson warnings in LTTng TMF Core Unit + Test suites

12 years agoBug 378402: Implementation of ControlFlow view and Resources view for
Patrick Tasse [Fri, 25 May 2012 15:40:49 +0000 (11:40 -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 [Fri, 25 May 2012 15:27:15 +0000 (11:27 -0400)] 
Bug 378401: Implementation of time graph widget.

12 years agolttng: Track the CPU statuses in the event handler
Alexandre Montplaisir [Fri, 25 May 2012 13:59:11 +0000 (09:59 -0400)] 
lttng: Track the CPU statuses in the event handler

A new "CPUs/<n>/Status" attribute will allow us to track if a
CPU is currently idle, busy (running a process) or interrupted
(processing an interrupt). This will match more closely what
we want to show in the Resource view.

12 years agoBug 378401: Display CPU info for IRQ/SOFTIRQ in state ACTIVE
Bernd Hufmann [Fri, 25 May 2012 14:22:59 +0000 (10:22 -0400)] 
Bug 378401: Display CPU info for IRQ/SOFTIRQ in state ACTIVE

12 years agoBug 378402: Implementation of ControlFlow view and Resources view for
Patrick Tasse [Thu, 24 May 2012 22:30:31 +0000 (18:30 -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, 24 May 2012 22:25:47 +0000 (18:25 -0400)] 
Bug 378401: Implementation of time graph widget.

12 years agoFix exceptions and incorrect signal source.
Patrick Tasse [Thu, 24 May 2012 22:24:20 +0000 (18:24 -0400)] 
Fix exceptions and incorrect signal source.

12 years agoAllow query history range with end equal to start.
Patrick Tasse [Thu, 24 May 2012 22:20:18 +0000 (18:20 -0400)] 
Allow query history range with end equal to start.

12 years agoImprove request coalescing criteria
Francois Chouinard [Thu, 24 May 2012 21:32:24 +0000 (17:32 -0400)] 
Improve request coalescing criteria

12 years agoUpdate CFV/RV labels
Bernd Hufmann [Thu, 24 May 2012 15:40:45 +0000 (11:40 -0400)] 
Update CFV/RV labels

12 years agoFix NPE in LTTngTrace
Bernd Hufmann [Thu, 24 May 2012 11:25:12 +0000 (07:25 -0400)] 
Fix NPE in LTTngTrace

12 years agoAdd syscall state info in CFV, support of initial time range, bugfixes
Bernd Hufmann [Thu, 24 May 2012 11:21:35 +0000 (07:21 -0400)] 
Add syscall state info in CFV, support of initial time range, bugfixes

12 years agoFix non-default checkpoint indexer page size problem
Francois Chouinard [Wed, 23 May 2012 21:29:38 +0000 (17:29 -0400)] 
Fix non-default checkpoint indexer page size problem

12 years agoRemove obsolete legacy experiment
Francois Chouinard [Wed, 23 May 2012 21:11:07 +0000 (17:11 -0400)] 
Remove obsolete legacy experiment

12 years agoFix ResourceException on drop trace to experiment.
Patrick Tasse [Wed, 23 May 2012 19:44:15 +0000 (15:44 -0400)] 
Fix ResourceException on drop trace to experiment.

12 years agoRevert "More resources closes" for file still in use.
Patrick Tasse [Tue, 22 May 2012 21:24:45 +0000 (17:24 -0400)] 
Revert "More resources closes" for file still in use.

12 years agoFix for the handling of legacy LTTng traces
Francois Chouinard [Tue, 22 May 2012 19:07:48 +0000 (15:07 -0400)] 
Fix for the handling of legacy LTTng traces

12 years agoBug 378402: Implementation of ControlFlow view and Resources view for
Patrick Tasse [Tue, 22 May 2012 14:05:38 +0000 (10:05 -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 [Tue, 22 May 2012 14:04:38 +0000 (10:04 -0400)] 
Bug 378401: Implementation of time graph widget.

12 years agoMerge corrected branch 'master'
Francois Chouinard [Fri, 18 May 2012 23:03:08 +0000 (19:03 -0400)] 
Merge corrected branch 'master'

12 years agoRevert "Bug 378402: Implementation of ControlFlow view and Resources view for"
Matthew Khouzam [Fri, 18 May 2012 22:48:10 +0000 (18:48 -0400)] 
Revert "Bug 378402: Implementation of ControlFlow view and Resources view for"

This reverts commit fb679c6fd92f228be3ff69e42164411dd29d3ceb.

12 years agoRevert "Bug 378401: Implementation of time graph widget."
Matthew Khouzam [Fri, 18 May 2012 22:47:36 +0000 (18:47 -0400)] 
Revert "Bug 378401: Implementation of time graph widget."

This reverts commit 14125ea7014cb718db4fdd71c5a78e1689be40fe.

12 years agoMerge branch 'master' into TmfTrace-new
Francois Chouinard [Fri, 18 May 2012 22:35:43 +0000 (18:35 -0400)] 
Merge branch 'master' into TmfTrace-new

12 years agoRevisit the TmfExperiment structure
Francois Chouinard [Fri, 18 May 2012 22:06:25 +0000 (18:06 -0400)] 
Revisit the TmfExperiment structure

12 years agoBug 378402: Implementation of ControlFlow view and Resources view for
Patrick Tasse [Fri, 18 May 2012 22:04:59 +0000 (18:04 -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 [Fri, 18 May 2012 22:03:58 +0000 (18:03 -0400)] 
Bug 378401: Implementation of time graph widget.

12 years agoChange time display from GMT to local time zone.
Patrick Tasse [Thu, 10 May 2012 14:15:31 +0000 (10:15 -0400)] 
Change time display from GMT to local time zone.

12 years agotmf: Avoid throwing an error if a TimeGraphView is empty
Alexandre Montplaisir [Fri, 18 May 2012 18:59:30 +0000 (14:59 -0400)] 
tmf: Avoid throwing an error if a TimeGraphView is empty

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Use TMF signals to trigger the state history building
Alexandre Montplaisir [Fri, 18 May 2012 18:06:21 +0000 (14:06 -0400)] 
tmf: Use TMF signals to trigger the state history building

Instead of sending an event request on its own, the history
builder will now listen to the TMF signals to control the
sending and cancelling of the event requests.

This allows us to benefit from the coalescing, which makes
sure we don't read the trace more often than we need to.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Cleanup generated files when a request is cancelled
Alexandre Montplaisir [Tue, 15 May 2012 14:20:57 +0000 (10:20 -0400)] 
tmf: Cleanup generated files when a request is cancelled

This adds methods to state storage backends to define how to
delete the files it generated.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agolttng: Handle the case where the trace is empty
Alexandre Montplaisir [Fri, 18 May 2012 18:20:45 +0000 (14:20 -0400)] 
lttng: Handle the case where the trace is empty

12 years agotmf: Use the correct data type in coalesced requests
Alexandre Montplaisir [Fri, 18 May 2012 17:53:55 +0000 (13:53 -0400)] 
tmf: Use the correct data type in coalesced requests

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Avoid a try at every loop in range queries
Alexandre Montplaisir [Thu, 17 May 2012 19:05:16 +0000 (15:05 -0400)] 
tmf: Avoid a try at every loop in range queries

It's more simple to define the last valid end time first.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Correctly store null state values in the backend
Alexandre Montplaisir [Thu, 17 May 2012 18:54:00 +0000 (14:54 -0400)] 
tmf: Correctly store null state values in the backend

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agoImprove TmfTrace test coverage
Francois Chouinard [Thu, 17 May 2012 17:40:55 +0000 (13:40 -0400)] 
Improve TmfTrace test coverage

12 years agotmf: Make sure the resolution in range queries is valid
Alexandre Montplaisir [Thu, 17 May 2012 15:30:58 +0000 (11:30 -0400)] 
tmf: Make sure the resolution in range queries is valid

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
12 years agotmf: Start resolution range queries at the t1 parameter
Alexandre Montplaisir [Thu, 17 May 2012 15:25:15 +0000 (11:25 -0400)] 
tmf: Start resolution range queries at the t1 parameter

...not at the start time of the first interval. The
"resolution" should be aligned to t1, the interval's
start time is irrelevant here.

Also updated one of the tests, this changes the expected results.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
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 agoReplace printStackTrace() with proper logging in TMF and LTTng
Bernd Hufmann [Wed, 16 May 2012 19:58:55 +0000 (15:58 -0400)] 
Replace printStackTrace() with proper logging in TMF and LTTng

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>
This page took 0.040161 seconds and 5 git commands to generate.