Bernd Hufmann [Tue, 29 May 2012 18:29:13 +0000 (14:29 -0400)]
Fix for bug 380944 (color mapping in ColorView/TimeChartView)
Francois Chouinard [Tue, 29 May 2012 18:32:57 +0000 (14:32 -0400)]
Add the TmfStateSystemBuildCompleted signal (bug 380945)
Francois Chouinard [Tue, 29 May 2012 17:04:33 +0000 (13:04 -0400)]
Fix for Bug380941
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>
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>
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>
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>
Bernd Hufmann [Mon, 28 May 2012 14:23:40 +0000 (10:23 -0400)]
Bug 377544: Fix performance issue for legacy CFV and RV
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
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.
Patrick Tasse [Fri, 25 May 2012 21:57:42 +0000 (17:57 -0400)]
Bug 378401: Implementation of time graph widget.
Francois Chouinard [Fri, 25 May 2012 18:55:15 +0000 (14:55 -0400)]
Update some javadocs
Francois Chouinard [Fri, 25 May 2012 18:40:58 +0000 (14:40 -0400)]
Internalize some classes and fix a pile of warnings
Patrick Tasse [Fri, 25 May 2012 16:10:19 +0000 (12:10 -0400)]
Add copyright header.
Francois Chouinard [Fri, 25 May 2012 14:59:48 +0000 (10:59 -0400)]
Fix for Hudson warnings in LTTng TMF Core Unit + Test suites
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.
Patrick Tasse [Fri, 25 May 2012 15:27:15 +0000 (11:27 -0400)]
Bug 378401: Implementation of time graph widget.
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.
Bernd Hufmann [Fri, 25 May 2012 14:22:59 +0000 (10:22 -0400)]
Bug 378401: Display CPU info for IRQ/SOFTIRQ in state ACTIVE
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.
Patrick Tasse [Thu, 24 May 2012 22:25:47 +0000 (18:25 -0400)]
Bug 378401: Implementation of time graph widget.
Patrick Tasse [Thu, 24 May 2012 22:24:20 +0000 (18:24 -0400)]
Fix exceptions and incorrect signal source.
Patrick Tasse [Thu, 24 May 2012 22:20:18 +0000 (18:20 -0400)]
Allow query history range with end equal to start.
Francois Chouinard [Thu, 24 May 2012 21:32:24 +0000 (17:32 -0400)]
Improve request coalescing criteria
Bernd Hufmann [Thu, 24 May 2012 15:40:45 +0000 (11:40 -0400)]
Update CFV/RV labels
Bernd Hufmann [Thu, 24 May 2012 11:25:12 +0000 (07:25 -0400)]
Fix NPE in LTTngTrace
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
Francois Chouinard [Wed, 23 May 2012 21:29:38 +0000 (17:29 -0400)]
Fix non-default checkpoint indexer page size problem
Francois Chouinard [Wed, 23 May 2012 21:11:07 +0000 (17:11 -0400)]
Remove obsolete legacy experiment
Patrick Tasse [Wed, 23 May 2012 19:44:15 +0000 (15:44 -0400)]
Fix ResourceException on drop trace to experiment.
Patrick Tasse [Tue, 22 May 2012 21:24:45 +0000 (17:24 -0400)]
Revert "More resources closes" for file still in use.
Francois Chouinard [Tue, 22 May 2012 19:07:48 +0000 (15:07 -0400)]
Fix for the handling of legacy LTTng traces
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.
Patrick Tasse [Tue, 22 May 2012 14:04:38 +0000 (10:04 -0400)]
Bug 378401: Implementation of time graph widget.
Francois Chouinard [Fri, 18 May 2012 23:03:08 +0000 (19:03 -0400)]
Merge corrected branch 'master'
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.
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.
Francois Chouinard [Fri, 18 May 2012 22:35:43 +0000 (18:35 -0400)]
Merge branch 'master' into TmfTrace-new
Francois Chouinard [Fri, 18 May 2012 22:06:25 +0000 (18:06 -0400)]
Revisit the TmfExperiment structure
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.
Patrick Tasse [Fri, 18 May 2012 22:03:58 +0000 (18:03 -0400)]
Bug 378401: Implementation of time graph widget.
Patrick Tasse [Thu, 10 May 2012 14:15:31 +0000 (10:15 -0400)]
Change time display from GMT to local time zone.
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>
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>
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>
Alexandre Montplaisir [Fri, 18 May 2012 18:20:45 +0000 (14:20 -0400)]
lttng: Handle the case where the trace is empty
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>
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>
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>
Francois Chouinard [Thu, 17 May 2012 17:40:55 +0000 (13:40 -0400)]
Improve TmfTrace test coverage
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>
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>
Francois Chouinard [Thu, 17 May 2012 14:23:34 +0000 (10:23 -0400)]
Fix some Sonar findings in TmfEvent
Francois Chouinard [Wed, 16 May 2012 21:36:36 +0000 (17:36 -0400)]
Fix some minor issues in TMF for CTF support
Bernd Hufmann [Wed, 16 May 2012 19:58:55 +0000 (15:58 -0400)]
Replace printStackTrace() with proper logging in TMF and LTTng
Francois Chouinard [Wed, 16 May 2012 18:24:19 +0000 (14:24 -0400)]
Merge branch 'master'
Francois Chouinard [Wed, 16 May 2012 18:21:57 +0000 (14:21 -0400)]
Partial fixes for experiment indexing with CTF traces
Francois Chouinard [Tue, 15 May 2012 22:31:13 +0000 (18:31 -0400)]
Format internal request tracing
Francois Chouinard [Tue, 15 May 2012 20:23:54 +0000 (16:23 -0400)]
Fix IllegalArgumentException in CTF multi-trace indexing
Matthew Khouzam [Tue, 15 May 2012 19:00:04 +0000 (15:00 -0400)]
Fix some findbugs
Matthew Khouzam [Tue, 15 May 2012 18:58:16 +0000 (14:58 -0400)]
Fix seek of empty stream
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.
Matthew Khouzam [Tue, 15 May 2012 18:26:54 +0000 (14:26 -0400)]
Fix go to last event.
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>
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>
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>
Francois Chouinard [Tue, 15 May 2012 17:52:23 +0000 (13:52 -0400)]
Fix equality test for NULL_RANGE
Francois Chouinard [Tue, 15 May 2012 17:24:36 +0000 (13:24 -0400)]
Work on request coalescing
Francois Chouinard [Tue, 15 May 2012 13:43:27 +0000 (09:43 -0400)]
Merge branch 'master'
Bernd Hufmann [Mon, 14 May 2012 16:07:20 +0000 (12:07 -0400)]
Use supplementary directory for state history tree
Bernd Hufmann [Tue, 15 May 2012 11:18:43 +0000 (07:18 -0400)]
Add missing TMF constants file
Francois Chouinard [Mon, 14 May 2012 21:19:27 +0000 (17:19 -0400)]
Merge branch 'master'
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.
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>
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>
Francois Chouinard [Mon, 14 May 2012 20:28:41 +0000 (16:28 -0400)]
Merge branch 'master'
Francois Chouinard [Mon, 14 May 2012 20:22:07 +0000 (16:22 -0400)]
Add a TmfLegacyExperiment for the LTTng 0.x
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>
Bernd Hufmann [Mon, 14 May 2012 16:07:20 +0000 (12:07 -0400)]
Use supplementary directory for state history tree
Bernd Hufmann [Thu, 10 May 2012 18:05:08 +0000 (14:05 -0400)]
Add handling of supplementary files of traces
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>
Matthew Khouzam [Fri, 11 May 2012 21:49:09 +0000 (17:49 -0400)]
Clean up code.
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>
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>
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>
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>
Francois Chouinard [Fri, 11 May 2012 21:34:27 +0000 (17:34 -0400)]
Introduce TmfLegacyExperiment
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>
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>
Francois Chouinard [Fri, 11 May 2012 18:27:13 +0000 (14:27 -0400)]
Fix experiment checkpoint issue with CTF traces
Xavier Raynaud [Thu, 10 May 2012 07:53:07 +0000 (09:53 +0200)]
make Resolution enum public, since it is used in public API
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>
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>
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>
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>
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>
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>
Francois Chouinard [Wed, 9 May 2012 20:26:20 +0000 (16:26 -0400)]
Merge branch 'master' into API
Patrick Tasse [Wed, 9 May 2012 20:15:31 +0000 (16:15 -0400)]
Fix seek behaviour in CtfAdaptor
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>
This page took 0.039389 seconds and 5 git commands to generate.