lttv.git
11 years agoRefactor parts of detailed event viewer to ease comprehension (and fix some bug by...
Yannick Brosseau [Fri, 21 Dec 2012 15:13:37 +0000 (10:13 -0500)] 
Refactor parts of detailed event viewer to ease comprehension (and fix some bug by the same time

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoUse bt_iter_equals_pos in compare function
Yannick Brosseau [Fri, 21 Dec 2012 15:08:53 +0000 (10:08 -0500)] 
Use bt_iter_equals_pos in compare function

11 years agoFix seek n backward that did not check the end of a trace
Yannick Brosseau [Fri, 21 Dec 2012 15:07:59 +0000 (10:07 -0500)] 
Fix seek n backward that did not check the end of a trace

12 years agoAdd Debug output on errors
Yannick Brosseau [Mon, 5 Nov 2012 22:08:16 +0000 (17:08 -0500)] 
Add Debug output on errors

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoFix warnings and use right decl instead of definition after API change
Yannick Brosseau [Mon, 5 Nov 2012 22:03:45 +0000 (17:03 -0500)] 
Fix warnings and use right decl instead of definition after API change

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoDon't compare birth time between process structs.
Yannick Brosseau [Tue, 18 Sep 2012 21:11:21 +0000 (17:11 -0400)] 
Don't compare birth time between process structs.

We don't always have valid information for it

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd before and after hook to the control flow computing
Yannick Brosseau [Tue, 18 Sep 2012 21:09:20 +0000 (17:09 -0400)] 
Add before and after hook to the control flow computing

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoFix position of a #endif which rendered the seek useless
Yannick Brosseau [Tue, 18 Sep 2012 21:04:34 +0000 (17:04 -0400)] 
Fix position of a #endif which rendered the seek useless
Also remove the adding of traceset->event hooks list to the event_request, since
this was causing the event list to be added to itself

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd debug function and some assert to lttv_hook_remove_list
Yannick Brosseau [Tue, 18 Sep 2012 20:55:01 +0000 (16:55 -0400)] 
Add debug function and some assert to lttv_hook_remove_list

Also add some const correctness to the remove_list function

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoUpdate runlttv help message to include callgrind
Yannick Brosseau [Tue, 18 Sep 2012 20:42:43 +0000 (16:42 -0400)] 
Update runlttv help message to include callgrind

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoUse BT_SEEK_LAST
Yannick Brosseau [Mon, 20 Aug 2012 21:24:15 +0000 (17:24 -0400)] 
Use BT_SEEK_LAST

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoCreate a new hooks for the controlflow
Yannick Brosseau [Wed, 15 Aug 2012 15:34:14 +0000 (11:34 -0400)] 
Create a new hooks for the controlflow

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoFix warnings and timespan_end
Yannick Brosseau [Tue, 14 Aug 2012 19:21:11 +0000 (15:21 -0400)] 
Fix warnings and timespan_end

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoDisable non ported modules in lttv-gui.sh start script
Yannick Brosseau [Tue, 14 Aug 2012 15:44:27 +0000 (11:44 -0400)] 
Disable non ported modules in lttv-gui.sh start script

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoBe more specific in the no SEEK_LAST fallback
Yannick Brosseau [Tue, 14 Aug 2012 14:58:03 +0000 (10:58 -0400)] 
Be more specific in the no SEEK_LAST fallback

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoFix compatibility with d40ee8ec4ac9998f Babeltrace API cleanup name get_timestamp
Francis Deslauriers [Thu, 9 Aug 2012 20:34:20 +0000 (16:34 -0400)] 
Fix compatibility with d40ee8ec4ac9998f Babeltrace API cleanup name get_timestamp

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoMake use of the ltt_time_zero
Francis Deslauriers [Thu, 9 Aug 2012 15:38:39 +0000 (11:38 -0400)] 
Make use of the ltt_time_zero

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoDisable use of SEEK_LAST until it is integrated in babeltrace
Yannick Brosseau [Mon, 13 Aug 2012 21:47:24 +0000 (17:47 -0400)] 
Disable use of SEEK_LAST until it is integrated in babeltrace

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoRework of lttv_traceset_get_time_span_real function to take advantage of the seek_las...
Francis Deslauriers [Mon, 6 Aug 2012 15:37:29 +0000 (11:37 -0400)] 
Rework of lttv_traceset_get_time_span_real function to take advantage of the seek_last iterator.

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoFix priority for controlflow events
Yannick Brosseau [Mon, 13 Aug 2012 20:09:14 +0000 (16:09 -0400)] 
Fix priority for controlflow events

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoAdd member timestamp and cpuid to LttvTracesetPosition to improve the comparaison...
Francis Deslauriers [Wed, 18 Jul 2012 20:01:17 +0000 (16:01 -0400)] 
Add member timestamp and cpuid to LttvTracesetPosition to improve the comparaison processing

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoInitial commit for control flow view
Francis Deslauriers [Wed, 18 Jul 2012 18:23:22 +0000 (14:23 -0400)] 
Initial commit for control flow view

Signed-off-by: Francis Deslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
12 years agoFix signedness in some field extraction
Yannick Brosseau [Fri, 3 Aug 2012 16:10:15 +0000 (12:10 -0400)] 
Fix signedness in some field extraction

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
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>
This page took 0.040177 seconds and 4 git commands to generate.