lttv.git
11 years agoFix tar.gz build by removing legacy include to ltt directory
Yannick Brosseau [Sun, 26 May 2013 18:03:41 +0000 (14:03 -0400)] 
Fix tar.gz build by removing legacy include to ltt directory

The ltt directory is not packaged and will be removed in a near future.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoCommented out non ported directories
Yannick Brosseau [Sun, 26 May 2013 17:30:21 +0000 (13:30 -0400)] 
Commented out non ported directories

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoNow with more sandwich
Yannick Brosseau [Fri, 24 May 2013 20:44:43 +0000 (16:44 -0400)] 
Now with more sandwich

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoDisable open new window and new tabs are now created emtpy
Yannick Brosseau [Fri, 24 May 2013 19:30:51 +0000 (15:30 -0400)] 
Disable open new window and new tabs are now created emtpy

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoEnable support for opening multiple trace
Yannick Brosseau [Fri, 24 May 2013 17:24:16 +0000 (13:24 -0400)] 
Enable support for opening multiple trace

Correctly display the trace name in the events view.
Only the part different for all the traces is displayed

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoFix typo in comment
Yannick Brosseau [Wed, 22 May 2013 18:49:06 +0000 (14:49 -0400)] 
Fix typo in comment

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoRemove temp code
Yannick Brosseau [Wed, 22 May 2013 18:46:44 +0000 (14:46 -0400)] 
Remove temp code

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoFix softirq handling in the resource view
Yannick Brosseau [Fri, 17 May 2013 04:15:56 +0000 (00:15 -0400)] 
Fix softirq handling in the resource view

A misplaced } was corrupting the state of the soft irqs

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoReplace usage of FTS with custom directory traversal code
Yannick Brosseau [Mon, 13 May 2013 19:40:42 +0000 (15:40 -0400)] 
Replace usage of FTS with custom directory traversal code

FTS does not support Large file, which is needed by babeltrace.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoReenable resource view
Yannick Brosseau [Fri, 10 May 2013 00:45:55 +0000 (20:45 -0400)] 
Reenable resource view

The resource display some data. We still need to validate that they are the right ones

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoTemporarly disable event request chunking babelproto
Yannick Brosseau [Fri, 26 Apr 2013 20:13:14 +0000 (16:13 -0400)] 
Temporarly disable event request chunking

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoAdd timestamp to warning
Yannick Brosseau [Mon, 15 Apr 2013 17:02:56 +0000 (13:02 -0400)] 
Add timestamp to warning

Fix a type while we are here

11 years agoAdd a failure if libbabeltrace-ctf is not detected
Yannick Brosseau [Wed, 10 Apr 2013 02:07:46 +0000 (22:07 -0400)] 
Add a failure if libbabeltrace-ctf is not detected

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoTest that we really have libbabeltrace-ctf
Yannick Brosseau [Tue, 9 Apr 2013 21:04:41 +0000 (17:04 -0400)] 
Test that we really have libbabeltrace-ctf

Remove some old comments

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoFix first restoration point and set the right state when we pop from syscall
Yannick Brosseau [Tue, 9 Apr 2013 20:22:50 +0000 (16:22 -0400)] 
Fix first restoration point and set the right state when we pop from syscall

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoHandle irq and softirq correctly in the CFV
Yannick Brosseau [Tue, 9 Apr 2013 04:50:32 +0000 (00:50 -0400)] 
Handle irq and softirq correctly in the CFV

A missing -1 in the name comparison was preventing the handling of irq and softirq event in the
eventhook.
Also use the currently running process instead of the find_process function

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoReactivate after_process_exit_hook
Yannick Brosseau [Wed, 27 Mar 2013 17:30:34 +0000 (13:30 -0400)] 
Reactivate after_process_exit_hook

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoRemove one BABELCLEANUP to update display at statedump end
Yannick Brosseau [Wed, 27 Mar 2013 15:20:53 +0000 (11:20 -0400)] 
Remove one BABELCLEANUP to update display at statedump end

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoRefactor code structure by adding several functions
Yannick Brosseau [Mon, 11 Mar 2013 22:23:17 +0000 (18:23 -0400)] 
Refactor code structure by adding several functions

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoUse the in development bt_iter_equals_pos
Yannick Brosseau [Mon, 11 Mar 2013 22:20:04 +0000 (18:20 -0400)] 
Use the in development bt_iter_equals_pos

Added configure check and fallback in case you do not have
the prototype version of babeltrace

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoFix end of the trace handling and end position
Yannick Brosseau [Mon, 11 Mar 2013 21:42:42 +0000 (17:42 -0400)] 
Fix end of the trace handling and end position

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoChange in babeltrace namespacing
Yannick Brosseau [Mon, 11 Mar 2013 21:36:31 +0000 (17:36 -0400)] 
Change in babeltrace namespacing

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoAdd a debug option to runlttv
Yannick Brosseau [Mon, 11 Mar 2013 21:13:57 +0000 (17:13 -0400)] 
Add a debug option to runlttv

This will display the G_DEBUG message of the application

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoUse babeltrace pkg-config
Yannick Brosseau [Mon, 11 Mar 2013 19:18:35 +0000 (15:18 -0400)] 
Use babeltrace pkg-config

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
11 years agoRemove #BABEL_CLEANUP for some function definition
Yannick Brosseau [Fri, 21 Dec 2012 15:14:35 +0000 (10:14 -0500)] 
Remove #BABEL_CLEANUP for some function definition

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