lttv.git
12 years agoReactivate state checkpoints
Yannick Brosseau [Fri, 3 Aug 2012 13:41:53 +0000 (09:41 -0400)] 
Reactivate state checkpoints

Port lttv_state_traceset_seek_time_closest and add seek helper functions
Currently the checkpoints are computed at trace addition in the foreground

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoFix softirq entry event name check
Yannick Brosseau [Mon, 16 Jul 2012 19:43:41 +0000 (15:43 -0400)] 
Fix softirq entry event name check

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoStore process name from sched_switch
Yannick Brosseau [Fri, 13 Jul 2012 15:47:59 +0000 (11:47 -0400)] 
Store process name from sched_switch

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoProcess state in gui
Yannick Brosseau [Thu, 12 Jul 2012 20:22:37 +0000 (16:22 -0400)] 
Process state in gui

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoDisplay raw timestamp in textdump
Yannick Brosseau [Thu, 12 Jul 2012 18:31:29 +0000 (14:31 -0400)] 
Display raw timestamp in textdump

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoPort histogram window to 2.x
Yannick Brosseau [Wed, 11 Jul 2012 02:31:00 +0000 (22:31 -0400)] 
Port histogram window to 2.x

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoPort lttvwindow_process_pending_requests
Yannick Brosseau [Wed, 11 Jul 2012 02:27:38 +0000 (22:27 -0400)] 
Port lttvwindow_process_pending_requests

Also add several time compare functions to the traceset module

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd Callgrind as an Helper to run lttv
Francis Deslauriers [Fri, 6 Jul 2012 19:13:55 +0000 (15:13 -0400)] 
Add Callgrind as an Helper to run lttv

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoChange function name lttv_traceset_create_position to lttv_traceset_create_current_po...
Francis Deslauriers [Fri, 6 Jul 2012 19:12:00 +0000 (15:12 -0400)] 
Change function name lttv_traceset_create_position to lttv_traceset_create_current_position

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoRemove duplicate field in detailed event view
Francis Deslauriers [Thu, 5 Jul 2012 15:04:08 +0000 (11:04 -0400)] 
Remove duplicate field in detailed event view

Add option to lttv_event_to_string to select if we add the timestamp and the event name to the returned string

(Closes #291)

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoRemoved the live trace option
Francis Deslauriers [Thu, 5 Jul 2012 14:20:53 +0000 (10:20 -0400)] 
Removed the live trace option

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd warning popup when trying to open multiple traces
Francis Deslauriers [Wed, 4 Jul 2012 21:21:20 +0000 (17:21 -0400)] 
Add warning popup when trying to open multiple traces

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoInitial port of the detailed event view
Francis Deslauriers [Fri, 22 Jun 2012 14:14:11 +0000 (10:14 -0400)] 
Initial port of the detailed event view

 Add valgrind suppression file for GTK

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd check for endtime in process middle
Yannick Brosseau [Wed, 13 Jun 2012 16:10:18 +0000 (12:10 -0400)] 
Add check for endtime in process middle

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoImplements scrollbar in main window
Francis Deslauriers [Mon, 11 Jun 2012 14:08:49 +0000 (10:08 -0400)] 
Implements scrollbar in main window

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoimplements add trace dialog
Francis Deslauriers [Fri, 8 Jun 2012 16:04:44 +0000 (12:04 -0400)] 
implements add trace dialog

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoinitial port of the mainwindow
Francis Deslauriers [Thu, 7 Jun 2012 19:47:14 +0000 (15:47 -0400)] 
initial port of the mainwindow

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoImplement LttvTracesetPosition
Yannick Brosseau [Mon, 11 Jun 2012 15:53:37 +0000 (11:53 -0400)] 
Implement LttvTracesetPosition

(Might need more tests)

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoPut back the initial process creation time at the begining of the trace
Yannick Brosseau [Thu, 7 Jun 2012 21:26:19 +0000 (17:26 -0400)] 
Put back the initial process creation time at the begining of the trace

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoManage state correctly with multiple open trace
Yannick Brosseau [Thu, 7 Jun 2012 20:15:17 +0000 (16:15 -0400)] 
Manage state correctly with multiple open trace

We can now open a traceset with multiple trace (like a kernel and ust trace made together)

Create an index to map the trace_handle to the right state object (we have one state object for each trace)

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoReactivate traceset seek_by_time
Yannick Brosseau [Thu, 7 Jun 2012 18:38:16 +0000 (14:38 -0400)] 
Reactivate traceset seek_by_time

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoTraverse a path recursively to add all traces within
mdenis [Wed, 4 Apr 2012 16:45:12 +0000 (12:45 -0400)] 
Traverse a path recursively to add all traces within

Signed-off-by: Mathieu Denis <mathieu.denis@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoInitial port of the state system to the LTTng 2.0 trace format
Yannick Brosseau [Wed, 30 May 2012 21:38:08 +0000 (17:38 -0400)] 
Initial port of the state system to the LTTng 2.0 trace format

Rework the internal data structure (remove Tracefile.c, add a TraceState inside a Trace)
There is no callback by event id anymore, so all state event handler receive all the events.
Several files were reorganize (including moving them out of ltt to the lttv lib directly.

The current implementation use a temporary State structure, so it can only support on trace.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoDisable ltttraceread library build
Mathieu Desnoyers [Mon, 2 Apr 2012 20:48:26 +0000 (16:48 -0400)] 
Disable ltttraceread library build

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd a temporary single LttvState container
Yannick Brosseau [Mon, 2 Apr 2012 18:45:03 +0000 (14:45 -0400)] 
Add a temporary single LttvState container

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd functions to open trace from the traceset
mdenis [Wed, 28 Mar 2012 03:33:13 +0000 (23:33 -0400)] 
Add functions to open trace from the traceset

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoCreate a LttvEvent object
Yannick Brosseau [Fri, 16 Mar 2012 20:17:23 +0000 (16:17 -0400)] 
Create a LttvEvent object

This object contains a pointer to the current bt_ctf_event
and to the associated TraceState

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoForce the disabling of the gui building
Yannick Brosseau [Tue, 13 Mar 2012 18:09:57 +0000 (14:09 -0400)] 
Force the disabling of the gui building

Since the GUI is not yet ported to babeltrace, don't allow users to build it

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoPrinting events using babeltrace
Hassan Makkeh [Sun, 11 Mar 2012 05:28:16 +0000 (00:28 -0500)] 
Printing events using babeltrace

Disable the depanalysis and formatedDump until they are ported

Signed-off-by: Hassan Makke <hassan.makke@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoBasic babeltrace integration
Yannick Brosseau [Fri, 9 Mar 2012 23:49:02 +0000 (18:49 -0500)] 
Basic babeltrace integration

Open a trace, read it, sent the event to textDump module
Display event name and timestamp

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd a bt_context to the lttv_traceset struct
Yannick Brosseau [Thu, 8 Mar 2012 16:34:14 +0000 (11:34 -0500)] 
Add a bt_context to the lttv_traceset struct

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd babeltrace libs to configure script
Yannick Brosseau [Tue, 6 Mar 2012 22:32:27 +0000 (17:32 -0500)] 
Add babeltrace libs to configure script

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd lttng SVG logo as icon of the main window
Francis Deslauriers [Mon, 11 Jun 2012 14:20:13 +0000 (10:20 -0400)] 
Add lttng SVG logo as icon of the main window

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoimplements correct behavior of content button and move help windows to the center...
FrancisDeslauriers [Wed, 6 Jun 2012 13:46:23 +0000 (09:46 -0400)] 
implements correct behavior of content button and move help windows to the center of the screen

Signed-off-by: FrancisDeslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agomoving the help menu back in the main menu
FrancisDeslauriers [Tue, 15 May 2012 19:32:42 +0000 (15:32 -0400)] 
moving the help menu back in the main menu

Signed-off-by: FrancisDeslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoremove useless menu separator in the view menu
FrancisDeslauriers [Thu, 17 May 2012 18:20:20 +0000 (14:20 -0400)] 
remove useless menu separator in the view menu

Signed-off-by: FrancisDeslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoDisable the error bell in the detailed events view
FrancisDeslauriers [Mon, 28 May 2012 14:47:26 +0000 (10:47 -0400)] 
Disable the error bell in the detailed events view

Signed-off-by: FrancisDeslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoRemove warning generated by newer gcc (4.6)
Yannick Brosseau [Thu, 15 Mar 2012 18:49:09 +0000 (14:49 -0400)] 
Remove warning generated by newer gcc (4.6)

Mostly set but unused variable.
One discard const qualifier

Most of the time, the offending code was removed. In some
places, it was commented out with a TODO because a full
remove will necessitate too much code rework for now.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoFix format-security warnings when building with trace-sync
Alexandre Montplaisir [Sat, 11 Feb 2012 17:30:47 +0000 (12:30 -0500)] 
Fix format-security warnings when building with trace-sync

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoReplace deprecated g_strcasecmp() with g_ascii_strcasecmp()
Alexandre Montplaisir [Fri, 10 Feb 2012 21:47:44 +0000 (16:47 -0500)] 
Replace deprecated g_strcasecmp() with g_ascii_strcasecmp()

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoUpdate gitignore
Alexandre Montplaisir [Fri, 10 Feb 2012 21:47:25 +0000 (16:47 -0500)] 
Update gitignore

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoTest for gmodule inclusion in all cases
Alexandre Montplaisir [Wed, 8 Feb 2012 23:19:12 +0000 (18:19 -0500)] 
Test for gmodule inclusion in all cases

On recent glib versions, it seems gmodule needs to be included
separately from glib/gtk, or it leads to compilation errors,
e.g. undefined reference to `g_module_close'

Signed-off-by: Mathieu Denis <mathieu.denis55@gmail.com>
Signed-off by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd the static binary option to the configure report
Alexandre Montplaisir [Wed, 8 Feb 2012 21:34:51 +0000 (16:34 -0500)] 
Add the static binary option to the configure report

Also fixed how it was defined, as it would never be enabled
(withval vs. enableval)

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd a report at the end of the configure output
Alexandre Montplaisir [Wed, 8 Feb 2012 21:34:50 +0000 (16:34 -0500)] 
Add a report at the end of the configure output

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoRemove the --with-java-dir configure option
Alexandre Montplaisir [Wed, 8 Feb 2012 21:34:49 +0000 (16:34 -0500)] 
Remove the --with-java-dir configure option

This can be easily specified using CFLAGS, so alleviate the
maintenance burden by keeping it out of LTTV's own configuration.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoModernize configure.ac
Alexandre Montplaisir [Wed, 8 Feb 2012 21:34:48 +0000 (16:34 -0500)] 
Modernize configure.ac

Replace the old, very long autogen.sh with a 3-line bootstrap.
Use Autoconf portable macros where applicable.

This also makes the bootstrap fail right away when trying to compile on
a system without libgtk/glib, instead of throwing an obscure error at
configure time.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoNew maintainer
Mathieu Desnoyers [Thu, 9 Feb 2012 19:52:33 +0000 (14:52 -0500)] 
New maintainer

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix some implicit-function-declaration warnings
Alexandre Montplaisir [Wed, 7 Dec 2011 15:37:07 +0000 (10:37 -0500)] 
Fix some implicit-function-declaration warnings

time_span -> timespan inconsistency
Add a missing prototype to lttvwindow/callbacks.c

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoFix format string warnings
Alexandre Montplaisir [Wed, 7 Dec 2011 15:36:10 +0000 (10:36 -0500)] 
Fix format string warnings

Or `make check' fails when building with -Werror=format-security
(which is what Launchpad uses).

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd live trace support to LTTV GUI.
Yannick Brosseau [Tue, 6 Dec 2011 17:13:40 +0000 (12:13 -0500)] 
Add live trace support to LTTV GUI.

Add an option to the open trace dialog to specify that the trace is to
be open in live mode
Update the displays when new events are available in a trace
Disable statistics for live traces

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd live trace read support to lttv base library and to command line modules
Yannick Brosseau [Tue, 6 Dec 2011 17:12:25 +0000 (12:12 -0500)] 
Add live trace read support to lttv base library and to command line modules

Change process_traceset_middle to handle live traces
Add lttv_process_trace_update to manage trace update
Add parameter to batchanalysis to indicate a live trace and its update
period.

When activating the live option of the batchAnalysis module, the trace
processing will loop. In each loop, it will wait for the specified
period, update the trace and then read the added events.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 years agoAdd live trace reading support to lttvtraceread lib
Yannick Brosseau [Tue, 6 Dec 2011 17:11:52 +0000 (12:11 -0500)] 
Add live trace reading support to lttvtraceread lib

Add support to read trace that were not previously closed. Useful to
read live trace or incorrectly closed trace.  Support the opening of
incomplete tracefile and its delayed initialisation Rework the block
index management Add a ltt_tracefile_update, ltt_trace_update and
ltt_trace_open_live interface JNI interface for ltt_openTraceLive and
ltt_updateTrace

Update: Remove dead code and fix const correctness

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix configure.ac
Mathieu Desnoyers [Fri, 26 Aug 2011 11:30:25 +0000 (07:30 -0400)] 
Fix configure.ac

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix configure.ac java hint
Mathieu Desnoyers [Fri, 26 Aug 2011 11:21:43 +0000 (07:21 -0400)] 
Fix configure.ac java hint

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Wed, 13 Jul 2011 15:36:35 +0000 (11:36 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd additional includes to install path
Tony Jones [Tue, 28 Jun 2011 22:51:51 +0000 (18:51 -0400)] 
Add additional includes to install path

ltt-private.h is #included by trace.h and so needs to be installed

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoMerge branch 'master' of git.lttng.org:/home/git/lttv
Mathieu Desnoyers [Tue, 28 Jun 2011 22:50:53 +0000 (18:50 -0400)] 
Merge branch 'master' of git.lttng.org:/home/git/lttv

Conflicts:
doc/developer/lttng-lttv-compatibility.html

13 years agoUpdate compat
Mathieu Desnoyers [Sun, 12 Jun 2011 16:27:25 +0000 (12:27 -0400)] 
Update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Wed, 18 May 2011 22:44:32 +0000 (18:44 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Wed, 18 May 2011 22:42:20 +0000 (18:42 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Thu, 12 May 2011 12:46:57 +0000 (08:46 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Fri, 22 Apr 2011 20:32:30 +0000 (16:32 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Wed, 20 Apr 2011 20:26:14 +0000 (16:26 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Wed, 20 Apr 2011 20:25:05 +0000 (16:25 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Fri, 1 Apr 2011 03:54:03 +0000 (23:54 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate version to 0.12.38 v0.12.38
Mathieu Desnoyers [Mon, 21 Mar 2011 23:31:29 +0000 (19:31 -0400)] 
Update version to 0.12.38

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix softirq raise dynamic expand
Mathieu Desnoyers [Mon, 21 Mar 2011 23:22:59 +0000 (19:22 -0400)] 
Fix softirq raise dynamic expand

The softirq raison action was not using the proper "expand" primitive,
thus causing segfault on traces taken from 2.6.38 kernels, which use
softirq IDs above 31 (seen softirqs up to 255).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Wed, 16 Mar 2011 23:07:36 +0000 (19:07 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Wed, 16 Mar 2011 22:32:14 +0000 (18:32 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix state.c handling of state dump thread state
Mathieu Desnoyers [Tue, 15 Mar 2011 00:30:55 +0000 (20:30 -0400)] 
Fix state.c handling of state dump thread state

Introduce the states:

LTTV_STATE_MAYBE_USER_MODE
LTTV_STATE_MAYBE_SYSCALL
LTTV_STATE_MAYBE_TRAP

tagged by the state dump, and then checked by the fixup perform at statedump
end. The controlflow view shows "unknown" state when these states are seen, but
the fixup knows that it is safe to flag the states as "USER_MODE" and "SYSCALL"
after quiescent state has been reached.

Note that we might incorrectly assign "MAYBE_SYSCALL", and then "SYSCALL" to a
thread preempted in TRAP mode. We should find a way to add instrumentation to
the kernel so the state dump tells us how to differ between these two modes.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate README
Mathieu Desnoyers [Fri, 11 Mar 2011 17:27:07 +0000 (12:27 -0500)] 
update README

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Fri, 18 Feb 2011 16:22:43 +0000 (11:22 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix informations typo
Jon Bernard [Fri, 18 Feb 2011 04:08:49 +0000 (23:08 -0500)] 
Fix informations typo

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Fri, 18 Feb 2011 00:21:15 +0000 (19:21 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoLTTV 0.12.37 v0.12.37
Mathieu Desnoyers [Fri, 18 Feb 2011 00:18:42 +0000 (19:18 -0500)] 
LTTV 0.12.37

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix compilation warnings in the JNI interface
Alexandre Montplaisir [Wed, 16 Feb 2011 22:36:17 +0000 (17:36 -0500)] 
Fix compilation warnings in the JNI interface

Remove unneeded JNIEXPORT/JNICALL in places that are not exported
function definitions.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoRemove warnings reintroduced by the timebar patch
Yannick Brosseau [Wed, 16 Feb 2011 22:34:44 +0000 (17:34 -0500)] 
Remove warnings reintroduced by the timebar patch

Only unused variables

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Tue, 15 Feb 2011 15:03:49 +0000 (10:03 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoReplace the current timebar with a new timebar widget (v2)
Yannick Brosseau [Fri, 4 Feb 2011 22:15:06 +0000 (17:15 -0500)] 
Replace the current timebar with a new timebar widget (v2)

Create a timeentry GtkWidget to manage the entry of a seconds/nanoseconds value
Create a timebar GtkWidget which aggregate 4 timeentry (Start, end, current time
+and time interval)
Simplify the main window tab widget code by using this new timebar.
Changelog:
 Fix crash in time pasting and spacing adjustment of widgets
 Fix interval management when pasting to keep a coherent time
 Rework the signaling management

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoReactivate the constructor of the filter and control dialogs
Yannick Brosseau [Fri, 4 Feb 2011 22:13:49 +0000 (17:13 -0500)] 
Reactivate the constructor of the filter and control dialogs

Both constructor were accidently removed in the warning cleanup

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd formattedDump and textFilter documentation on user_guide.docbook
Vincent Attard [Fri, 4 Feb 2011 20:00:50 +0000 (15:00 -0500)] 
Add formattedDump and textFilter documentation on user_guide.docbook

Signed-off-by: Vincent Attard <vincent.attard@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Fri, 4 Feb 2011 18:36:20 +0000 (13:36 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdding filtering 'metadata' channel to formattedDump v2
Vincent Attard [Wed, 2 Feb 2011 17:57:18 +0000 (12:57 -0500)] 
Adding filtering 'metadata' channel to formattedDump v2

User can still have them with -M option.
Small changes for optimization: Parse options only one time at the init until
everytime.
Small indentation problem corrected.

Signed-off-by: Vincent Attard <vincent.attard@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix remaining warnings v2
Alexandre Montplaisir [Wed, 26 Jan 2011 03:23:35 +0000 (22:23 -0500)] 
Fix remaining warnings v2

Add and check for the return values of fscanf, fread, and asprintf.

That should be it! GCC 4.5 with -Wall doesn't report anything else.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoWakeup change state only if proc not running (v2)
Francis Giraldeau [Wed, 26 Jan 2011 01:00:29 +0000 (20:00 -0500)] 
Wakeup change state only if proc not running (v2)

The event kernel.sched_try_wakeup can occur for process already running (in
kernel/sched.c:try_to_wake_up). Hence, in this condition, this event must not
change the state of the process to LTTV_STATE_WAIT_CPU.

This patch supports SMP

Signed-off-by: Francis Giraldeau <francis.giraldeau@usherbrooke.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFurther warning fixes
Mathieu Desnoyers [Tue, 25 Jan 2011 15:50:25 +0000 (10:50 -0500)] 
Further warning fixes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix some warnings in lttv/modules/gui
Alexandre Montplaisir [Tue, 25 Jan 2011 15:31:46 +0000 (10:31 -0500)] 
Fix some warnings in lttv/modules/gui

Mostly unused variables.

Big removal of unused and commented code in histoeventhooks.c, but this
code already exists in other modules so we could add it back easily if
we wanted to add more functionality.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix warnings int the lttv/sync directory
Yannick Brosseau [Tue, 25 Jan 2011 15:27:41 +0000 (10:27 -0500)] 
Fix warnings int the lttv/sync directory

Mostly wrong usages of g_error

Edit: Add comment around init to NULL for gcc.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoRemove warnings in the lttv/module/text directory v2
Yannick Brosseau [Tue, 25 Jan 2011 15:04:40 +0000 (10:04 -0500)] 
Remove warnings in the lttv/module/text directory v2

Remove unused variable and some commented code
Use proper cast in depanalysis for the hash table entries
Fix other simple warnings
Also fix an unitialized variable usage detected by valgrind in depanalysis

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFormatteddump: checkpatch.pl coding style fixes
Mathieu Desnoyers [Tue, 25 Jan 2011 15:02:25 +0000 (10:02 -0500)] 
Formatteddump: checkpatch.pl coding style fixes

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd formatted dump module v5
Vincent Attard [Tue, 25 Jan 2011 14:58:10 +0000 (09:58 -0500)] 
Add formatted dump module v5

This new plugin prints a formated output of each events in a trace. The
output format is defined as a parameter with printf like syntax.It provides
a default format easy to read and the original textDump format for backward
compatibility.
Updated: Use glib functions for solving buffer overflow problem and correct
indentation. Add another format called "strace-like".

Signed-off-by: Vincent Attard <vincent.attard@polymtl.ca>
Reviewed-by: Yannick Brosseau <yannick.brosseau@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoSet the build silent by default
Yannick Brosseau [Fri, 21 Jan 2011 21:54:47 +0000 (16:54 -0500)] 
Set the build silent by default

So we can see the warnings

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Thu, 20 Jan 2011 18:47:07 +0000 (13:47 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Thu, 13 Jan 2011 21:45:15 +0000 (16:45 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Tue, 11 Jan 2011 15:44:10 +0000 (10:44 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Thu, 6 Jan 2011 21:55:30 +0000 (16:55 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Wed, 5 Jan 2011 23:38:11 +0000 (18:38 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoCorrectly expand the passed quoted parameters
Yannick Brosseau [Tue, 4 Jan 2011 19:35:16 +0000 (14:35 -0500)] 
Correctly expand the passed quoted parameters

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoupdate compat
Mathieu Desnoyers [Fri, 26 Nov 2010 13:58:13 +0000 (08:58 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agotracefile.c: Seek fix
Mathieu Desnoyers [Thu, 25 Nov 2010 15:04:27 +0000 (10:04 -0500)] 
tracefile.c: Seek fix

Made the tracefile.c seek more robust. Fixes a rare crash where high can be
lower than low in a seek.

Matthew Khouzam <matthew.khouzam@ericsson.com>:
I am including an example to better illustrace my fix.
the current binary search has a case where high can be lower then low.
An example: 51 blocks, the element is somewhere in the 12th block.
trace of before :
 low : 0, high 51 , block_num -1
 low : 0, high 24 , block_num 25
 low : 13, high 24 , block_num 12
 low : 13, high 17 , block_num 18
 low : 13, high 14 , block_num 15
 low : 13, high 12 , block_num 13
This will assert and fail.
The trace after will produce the following walkthrough
 low : 0, high 51 , block_num -1
 low : 0, high 24 , block_num 25
 low : 0, high 24 , block_num 12
 Found!

Reported-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
This page took 0.03913 seconds and 4 git commands to generate.